@openbox/shared-types 0.1.77 → 0.1.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.
- package/lib/System/Cities/GetMany/Response.d.ts +7 -0
- package/lib/System/Cities/GetMany/Response.js +3 -0
- package/lib/System/Cities/GetMany/Response.js.map +1 -0
- package/lib/System/Cities/index.d.ts +2 -0
- package/lib/System/Cities/index.js +3 -0
- package/lib/System/Cities/index.js.map +1 -0
- package/lib/System/Countries/GetMany/Response.d.ts +7 -0
- package/lib/System/Countries/GetMany/Response.js +3 -0
- package/lib/System/Countries/GetMany/Response.js.map +1 -0
- package/lib/System/Countries/index.d.ts +2 -0
- package/lib/System/Countries/index.js +3 -0
- package/lib/System/Countries/index.js.map +1 -0
- package/lib/System/PersonTypes/GetMany/Response.d.ts +7 -0
- package/lib/System/PersonTypes/GetMany/Response.js +3 -0
- package/lib/System/PersonTypes/GetMany/Response.js.map +1 -0
- package/lib/System/PersonTypes/index.d.ts +2 -0
- package/lib/System/PersonTypes/index.js +3 -0
- package/lib/System/PersonTypes/index.js.map +1 -0
- package/lib/System/SellingTypes/GetMany/Response.d.ts +10 -0
- package/lib/System/SellingTypes/GetMany/Response.js +3 -0
- package/lib/System/SellingTypes/GetMany/Response.js.map +1 -0
- package/lib/System/SellingTypes/index.d.ts +2 -0
- package/lib/System/SellingTypes/index.js +3 -0
- package/lib/System/SellingTypes/index.js.map +1 -0
- package/lib/System/States/GetMany/Response.d.ts +7 -0
- package/lib/System/States/GetMany/Response.js +3 -0
- package/lib/System/States/GetMany/Response.js.map +1 -0
- package/lib/System/States/index.d.ts +2 -0
- package/lib/System/States/index.js +3 -0
- package/lib/System/States/index.js.map +1 -0
- package/lib/System/TaxerTypes/GetMany/Response.d.ts +7 -0
- package/lib/System/TaxerTypes/GetMany/Response.js +3 -0
- package/lib/System/TaxerTypes/GetMany/Response.js.map +1 -0
- package/lib/System/TaxerTypes/index.d.ts +2 -0
- package/lib/System/TaxerTypes/index.js +3 -0
- package/lib/System/TaxerTypes/index.js.map +1 -0
- package/lib/System/TypeNaturals/GetMany/Response.d.ts +7 -0
- package/lib/System/TypeNaturals/GetMany/Response.js +3 -0
- package/lib/System/TypeNaturals/GetMany/Response.js.map +1 -0
- package/lib/System/TypeNaturals/index.d.ts +2 -0
- package/lib/System/TypeNaturals/index.js +3 -0
- package/lib/System/TypeNaturals/index.js.map +1 -0
- package/lib/System/index.d.ts +8 -0
- package/lib/System/index.js +3 -0
- package/lib/System/index.js.map +1 -0
- package/lib/customers/Branches/CreateMany/Request.d.ts +14 -0
- package/lib/customers/Branches/CreateMany/Request.js +3 -0
- package/lib/customers/Branches/CreateMany/Request.js.map +1 -0
- package/lib/customers/Branches/CreateMany/Response.d.ts +4 -0
- package/lib/customers/Branches/CreateMany/Response.js +3 -0
- package/lib/customers/Branches/CreateMany/Response.js.map +1 -0
- package/lib/customers/Branches/DeleteSingle/Response.d.ts +4 -0
- package/lib/customers/Branches/DeleteSingle/Response.js +3 -0
- package/lib/customers/Branches/DeleteSingle/Response.js.map +1 -0
- package/lib/customers/Branches/GetMany/Request.d.ts +8 -0
- package/lib/customers/Branches/GetMany/Request.js +3 -0
- package/lib/customers/Branches/GetMany/Request.js.map +1 -0
- package/lib/customers/Branches/GetMany/Response.d.ts +21 -0
- package/lib/customers/Branches/GetMany/Response.js +3 -0
- package/lib/customers/Branches/GetMany/Response.js.map +1 -0
- package/lib/customers/Branches/GetSingle/Response.d.ts +19 -0
- package/lib/customers/Branches/GetSingle/Response.js +3 -0
- package/lib/customers/Branches/GetSingle/Response.js.map +1 -0
- package/lib/customers/Branches/UpdateDefault/Request.d.ts +8 -0
- package/lib/customers/Branches/UpdateDefault/Request.js +3 -0
- package/lib/customers/Branches/UpdateDefault/Request.js.map +1 -0
- package/lib/customers/Branches/UpdateDefault/Response.d.ts +4 -0
- package/lib/customers/Branches/UpdateDefault/Response.js +3 -0
- package/lib/customers/Branches/UpdateDefault/Response.js.map +1 -0
- package/lib/customers/Branches/UpdateSingle/Request.d.ts +14 -0
- package/lib/customers/Branches/UpdateSingle/Request.js +3 -0
- package/lib/customers/Branches/UpdateSingle/Request.js.map +1 -0
- package/lib/customers/Branches/UpdateSingle/Response.d.ts +4 -0
- package/lib/customers/Branches/UpdateSingle/Response.js +3 -0
- package/lib/customers/Branches/UpdateSingle/Response.js.map +1 -0
- package/lib/customers/Branches/index.d.ts +9 -0
- package/lib/customers/Branches/index.js +3 -0
- package/lib/customers/Branches/index.js.map +1 -0
- package/lib/customers/Customers/CreateSingle/Response.d.ts +4 -0
- package/lib/customers/Customers/CreateSingle/Response.js +3 -0
- package/lib/customers/Customers/CreateSingle/Response.js.map +1 -0
- package/lib/customers/Customers/CreateSingle/Resquest.d.ts +20 -0
- package/lib/customers/Customers/CreateSingle/Resquest.js +3 -0
- package/lib/customers/Customers/CreateSingle/Resquest.js.map +1 -0
- package/lib/customers/Customers/DeleteMany/Request.d.ts +3 -0
- package/lib/customers/Customers/DeleteMany/Request.js +3 -0
- package/lib/customers/Customers/DeleteMany/Request.js.map +1 -0
- package/lib/customers/Customers/DeleteMany/Response.d.ts +3 -0
- package/lib/customers/Customers/DeleteMany/Response.js +3 -0
- package/lib/customers/Customers/DeleteMany/Response.js.map +1 -0
- package/lib/customers/Customers/DeleteSingle/Response.d.ts +4 -0
- package/lib/customers/Customers/DeleteSingle/Response.js +3 -0
- package/lib/customers/Customers/DeleteSingle/Response.js.map +1 -0
- package/lib/customers/Customers/GetMany/Request.d.ts +9 -0
- package/lib/customers/Customers/GetMany/Request.js +3 -0
- package/lib/customers/Customers/GetMany/Request.js.map +1 -0
- package/lib/customers/Customers/GetMany/Response.d.ts +26 -0
- package/lib/customers/Customers/GetMany/Response.js +3 -0
- package/lib/customers/Customers/GetMany/Response.js.map +1 -0
- package/lib/customers/Customers/GetSingle/Response.d.ts +29 -0
- package/lib/customers/Customers/GetSingle/Response.js +3 -0
- package/lib/customers/Customers/GetSingle/Response.js.map +1 -0
- package/lib/customers/Customers/UpdateManyStatuses/Request.d.ts +4 -0
- package/lib/customers/Customers/UpdateManyStatuses/Request.js +3 -0
- package/lib/customers/Customers/UpdateManyStatuses/Request.js.map +1 -0
- package/lib/customers/Customers/UpdateManyStatuses/Response.d.ts +3 -0
- package/lib/customers/Customers/UpdateManyStatuses/Response.js +3 -0
- package/lib/customers/Customers/UpdateManyStatuses/Response.js.map +1 -0
- package/lib/customers/Customers/UpdateSingle/Response.d.ts +4 -0
- package/lib/customers/Customers/UpdateSingle/Response.js +3 -0
- package/lib/customers/Customers/UpdateSingle/Response.js.map +1 -0
- package/lib/customers/Customers/UpdateSingle/Resquest.d.ts +20 -0
- package/lib/customers/Customers/UpdateSingle/Resquest.js +3 -0
- package/lib/customers/Customers/UpdateSingle/Resquest.js.map +1 -0
- package/lib/customers/Customers/UpdateSingleStatus/Response.d.ts +4 -0
- package/lib/customers/Customers/UpdateSingleStatus/Response.js +3 -0
- package/lib/customers/Customers/UpdateSingleStatus/Response.js.map +1 -0
- package/lib/customers/Customers/index.d.ts +13 -0
- package/lib/customers/Customers/index.js +3 -0
- package/lib/customers/Customers/index.js.map +1 -0
- package/lib/customers/index.d.ts +3 -0
- package/lib/customers/index.js +3 -0
- package/lib/customers/index.js.map +1 -0
- package/lib/index.d.ts +3 -1
- package/package.json +5 -1
- package/src/System/Cities/GetMany/Response.ts +8 -0
- package/src/System/Cities/index.ts +3 -0
- package/src/System/Countries/GetMany/Response.ts +8 -0
- package/src/System/Countries/index.ts +6 -0
- package/src/System/PersonTypes/GetMany/Response.ts +8 -0
- package/src/System/PersonTypes/index.ts +6 -0
- package/src/System/SellingTypes/GetMany/Response.ts +11 -0
- package/src/System/SellingTypes/index.ts +6 -0
- package/src/System/States/GetMany/Response.ts +8 -0
- package/src/System/States/index.ts +3 -0
- package/src/System/TaxerTypes/GetMany/Response.ts +8 -0
- package/src/System/TaxerTypes/index.ts +6 -0
- package/src/System/TypeNaturals/GetMany/Response.ts +8 -0
- package/src/System/TypeNaturals/index.ts +6 -0
- package/src/System/index.ts +36 -0
- package/src/customers/Branches/CreateMany/Request.ts +15 -0
- package/src/customers/Branches/CreateMany/Response.ts +4 -0
- package/src/customers/Branches/DeleteSingle/Response.ts +4 -0
- package/src/customers/Branches/GetMany/Request.ts +8 -0
- package/src/customers/Branches/GetMany/Response.ts +20 -0
- package/src/customers/Branches/GetSingle/Response.ts +22 -0
- package/src/customers/Branches/UpdateDefault/Request.ts +8 -0
- package/src/customers/Branches/UpdateDefault/Response.ts +4 -0
- package/src/customers/Branches/UpdateSingle/Request.ts +15 -0
- package/src/customers/Branches/UpdateSingle/Response.ts +4 -0
- package/src/customers/Branches/index.ts +31 -0
- package/src/customers/Customers/CreateSingle/Response.ts +4 -0
- package/src/customers/Customers/CreateSingle/Resquest.ts +21 -0
- package/src/customers/Customers/DeleteMany/Request.ts +3 -0
- package/src/customers/Customers/DeleteMany/Response.ts +3 -0
- package/src/customers/Customers/DeleteSingle/Response.ts +4 -0
- package/src/customers/Customers/GetMany/Request.ts +9 -0
- package/src/customers/Customers/GetMany/Response.ts +33 -0
- package/src/customers/Customers/GetSingle/Response.ts +31 -0
- package/src/customers/Customers/UpdateManyStatuses/Request.ts +4 -0
- package/src/customers/Customers/UpdateManyStatuses/Response.ts +3 -0
- package/src/customers/Customers/UpdateSingle/Response.ts +4 -0
- package/src/customers/Customers/UpdateSingle/Resquest.ts +21 -0
- package/src/customers/Customers/UpdateSingleStatus/Response.ts +4 -0
- package/src/customers/Customers/index.ts +32 -0
- package/src/customers/index.ts +57 -0
- package/src/index.ts +82 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/GetMany/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { SystemPersonTypeMany } from '../../../System/PersonTypes/GetMany/Response';
|
|
2
|
+
import { SystemSellingTypeMany } from '../../../System/SellingTypes/GetMany/Response';
|
|
3
|
+
import { SystemTaxerTypesMany } from '../../../System/TaxerTypes/GetMany/Response';
|
|
4
|
+
import { SystemTypeNaturalMany } from '../../../System/TypeNaturals/GetMany/Response';
|
|
5
|
+
import { CustomerBranchesMany } from '../../Branches/GetMany/Response';
|
|
6
|
+
export interface CustomersGetSingle {
|
|
7
|
+
id: string;
|
|
8
|
+
name: string;
|
|
9
|
+
shortName: string;
|
|
10
|
+
isProvider: boolean;
|
|
11
|
+
isCustomer: boolean;
|
|
12
|
+
dui: string | null;
|
|
13
|
+
nrc: string | null;
|
|
14
|
+
nit: string | null;
|
|
15
|
+
giro: string | null;
|
|
16
|
+
isActiveCustomer: boolean;
|
|
17
|
+
isActiveProvider: boolean;
|
|
18
|
+
isUsedCustomer: boolean;
|
|
19
|
+
isUsedProvider: boolean;
|
|
20
|
+
createdAt: string;
|
|
21
|
+
personType: SystemPersonTypeMany;
|
|
22
|
+
customerTypeNatural: SystemTypeNaturalMany | null;
|
|
23
|
+
customerType: SystemSellingTypeMany;
|
|
24
|
+
customerTaxerType: SystemTaxerTypesMany;
|
|
25
|
+
branch: CustomerBranchesMany;
|
|
26
|
+
}
|
|
27
|
+
export interface CustomersGetSingleResponse {
|
|
28
|
+
data: CustomersGetSingle;
|
|
29
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/GetSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateManyStatuses/Request.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateManyStatuses/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateSingle/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CustomerBranchesUpdateSingle } from '../../Branches';
|
|
2
|
+
export interface CustomersUpdateSingleRequest {
|
|
3
|
+
name?: string;
|
|
4
|
+
shortName?: string;
|
|
5
|
+
isProvider?: boolean;
|
|
6
|
+
isCustomer?: boolean;
|
|
7
|
+
dui?: string;
|
|
8
|
+
nrc?: string;
|
|
9
|
+
nit?: string;
|
|
10
|
+
giro?: string;
|
|
11
|
+
isActiveCustomer?: boolean;
|
|
12
|
+
isActiveProvider?: boolean;
|
|
13
|
+
isUsedCustomer?: boolean;
|
|
14
|
+
isUsedProvider?: boolean;
|
|
15
|
+
customerTaxerType?: string;
|
|
16
|
+
personType?: string;
|
|
17
|
+
customerType?: string;
|
|
18
|
+
customerTypeNatural?: string;
|
|
19
|
+
branch?: CustomerBranchesUpdateSingle;
|
|
20
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Resquest.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateSingle/Resquest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/customers/Customers/UpdateSingleStatus/Response.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CustomersCreateSingleResponse } from './CreateSingle/Response';
|
|
2
|
+
import { CustomersCreateSingleRequest } from './CreateSingle/Resquest';
|
|
3
|
+
import { CustomersDeleteManyRequest } from './DeleteMany/Request';
|
|
4
|
+
import { CustomersDeleteManyResponse } from './DeleteMany/Response';
|
|
5
|
+
import { CustomersDeleteSingleResponse } from './DeleteSingle/Response';
|
|
6
|
+
import { CustomersGetManyRequest } from './GetMany/Request';
|
|
7
|
+
import { CustomerGetMany, CustomerGetManyResponse } from './GetMany/Response';
|
|
8
|
+
import { CustomersGetSingle, CustomersGetSingleResponse } from './GetSingle/Response';
|
|
9
|
+
import { CustomerUpdateManyStatusesRequest } from './UpdateManyStatuses/Request';
|
|
10
|
+
import { CustomersUpdateManyStatusesResponse } from './UpdateManyStatuses/Response';
|
|
11
|
+
import { CustomersUpdateSingleResponse } from './UpdateSingle/Response';
|
|
12
|
+
import { CustomersUpdateSingleStatusResponse } from './UpdateSingleStatus/Response';
|
|
13
|
+
export { CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/customers/Customers/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateSingleResponse } from './Branches';
|
|
2
|
+
import { CustomerGetMany, CustomerGetManyResponse, CustomersCreateSingleRequest, CustomersCreateSingleResponse, CustomersDeleteManyRequest, CustomersDeleteManyResponse, CustomersDeleteSingleResponse, CustomersGetManyRequest, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateManyStatusesResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomerUpdateManyStatusesRequest } from './Customers';
|
|
3
|
+
export { CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingleResponse, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/customers/index.ts"],"names":[],"mappings":""}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { AuthGetUserResponse, AuthLoginRequest, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, JWTResponse, LoggedUserInfo, LoggedUserInfoProfile, LoggedUserInfoProfileAccess, LoggedUserInfoProfileAccessBranches, LoggedUserInfoProfileAccessBranchesModules, LoggedUserInfoWorkspace, LoggedUserInfoWorkspaceBranch, LoggedUserInfoWorkspaceCompany, WorkspaceChanged } from './auth';
|
|
2
|
+
import { CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesMany, CustomerBranchesManyResponse, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateSingleResponse, CustomerGetMany, CustomerGetManyResponse, CustomersCreateSingleRequest, CustomersCreateSingleResponse, CustomersDeleteManyRequest, CustomersDeleteManyResponse, CustomersDeleteSingleResponse, CustomersGetManyRequest, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateManyStatusesResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomerUpdateManyStatusesRequest } from './customers';
|
|
2
3
|
import { ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesDeleteSingleResponse, ServicesGetManyRequest, ServicesGetManyResponse, ServicesGetSingleResponse, ServicesMany, ServicesSellingTypeMany, ServicesSellingTypeManyResponse, ServicesSingle, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse } from './services';
|
|
3
|
-
|
|
4
|
+
import { SystemCityMany, SystemCityManyResponse, SystemCountryMany, SystemCountryManyResponse, SystemPersonTypeMany, SystemPersonTypeManyResponse, SystemSellingTypeMany, SystemSellingTypeManyResponse, SystemStateMany, SystemStateManyResponse, SystemTaxerTypesMany, SystemTaxerTypesManyResponse, SystemTypeNaturalMany, SystemTypeNaturalManyResponse } from './System';
|
|
5
|
+
export { ServicesSellingTypeMany, ServicesMany, ServicesGetManyRequest, ServicesGetManyResponse, ServicesSingle, ServicesGetSingleResponse, ServicesCreateSingleRequest, ServicesCreateSingleResponse, ServicesDeleteSingleResponse, ServicesDeleteManyRequest, ServicesDeleteManyResponse, ServicesUpdateManyStatusRequest, ServicesUpdateManyStatusResponse, ServicesUpdateSingleStatusRequest, ServicesUpdateSingleStatusResponse, ServicesUpdateSingleRequest, ServicesUpdateSingleResponse, AuthLoginRequest, JWTResponse, AuthLoginResponse, AuthRecoverPasswordRequest, AuthRecoverPasswordResponse, AuthResetPasswordRequest, AuthResetPasswordResponse, AuthGetUserResponse, LoggedUserInfo, LoggedUserInfoProfileAccess, AuthUpdatePasswordRequest, AuthUpdatePasswordResponse, AuthUpdateWorkspaceRequest, AuthUpdateWorkspaceResponse, WorkspaceChanged, LoggedUserInfoProfileAccessBranchesModules, LoggedUserInfoProfileAccessBranches, LoggedUserInfoProfile, LoggedUserInfoWorkspaceCompany, LoggedUserInfoWorkspaceBranch, LoggedUserInfoWorkspace, ServicesSellingTypeManyResponse, CustomerBranchesMany, CustomerBranchesManyResponse, SystemCityMany, SystemCityManyResponse, SystemCountryMany, SystemCountryManyResponse, SystemPersonTypeMany, SystemPersonTypeManyResponse, SystemSellingTypeMany, SystemSellingTypeManyResponse, SystemStateMany, SystemStateManyResponse, SystemTaxerTypesMany, SystemTaxerTypesManyResponse, SystemTypeNaturalMany, SystemTypeNaturalManyResponse, CustomersDeleteSingleResponse, CustomersCreateSingleResponse, CustomersGetSingle, CustomersGetSingleResponse, CustomersUpdateSingleResponse, CustomersUpdateSingleStatusResponse, CustomersUpdateManyStatusesResponse, CustomersDeleteManyResponse, CustomersCreateSingleRequest, CustomersGetManyRequest, CustomerGetMany, CustomerGetManyResponse, CustomersDeleteManyRequest, CustomerUpdateManyStatusesRequest, CustomerBranchesCreateMany, CustomerBranchesCreateManyRequest, CustomerBranchesDeleteSingleResponse, CustomerBranchesGetManyRequest, CustomerBranchesUpdateSingle, CustomerBranchesUpdateSingleRequest, CustomerBranchesUpdateDefaultRequest, CustomerBranchesUpdateDefaultResponse, CustomerBranchesUpdateSingleResponse, };
|
package/package.json
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openbox/shared-types",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.79",
|
|
4
4
|
"description": "Shared Types for Openbox Cloud. ",
|
|
5
5
|
"types": "lib/index.d.js",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"author": "Openbox Development Team",
|
|
8
8
|
"license": "ISC",
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": "v16.19.0",
|
|
11
|
+
"yarn": "v1.22.19"
|
|
12
|
+
},
|
|
9
13
|
"scripts": {
|
|
10
14
|
"prebuild": "rimraf lib",
|
|
11
15
|
"build": "npm run prebuild && tsc",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { SystemCityMany, SystemCityManyResponse } from './Cities'
|
|
2
|
+
import { SystemCountryMany, SystemCountryManyResponse } from './Countries'
|
|
3
|
+
import {
|
|
4
|
+
SystemPersonTypeMany,
|
|
5
|
+
SystemPersonTypeManyResponse,
|
|
6
|
+
} from './PersonTypes'
|
|
7
|
+
import {
|
|
8
|
+
SystemSellingTypeMany,
|
|
9
|
+
SystemSellingTypeManyResponse,
|
|
10
|
+
} from './SellingTypes'
|
|
11
|
+
import { SystemStateMany, SystemStateManyResponse } from './States'
|
|
12
|
+
import {
|
|
13
|
+
SystemTaxerTypesMany,
|
|
14
|
+
SystemTaxerTypesManyResponse,
|
|
15
|
+
} from './TaxerTypes'
|
|
16
|
+
import {
|
|
17
|
+
SystemTypeNaturalMany,
|
|
18
|
+
SystemTypeNaturalManyResponse,
|
|
19
|
+
} from './TypeNaturals'
|
|
20
|
+
|
|
21
|
+
export {
|
|
22
|
+
SystemTypeNaturalMany,
|
|
23
|
+
SystemTypeNaturalManyResponse,
|
|
24
|
+
SystemTaxerTypesMany,
|
|
25
|
+
SystemTaxerTypesManyResponse,
|
|
26
|
+
SystemSellingTypeMany,
|
|
27
|
+
SystemSellingTypeManyResponse,
|
|
28
|
+
SystemPersonTypeMany,
|
|
29
|
+
SystemPersonTypeManyResponse,
|
|
30
|
+
SystemCityMany,
|
|
31
|
+
SystemCityManyResponse,
|
|
32
|
+
SystemCountryMany,
|
|
33
|
+
SystemCountryManyResponse,
|
|
34
|
+
SystemStateMany,
|
|
35
|
+
SystemStateManyResponse,
|
|
36
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface CustomerBranchesCreateMany {
|
|
2
|
+
name: string
|
|
3
|
+
contactName?: string
|
|
4
|
+
contactInfo?: string
|
|
5
|
+
default: boolean
|
|
6
|
+
address1: string
|
|
7
|
+
address2?: string
|
|
8
|
+
country: string
|
|
9
|
+
state: string
|
|
10
|
+
city: string
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface CustomerBranchesCreateManyRequest {
|
|
14
|
+
branches: CustomerBranchesCreateMany[]
|
|
15
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { SystemCityMany } from '../../../System/Cities'
|
|
2
|
+
import { SystemCountryMany } from '../../../System/Countries'
|
|
3
|
+
import { SystemStateMany } from '../../../System/States'
|
|
4
|
+
|
|
5
|
+
export interface CustomerBranchesMany {
|
|
6
|
+
id: string
|
|
7
|
+
name: string
|
|
8
|
+
contactName: string
|
|
9
|
+
contactInfo: { phone: string[]; emails: [] }
|
|
10
|
+
address1: string
|
|
11
|
+
address2: string
|
|
12
|
+
default: boolean
|
|
13
|
+
city: SystemCityMany
|
|
14
|
+
country: SystemCountryMany
|
|
15
|
+
state: SystemStateMany
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface CustomerBranchesManyResponse {
|
|
19
|
+
data: CustomerBranchesMany[]
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SystemCityMany,
|
|
3
|
+
SystemCountryMany,
|
|
4
|
+
SystemStateMany,
|
|
5
|
+
} from '../../../System'
|
|
6
|
+
|
|
7
|
+
export interface CustomerBranchesSingle {
|
|
8
|
+
id: string
|
|
9
|
+
name: string
|
|
10
|
+
contactName: string
|
|
11
|
+
contactInfo: { phone: string[]; emails: [] }
|
|
12
|
+
address1: string
|
|
13
|
+
address2: string
|
|
14
|
+
default: boolean
|
|
15
|
+
city: SystemCityMany
|
|
16
|
+
country: SystemCountryMany
|
|
17
|
+
state: SystemStateMany
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export interface CustomerBranchesSingleResponse {
|
|
21
|
+
data: CustomerBranchesSingle
|
|
22
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface CustomerBranchesUpdateSingle {
|
|
2
|
+
name?: string
|
|
3
|
+
contactName?: string
|
|
4
|
+
contactInfo?: string
|
|
5
|
+
default?: boolean
|
|
6
|
+
address1?: string
|
|
7
|
+
address2?: string
|
|
8
|
+
country?: string
|
|
9
|
+
state?: string
|
|
10
|
+
city?: string
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface CustomerBranchesUpdateSingleRequest {
|
|
14
|
+
branch: CustomerBranchesUpdateSingle
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CustomerBranchesCreateMany,
|
|
3
|
+
CustomerBranchesCreateManyRequest,
|
|
4
|
+
} from './CreateMany/Request'
|
|
5
|
+
import { CustomerBranchesDeleteSingleResponse } from './DeleteSingle/Response'
|
|
6
|
+
import { CustomerBranchesGetManyRequest } from './GetMany/Request'
|
|
7
|
+
import {
|
|
8
|
+
CustomerBranchesMany,
|
|
9
|
+
CustomerBranchesManyResponse,
|
|
10
|
+
} from './GetMany/Response'
|
|
11
|
+
import { CustomerBranchesUpdateDefaultRequest } from './UpdateDefault/Request'
|
|
12
|
+
import { CustomerBranchesUpdateDefaultResponse } from './UpdateDefault/Response'
|
|
13
|
+
import {
|
|
14
|
+
CustomerBranchesUpdateSingle,
|
|
15
|
+
CustomerBranchesUpdateSingleRequest,
|
|
16
|
+
} from './UpdateSingle/Request'
|
|
17
|
+
import { CustomerBranchesUpdateSingleResponse } from './UpdateSingle/Response'
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
CustomerBranchesMany,
|
|
21
|
+
CustomerBranchesManyResponse,
|
|
22
|
+
CustomerBranchesGetManyRequest,
|
|
23
|
+
CustomerBranchesUpdateSingle,
|
|
24
|
+
CustomerBranchesUpdateSingleRequest,
|
|
25
|
+
CustomerBranchesUpdateSingleResponse,
|
|
26
|
+
CustomerBranchesDeleteSingleResponse,
|
|
27
|
+
CustomerBranchesCreateMany,
|
|
28
|
+
CustomerBranchesCreateManyRequest,
|
|
29
|
+
CustomerBranchesUpdateDefaultResponse,
|
|
30
|
+
CustomerBranchesUpdateDefaultRequest,
|
|
31
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CustomerBranchesCreateMany } from '../../Branches'
|
|
2
|
+
|
|
3
|
+
export interface CustomersCreateSingleRequest {
|
|
4
|
+
name: string
|
|
5
|
+
shortName: string
|
|
6
|
+
isProvider: boolean
|
|
7
|
+
isCustomer: boolean
|
|
8
|
+
dui?: string
|
|
9
|
+
nrc?: string
|
|
10
|
+
nit?: string
|
|
11
|
+
giro?: string
|
|
12
|
+
isActiveCustomer?: boolean
|
|
13
|
+
isActiveProvider?: boolean
|
|
14
|
+
isUsedCustomer?: boolean
|
|
15
|
+
isUsedProvider?: boolean
|
|
16
|
+
customerTaxerType: string
|
|
17
|
+
personType: string
|
|
18
|
+
customerType: string
|
|
19
|
+
customerTypeNatural?: string
|
|
20
|
+
branch: CustomerBranchesCreateMany
|
|
21
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SystemPersonTypeMany,
|
|
3
|
+
SystemSellingTypeMany,
|
|
4
|
+
SystemTaxerTypesMany,
|
|
5
|
+
SystemTypeNaturalMany,
|
|
6
|
+
} from '../../../System'
|
|
7
|
+
import { CustomerBranchesMany } from '../../Branches'
|
|
8
|
+
|
|
9
|
+
export interface CustomerGetMany {
|
|
10
|
+
id: string
|
|
11
|
+
name: string
|
|
12
|
+
shortName: string
|
|
13
|
+
isProvider: boolean
|
|
14
|
+
isCustomer: boolean
|
|
15
|
+
dui: string | null
|
|
16
|
+
nrc: string | null
|
|
17
|
+
nit: string | null
|
|
18
|
+
giro: string | null
|
|
19
|
+
isActiveCustomer: boolean
|
|
20
|
+
isActiveProvider: boolean
|
|
21
|
+
isUsedCustomer: boolean
|
|
22
|
+
isUsedProvider: boolean
|
|
23
|
+
createdAt: string
|
|
24
|
+
personType: SystemPersonTypeMany
|
|
25
|
+
customerTypeNatural: SystemTypeNaturalMany | null
|
|
26
|
+
customerType: SystemSellingTypeMany
|
|
27
|
+
customerTaxerType: SystemTaxerTypesMany
|
|
28
|
+
branch: CustomerBranchesMany
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export interface CustomerGetManyResponse {
|
|
32
|
+
data: CustomerGetMany[]
|
|
33
|
+
}
|