@experteam-mx/ngx-services 18.3.6 → 18.3.8
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/esm2022/lib/apis/api-billing-do.service.mjs +41 -0
- package/esm2022/lib/apis/api-billing-mx.service.mjs +62 -0
- package/esm2022/lib/apis/api-companies.service.mjs +20 -21
- package/esm2022/lib/apis/api-external-pickups.service.mjs +6 -6
- package/esm2022/lib/apis/api-invoices.service.mjs +69 -9
- package/esm2022/lib/apis/api-open-items.service.mjs +6 -6
- package/esm2022/lib/apis/api-reports.service.mjs +11 -1
- package/esm2022/lib/apis/api-security.service.mjs +30 -39
- package/esm2022/lib/apis/api-shipments.service.mjs +3 -3
- package/esm2022/lib/apis/models/api-billing.interfaces.mjs +2 -0
- package/esm2022/lib/apis/models/api-billing.types.mjs +2 -0
- package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +1 -1
- package/esm2022/lib/apis/models/api-companies.types.mjs +1 -1
- package/esm2022/lib/apis/models/api-external-pickups.types.mjs +1 -1
- package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +1 -1
- package/esm2022/lib/apis/models/api-invoices.types.mjs +1 -1
- package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +1 -1
- package/esm2022/lib/apis/models/api-open-items.types.mjs +1 -1
- package/esm2022/lib/apis/models/api-reports.types.mjs +1 -1
- package/esm2022/lib/apis/models/api-security.interfaces.mjs +1 -1
- package/esm2022/lib/apis/models/api-security.types.mjs +1 -1
- package/esm2022/lib/ngx-services.models.mjs +1 -1
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/experteam-mx-ngx-services.mjs +299 -143
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/lib/apis/api-billing-do.service.d.ts +24 -0
- package/lib/apis/api-billing-mx.service.d.ts +39 -0
- package/lib/apis/api-companies.service.d.ts +9 -9
- package/lib/apis/api-external-pickups.service.d.ts +6 -6
- package/lib/apis/api-invoices.service.d.ts +52 -9
- package/lib/apis/api-open-items.service.d.ts +7 -7
- package/lib/apis/api-reports.service.d.ts +7 -0
- package/lib/apis/api-security.service.d.ts +28 -34
- package/lib/apis/api-shipments.service.d.ts +2 -2
- package/lib/apis/models/api-billing.interfaces.d.ts +41 -0
- package/lib/apis/models/api-billing.types.d.ts +17 -0
- package/lib/apis/models/api-catalog.interfaces.d.ts +6 -0
- package/lib/apis/models/api-companies.types.d.ts +7 -13
- package/lib/apis/models/api-external-pickups.types.d.ts +4 -4
- package/lib/apis/models/api-invoices.interfaces.d.ts +35 -1
- package/lib/apis/models/api-invoices.types.d.ts +28 -5
- package/lib/apis/models/api-open-items.interfaces.d.ts +2 -2
- package/lib/apis/models/api-open-items.types.d.ts +2 -2
- package/lib/apis/models/api-reports.types.d.ts +2 -3
- package/lib/apis/models/api-security.interfaces.d.ts +0 -4
- package/lib/apis/models/api-security.types.d.ts +9 -8
- package/lib/ngx-services.models.d.ts +2 -0
- package/package.json +9 -1
- package/public-api.d.ts +3 -0
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { LaravelModel } from './api.models';
|
|
2
1
|
import { CollectionPayment, Shipment } from './api-reports.interfaces';
|
|
3
|
-
export
|
|
2
|
+
export type CollectionPaymentsOut = {
|
|
4
3
|
collection_payments: CollectionPayment[];
|
|
5
4
|
total: number;
|
|
6
|
-
}
|
|
5
|
+
};
|
|
7
6
|
export type ShipmentsReportOut = {
|
|
8
7
|
shipments: Shipment[];
|
|
9
8
|
total: number;
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import { Module, Role, RoleType, Session, User } from './api-security.interfaces';
|
|
2
|
-
export type
|
|
2
|
+
export type AuthLoginIn = {
|
|
3
3
|
username: string;
|
|
4
4
|
password: string;
|
|
5
5
|
role?: string;
|
|
6
|
+
system_name?: string;
|
|
6
7
|
};
|
|
7
|
-
export type
|
|
8
|
+
export type AuthLoginOut = {
|
|
8
9
|
access_token: string;
|
|
9
10
|
token_type: string;
|
|
10
11
|
expires_in: number;
|
|
11
12
|
};
|
|
12
|
-
export type
|
|
13
|
+
export type SessionIn = {
|
|
13
14
|
modelType: string;
|
|
14
15
|
modelId: number;
|
|
15
16
|
token?: string;
|
|
16
17
|
};
|
|
17
|
-
export type
|
|
18
|
+
export type SessionOut = {
|
|
18
19
|
session: Session;
|
|
19
20
|
};
|
|
20
21
|
export type GetUserOut = {
|
|
21
22
|
user: User;
|
|
22
23
|
};
|
|
23
|
-
export interface
|
|
24
|
+
export interface AuthMeOut extends GetUserOut {
|
|
24
25
|
}
|
|
25
26
|
export type ChangeLanguageIn = {
|
|
26
27
|
languageId: number;
|
|
@@ -36,10 +37,10 @@ export type Pivot = {
|
|
|
36
37
|
module_id: string;
|
|
37
38
|
permission_id: string;
|
|
38
39
|
};
|
|
39
|
-
export type
|
|
40
|
+
export type RoleOut = {
|
|
40
41
|
role: Role;
|
|
41
42
|
};
|
|
42
|
-
export type
|
|
43
|
+
export type RoleIn = {
|
|
43
44
|
name: string;
|
|
44
45
|
role_type_id: number;
|
|
45
46
|
company_country_id: number;
|
|
@@ -51,7 +52,7 @@ export type RoleTypesOut = {
|
|
|
51
52
|
role_types: RoleType[];
|
|
52
53
|
total: number;
|
|
53
54
|
};
|
|
54
|
-
export type
|
|
55
|
+
export type ModulesOut = {
|
|
55
56
|
modules: Module[];
|
|
56
57
|
total: number;
|
|
57
58
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@experteam-mx/ngx-services",
|
|
3
|
-
"version": "18.3.
|
|
3
|
+
"version": "18.3.8",
|
|
4
4
|
"description": "Angular common services for Experteam apps",
|
|
5
5
|
"author": "Experteam Cía. Ltda.",
|
|
6
6
|
"keywords": [
|
|
@@ -22,6 +22,14 @@
|
|
|
22
22
|
{
|
|
23
23
|
"name": "Byron Bladimir Taco Taco",
|
|
24
24
|
"email": "metal82fest@hotmail.com"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "Gianni Santucci",
|
|
28
|
+
"email": "gianni.d.santucci@gmail.com"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "Jefferson Morocho",
|
|
32
|
+
"email": "morochoji5@hotmail.com"
|
|
25
33
|
}
|
|
26
34
|
],
|
|
27
35
|
"repository": {
|
package/public-api.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export * from './lib/ngx-services.module';
|
|
2
|
+
export * from './lib/apis/api-billing-do.service';
|
|
3
|
+
export * from './lib/apis/api-billing-mx.service';
|
|
2
4
|
export * from './lib/apis/api-companies.service';
|
|
3
5
|
export * from './lib/apis/api-external-pickups.service';
|
|
4
6
|
export * from './lib/apis/api-invoices.service';
|
|
@@ -6,6 +8,7 @@ export * from './lib/apis/api-open-items.service';
|
|
|
6
8
|
export * from './lib/apis/api-reports.service';
|
|
7
9
|
export * from './lib/apis/api-security.service';
|
|
8
10
|
export * from './lib/apis/api-shipments.service';
|
|
11
|
+
export * from './lib/apis/models/api-billing.types';
|
|
9
12
|
export * from './lib/apis/models/api-companies.interfaces';
|
|
10
13
|
export * from './lib/apis/models/api-companies.types';
|
|
11
14
|
export * from './lib/apis/models/api-external-pickups.types';
|