@experteam-mx/ngx-services 18.9.12 → 20.0.0-beta.1
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/README.md +24 -24
- package/fesm2022/experteam-mx-ngx-services.mjs +80 -80
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/index.d.ts +6703 -3
- package/package.json +6 -8
- package/esm2022/experteam-mx-ngx-services.mjs +0 -5
- package/esm2022/lib/apis/api-billing-do.service.mjs +0 -41
- package/esm2022/lib/apis/api-billing-gt.service.mjs +0 -61
- package/esm2022/lib/apis/api-billing-mx.service.mjs +0 -62
- package/esm2022/lib/apis/api-billing-pa.service.mjs +0 -105
- package/esm2022/lib/apis/api-billing-sv.service.mjs +0 -83
- package/esm2022/lib/apis/api-cash-operations.service.mjs +0 -93
- package/esm2022/lib/apis/api-catalogs.service.mjs +0 -593
- package/esm2022/lib/apis/api-companies.service.mjs +0 -1031
- package/esm2022/lib/apis/api-composition.service.mjs +0 -55
- package/esm2022/lib/apis/api-customs.service.mjs +0 -157
- package/esm2022/lib/apis/api-discounts.service.mjs +0 -243
- package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +0 -75
- package/esm2022/lib/apis/api-events.service.mjs +0 -53
- package/esm2022/lib/apis/api-external-pickups.service.mjs +0 -74
- package/esm2022/lib/apis/api-inventories.service.mjs +0 -194
- package/esm2022/lib/apis/api-invoices.service.mjs +0 -398
- package/esm2022/lib/apis/api-notifications.service.mjs +0 -104
- package/esm2022/lib/apis/api-open-items.service.mjs +0 -62
- package/esm2022/lib/apis/api-reports.service.mjs +0 -128
- package/esm2022/lib/apis/api-security.service.mjs +0 -245
- package/esm2022/lib/apis/api-services.service.mjs +0 -103
- package/esm2022/lib/apis/api-shipments.service.mjs +0 -87
- package/esm2022/lib/apis/api-supplies.service.mjs +0 -133
- package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-do.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-mx.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-pa.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing-sv.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-billing.models.mjs +0 -2
- package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-cash-operations.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-catalog.enum.mjs +0 -9
- package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-catalog.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-companies.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-companies.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-composition.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-composition.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-customs.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-customs.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-discounts.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-events.enum.mjs +0 -7
- package/esm2022/lib/apis/models/api-events.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-events.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-external-pickups.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-inventories.enum.mjs +0 -22
- package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-inventories.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-invoices.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-notifications.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-open-items.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-reports.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-reports.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-security.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-security.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-services.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-services.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-shipments.enums.mjs +0 -8
- package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-shipments.types.mjs +0 -2
- package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +0 -2
- package/esm2022/lib/apis/models/api-supplies.types.mjs +0 -2
- package/esm2022/lib/apis/models/api.models.mjs +0 -2
- package/esm2022/lib/cypher/crypto.service.mjs +0 -93
- package/esm2022/lib/helpers/files.mjs +0 -9
- package/esm2022/lib/helpers/http.mjs +0 -66
- package/esm2022/lib/interceptors/api-headers.interceptor.mjs +0 -24
- package/esm2022/lib/interceptors/api-token.interceptor.mjs +0 -28
- package/esm2022/lib/interceptors/http-caching.interceptor.mjs +0 -37
- package/esm2022/lib/ngx-services.models.mjs +0 -11
- package/esm2022/lib/ngx-services.module.mjs +0 -33
- package/esm2022/lib/websockets/web-sockets.service.mjs +0 -115
- package/esm2022/public-api.mjs +0 -89
- package/lib/apis/api-billing-do.service.d.ts +0 -24
- package/lib/apis/api-billing-gt.service.d.ts +0 -38
- package/lib/apis/api-billing-mx.service.d.ts +0 -39
- package/lib/apis/api-billing-pa.service.d.ts +0 -68
- package/lib/apis/api-billing-sv.service.d.ts +0 -55
- package/lib/apis/api-cash-operations.service.d.ts +0 -62
- package/lib/apis/api-catalogs.service.d.ts +0 -433
- package/lib/apis/api-companies.service.d.ts +0 -714
- package/lib/apis/api-composition.service.d.ts +0 -35
- package/lib/apis/api-customs.service.d.ts +0 -110
- package/lib/apis/api-discounts.service.d.ts +0 -167
- package/lib/apis/api-e-tools-auto-billing.service.d.ts +0 -49
- package/lib/apis/api-events.service.d.ts +0 -33
- package/lib/apis/api-external-pickups.service.d.ts +0 -46
- package/lib/apis/api-inventories.service.d.ts +0 -134
- package/lib/apis/api-invoices.service.d.ts +0 -280
- package/lib/apis/api-notifications.service.d.ts +0 -70
- package/lib/apis/api-open-items.service.d.ts +0 -41
- package/lib/apis/api-reports.service.d.ts +0 -82
- package/lib/apis/api-security.service.d.ts +0 -162
- package/lib/apis/api-services.service.d.ts +0 -67
- package/lib/apis/api-shipments.service.d.ts +0 -58
- package/lib/apis/api-supplies.service.d.ts +0 -93
- package/lib/apis/models/api-billing-do.interfaces.d.ts +0 -6
- package/lib/apis/models/api-billing-do.types.d.ts +0 -5
- package/lib/apis/models/api-billing-mx.interfaces.d.ts +0 -21
- package/lib/apis/models/api-billing-mx.types.d.ts +0 -13
- package/lib/apis/models/api-billing-pa.interfaces.d.ts +0 -26
- package/lib/apis/models/api-billing-pa.types.d.ts +0 -16
- package/lib/apis/models/api-billing-sv.interfaces.d.ts +0 -22
- package/lib/apis/models/api-billing-sv.types.d.ts +0 -21
- package/lib/apis/models/api-billing.models.d.ts +0 -27
- package/lib/apis/models/api-cash-operations.interfaces.d.ts +0 -40
- package/lib/apis/models/api-cash-operations.types.d.ts +0 -30
- package/lib/apis/models/api-catalog.enum.d.ts +0 -7
- package/lib/apis/models/api-catalog.interfaces.d.ts +0 -204
- package/lib/apis/models/api-catalog.types.d.ts +0 -203
- package/lib/apis/models/api-companies.interfaces.d.ts +0 -341
- package/lib/apis/models/api-companies.types.d.ts +0 -457
- package/lib/apis/models/api-composition.interfaces.d.ts +0 -272
- package/lib/apis/models/api-composition.types.d.ts +0 -9
- package/lib/apis/models/api-customs.interfaces.d.ts +0 -125
- package/lib/apis/models/api-customs.types.d.ts +0 -90
- package/lib/apis/models/api-discounts.interfaces.d.ts +0 -78
- package/lib/apis/models/api-discounts.types.d.ts +0 -89
- package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +0 -45
- package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +0 -30
- package/lib/apis/models/api-events.enum.d.ts +0 -5
- package/lib/apis/models/api-events.interfaces.d.ts +0 -21
- package/lib/apis/models/api-events.types.d.ts +0 -14
- package/lib/apis/models/api-external-pickups.types.d.ts +0 -31
- package/lib/apis/models/api-inventories.enum.d.ts +0 -18
- package/lib/apis/models/api-inventories.interfaces.d.ts +0 -40
- package/lib/apis/models/api-inventories.types.d.ts +0 -56
- package/lib/apis/models/api-invoices.interfaces.d.ts +0 -267
- package/lib/apis/models/api-invoices.types.d.ts +0 -195
- package/lib/apis/models/api-notifications.interfaces.d.ts +0 -36
- package/lib/apis/models/api-notifications.types.d.ts +0 -34
- package/lib/apis/models/api-open-items.interfaces.d.ts +0 -32
- package/lib/apis/models/api-open-items.types.d.ts +0 -58
- package/lib/apis/models/api-reports.interfaces.d.ts +0 -233
- package/lib/apis/models/api-reports.types.d.ts +0 -50
- package/lib/apis/models/api-security.interfaces.d.ts +0 -68
- package/lib/apis/models/api-security.types.d.ts +0 -72
- package/lib/apis/models/api-services.interfaces.d.ts +0 -49
- package/lib/apis/models/api-services.types.d.ts +0 -67
- package/lib/apis/models/api-shipments.enums.d.ts +0 -6
- package/lib/apis/models/api-shipments.interfaces.d.ts +0 -12
- package/lib/apis/models/api-shipments.types.d.ts +0 -93
- package/lib/apis/models/api-supplies.interfaces.d.ts +0 -40
- package/lib/apis/models/api-supplies.types.d.ts +0 -50
- package/lib/apis/models/api.models.d.ts +0 -36
- package/lib/cypher/crypto.service.d.ts +0 -15
- package/lib/helpers/files.d.ts +0 -2
- package/lib/helpers/http.d.ts +0 -38
- package/lib/interceptors/api-headers.interceptor.d.ts +0 -12
- package/lib/interceptors/api-token.interceptor.d.ts +0 -11
- package/lib/interceptors/http-caching.interceptor.d.ts +0 -12
- package/lib/ngx-services.models.d.ts +0 -62
- package/lib/ngx-services.module.d.ts +0 -16
- package/lib/websockets/web-sockets.service.d.ts +0 -49
- package/public-api.d.ts +0 -79
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ShipmentComposition } from './api-composition.interfaces';
|
|
2
|
-
import { CountryReference } from './api-companies.interfaces';
|
|
3
|
-
export type ShipmentOut = {
|
|
4
|
-
shipment: ShipmentComposition;
|
|
5
|
-
};
|
|
6
|
-
export type CompositionCountryReferencesOut = {
|
|
7
|
-
country_references: CountryReference[];
|
|
8
|
-
total: number;
|
|
9
|
-
};
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import { ActiveLessSymfonyModel, ApiModel, SymfonyModel } from './api.models';
|
|
2
|
-
export interface Field extends ActiveLessSymfonyModel {
|
|
3
|
-
name: string;
|
|
4
|
-
label: string;
|
|
5
|
-
level: string;
|
|
6
|
-
dhlCodes: DhlCode[];
|
|
7
|
-
}
|
|
8
|
-
export interface DhlCode extends ActiveLessSymfonyModel {
|
|
9
|
-
code: string;
|
|
10
|
-
customerCode: string;
|
|
11
|
-
description: string;
|
|
12
|
-
}
|
|
13
|
-
export interface Override extends ApiModel {
|
|
14
|
-
field: string;
|
|
15
|
-
name: string;
|
|
16
|
-
level: string;
|
|
17
|
-
}
|
|
18
|
-
export interface Catalog extends SymfonyModel {
|
|
19
|
-
name: string;
|
|
20
|
-
}
|
|
21
|
-
export interface Rule extends SymfonyModel {
|
|
22
|
-
ruleType: string;
|
|
23
|
-
criteria: CriteriaCustom | null;
|
|
24
|
-
name: string;
|
|
25
|
-
description: string | null;
|
|
26
|
-
level: string;
|
|
27
|
-
roleTypes: string[];
|
|
28
|
-
warning: string | null;
|
|
29
|
-
attributes: Attribute[];
|
|
30
|
-
}
|
|
31
|
-
export interface CriteriaCustom extends ApiModel {
|
|
32
|
-
origins: string[];
|
|
33
|
-
originGroups: string[];
|
|
34
|
-
originExclusions: string[];
|
|
35
|
-
destinations: string[];
|
|
36
|
-
destinationGroups: string[];
|
|
37
|
-
destinationExclusions: string[];
|
|
38
|
-
dutiable: boolean;
|
|
39
|
-
declaredValue: null | {
|
|
40
|
-
operator: number;
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
export interface Attribute extends ActiveLessSymfonyModel {
|
|
44
|
-
field: FieldLess | null;
|
|
45
|
-
dhlCode: DhlCodeLess | null;
|
|
46
|
-
inputType: string;
|
|
47
|
-
inputLabel: string;
|
|
48
|
-
inputTooltip: string | null;
|
|
49
|
-
exclusive: boolean;
|
|
50
|
-
exclusiveDefault: boolean;
|
|
51
|
-
required: boolean;
|
|
52
|
-
text: TextConfig | null;
|
|
53
|
-
dropdown: DropdownConfig | null;
|
|
54
|
-
number: null | {
|
|
55
|
-
min: number;
|
|
56
|
-
max: number;
|
|
57
|
-
};
|
|
58
|
-
dependentRules: DependentRules | null;
|
|
59
|
-
fillFrom: FillFrom | null;
|
|
60
|
-
override: Override | null;
|
|
61
|
-
}
|
|
62
|
-
export interface FieldLess extends ApiModel {
|
|
63
|
-
name: string;
|
|
64
|
-
label: string;
|
|
65
|
-
}
|
|
66
|
-
export interface TextConfig {
|
|
67
|
-
minLength: number | null;
|
|
68
|
-
maxLength: number | null;
|
|
69
|
-
regex: string | null;
|
|
70
|
-
alphaNumeric: string | null;
|
|
71
|
-
placeHolder: string | null;
|
|
72
|
-
format: string | null;
|
|
73
|
-
prefix: string | null;
|
|
74
|
-
suffix: string | null;
|
|
75
|
-
masked: boolean;
|
|
76
|
-
isFormat?: boolean;
|
|
77
|
-
}
|
|
78
|
-
export interface DropdownConfig extends Dropdown {
|
|
79
|
-
catalog: CatalogLess | null | number;
|
|
80
|
-
}
|
|
81
|
-
export interface DependentRules {
|
|
82
|
-
conditionType: string;
|
|
83
|
-
ruleIds: number[];
|
|
84
|
-
}
|
|
85
|
-
export interface FillFrom {
|
|
86
|
-
attributeIndex: number;
|
|
87
|
-
attributeId: number;
|
|
88
|
-
using: string;
|
|
89
|
-
disabled: boolean;
|
|
90
|
-
}
|
|
91
|
-
export interface CatalogLess extends ApiModel {
|
|
92
|
-
name: string;
|
|
93
|
-
isActive: boolean;
|
|
94
|
-
}
|
|
95
|
-
export interface CriteriaWithTimestamps {
|
|
96
|
-
createdAt: string;
|
|
97
|
-
updatedAt: string;
|
|
98
|
-
}
|
|
99
|
-
export interface CountryGroups extends ActiveLessSymfonyModel {
|
|
100
|
-
code: string;
|
|
101
|
-
name: string;
|
|
102
|
-
countries: string[];
|
|
103
|
-
}
|
|
104
|
-
export interface DhlCodeLess extends ApiModel {
|
|
105
|
-
code: string;
|
|
106
|
-
customerCode: string;
|
|
107
|
-
description: string;
|
|
108
|
-
}
|
|
109
|
-
export interface RuleByCriteria extends ApiModel {
|
|
110
|
-
ruleType: string;
|
|
111
|
-
criteria: CriteriaCustom | null;
|
|
112
|
-
name: string;
|
|
113
|
-
description: string | null;
|
|
114
|
-
level: string;
|
|
115
|
-
roleTypes: string[];
|
|
116
|
-
}
|
|
117
|
-
export interface Dropdown {
|
|
118
|
-
values: string[];
|
|
119
|
-
catalogId: number;
|
|
120
|
-
loadOnDemand: boolean;
|
|
121
|
-
defaultValue: string | null;
|
|
122
|
-
prefix: string | null;
|
|
123
|
-
suffix: string | null;
|
|
124
|
-
_catalogName?: string | null;
|
|
125
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import { Catalog, CountryGroups, CriteriaCustom, CriteriaWithTimestamps, DependentRules, Dropdown, Field, Override, Rule, RuleByCriteria, TextConfig } from './api-customs.interfaces';
|
|
2
|
-
export type FieldsOut = {
|
|
3
|
-
total: number;
|
|
4
|
-
fields: Field[];
|
|
5
|
-
};
|
|
6
|
-
export type OverridesOut = {
|
|
7
|
-
total: number;
|
|
8
|
-
overrides: Override[];
|
|
9
|
-
};
|
|
10
|
-
export type CatalogsOut = {
|
|
11
|
-
total: number;
|
|
12
|
-
catalogs: Catalog[];
|
|
13
|
-
};
|
|
14
|
-
export type RulesOut = {
|
|
15
|
-
total: number;
|
|
16
|
-
rules: Rule[];
|
|
17
|
-
};
|
|
18
|
-
export type RuleOut = {
|
|
19
|
-
rule: Rule;
|
|
20
|
-
};
|
|
21
|
-
export type CriteriaIn = {
|
|
22
|
-
origins: string[];
|
|
23
|
-
originGroups: string[];
|
|
24
|
-
originExclusions: string[];
|
|
25
|
-
destinations: string[];
|
|
26
|
-
destinationGroups: string[];
|
|
27
|
-
destinationExclusions: string[];
|
|
28
|
-
dutiable: boolean;
|
|
29
|
-
declaredValue: {
|
|
30
|
-
operator: number;
|
|
31
|
-
} | null;
|
|
32
|
-
touched?: boolean;
|
|
33
|
-
valid?: boolean;
|
|
34
|
-
};
|
|
35
|
-
export type CriteriaOut = {
|
|
36
|
-
criteria: CriteriaCustom & CriteriaWithTimestamps;
|
|
37
|
-
};
|
|
38
|
-
export type RuleIn = {
|
|
39
|
-
ruleType: string;
|
|
40
|
-
criteriaId: number | null;
|
|
41
|
-
name: string;
|
|
42
|
-
description: string | null;
|
|
43
|
-
level: string;
|
|
44
|
-
roleTypes: string[];
|
|
45
|
-
warning: string | null;
|
|
46
|
-
attributes: AttributeIn[];
|
|
47
|
-
isActive: boolean;
|
|
48
|
-
};
|
|
49
|
-
export type AttributeIn = {
|
|
50
|
-
fieldId: number | null;
|
|
51
|
-
dhlCodeId: number | null;
|
|
52
|
-
inputType: string;
|
|
53
|
-
inputLabel: string;
|
|
54
|
-
inputTooltip: string | null;
|
|
55
|
-
exclusive: boolean;
|
|
56
|
-
exclusiveDefault: boolean;
|
|
57
|
-
required: boolean;
|
|
58
|
-
text: TextConfig | null;
|
|
59
|
-
dropdown: Dropdown | null;
|
|
60
|
-
number: number | null | {
|
|
61
|
-
min: number | null;
|
|
62
|
-
max: number | null;
|
|
63
|
-
};
|
|
64
|
-
dependentRules: DependentRules | null;
|
|
65
|
-
fillFrom: FillFromIn | null;
|
|
66
|
-
overrideId: number | null;
|
|
67
|
-
isActive: boolean;
|
|
68
|
-
};
|
|
69
|
-
export type FillFromIn = {
|
|
70
|
-
attributeIndex: number;
|
|
71
|
-
using: string;
|
|
72
|
-
disabled: boolean;
|
|
73
|
-
};
|
|
74
|
-
export type RuleCriteriaIn = CriteriaIn & {
|
|
75
|
-
ruleType: string | null;
|
|
76
|
-
};
|
|
77
|
-
export type AttributeWithId = AttributeIn & {
|
|
78
|
-
id: number;
|
|
79
|
-
};
|
|
80
|
-
export type RulesIn = Omit<RuleIn, 'attributes'> & {
|
|
81
|
-
id: number | null;
|
|
82
|
-
attributes: AttributeWithId[];
|
|
83
|
-
};
|
|
84
|
-
export type CountryGroupsOut = {
|
|
85
|
-
countryGroups: CountryGroups[];
|
|
86
|
-
};
|
|
87
|
-
export type RulesByCriteriaOut = {
|
|
88
|
-
total: number;
|
|
89
|
-
rules: RuleByCriteria[];
|
|
90
|
-
};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { ActiveLessLaravelModel, LaravelModel } from './api.models';
|
|
2
|
-
import { IdentificationType } from './api-catalog.interfaces';
|
|
3
|
-
export interface Discount extends LaravelModel {
|
|
4
|
-
code: string;
|
|
5
|
-
company_country_id: number;
|
|
6
|
-
name: string;
|
|
7
|
-
description: string | null;
|
|
8
|
-
account_number: string;
|
|
9
|
-
percentage: string;
|
|
10
|
-
start_date: string;
|
|
11
|
-
end_date: string | null;
|
|
12
|
-
start_weight: number;
|
|
13
|
-
end_weight: number | null;
|
|
14
|
-
shipment_scopes: number[];
|
|
15
|
-
country_reference_products: number[];
|
|
16
|
-
applies_to_all_locations: boolean;
|
|
17
|
-
locations: number[] | null;
|
|
18
|
-
reference_required: boolean;
|
|
19
|
-
reference_restriction: boolean | null;
|
|
20
|
-
reference_restriction_period: number | null;
|
|
21
|
-
reference_restriction_amount: number | null;
|
|
22
|
-
reference_restriction_message: string | null;
|
|
23
|
-
shipment_scope_names: string;
|
|
24
|
-
applies_to_all_locations_langs: {
|
|
25
|
-
[key: string]: string;
|
|
26
|
-
};
|
|
27
|
-
reference_required_langs: {
|
|
28
|
-
[key: string]: string;
|
|
29
|
-
};
|
|
30
|
-
status_langs: {
|
|
31
|
-
[key: string]: string;
|
|
32
|
-
};
|
|
33
|
-
applies_to_all_locations_lang: string | null;
|
|
34
|
-
reference_required_lang: string | null;
|
|
35
|
-
status_lang: string | null;
|
|
36
|
-
}
|
|
37
|
-
export interface TopCustomer extends ActiveLessLaravelModel {
|
|
38
|
-
identification_type_id: number;
|
|
39
|
-
identification_number: string;
|
|
40
|
-
contact_name_1: string;
|
|
41
|
-
contact_name_2: string;
|
|
42
|
-
contact_name_3: string;
|
|
43
|
-
email: string;
|
|
44
|
-
phone_number: string;
|
|
45
|
-
discount_percentage: string;
|
|
46
|
-
account: string | null;
|
|
47
|
-
shipment_scopes: string | null;
|
|
48
|
-
company_country_id: number;
|
|
49
|
-
company_name: string | null;
|
|
50
|
-
level: string | null;
|
|
51
|
-
}
|
|
52
|
-
export interface LoyaltyPeriod extends LaravelModel {
|
|
53
|
-
company_country_id: number;
|
|
54
|
-
days: number;
|
|
55
|
-
shipment_scopes: number[];
|
|
56
|
-
products: string[];
|
|
57
|
-
}
|
|
58
|
-
export interface LoyaltyRule extends LaravelModel {
|
|
59
|
-
name: string;
|
|
60
|
-
loyalty_period_id: number;
|
|
61
|
-
min_quantity: number;
|
|
62
|
-
max_quantity: number;
|
|
63
|
-
discount_percentage: number;
|
|
64
|
-
account: string;
|
|
65
|
-
products: string[];
|
|
66
|
-
valid_since: string;
|
|
67
|
-
valid_until: string;
|
|
68
|
-
}
|
|
69
|
-
export interface CustomerRestriction extends ActiveLessLaravelModel {
|
|
70
|
-
identification_type_id?: number;
|
|
71
|
-
identification_number?: string;
|
|
72
|
-
company_country_id: number;
|
|
73
|
-
identificationType?: IdentificationType;
|
|
74
|
-
email?: string;
|
|
75
|
-
phone_number?: string;
|
|
76
|
-
phone_code?: string;
|
|
77
|
-
phone_country_code?: string;
|
|
78
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { CustomerRestriction, Discount, LoyaltyPeriod, LoyaltyRule, TopCustomer } from './api-discounts.interfaces';
|
|
2
|
-
export type DiscountIn = {
|
|
3
|
-
code: string;
|
|
4
|
-
company_country_id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
description: string;
|
|
7
|
-
account_number: string;
|
|
8
|
-
percentage: number;
|
|
9
|
-
start_date: string;
|
|
10
|
-
end_date: string;
|
|
11
|
-
start_weight: number;
|
|
12
|
-
end_weight: number;
|
|
13
|
-
shipment_scopes: number[];
|
|
14
|
-
country_reference_products: number[];
|
|
15
|
-
applies_to_all_locations: boolean;
|
|
16
|
-
locations: number[];
|
|
17
|
-
reference_required: boolean;
|
|
18
|
-
reference_restriction: boolean;
|
|
19
|
-
reference_restriction_period: number;
|
|
20
|
-
reference_restriction_amount: number;
|
|
21
|
-
reference_restriction_message: string;
|
|
22
|
-
is_active: boolean;
|
|
23
|
-
};
|
|
24
|
-
export type DiscountOut = {
|
|
25
|
-
discount: Discount;
|
|
26
|
-
};
|
|
27
|
-
export type DiscountsOut = {
|
|
28
|
-
discounts: Discount[];
|
|
29
|
-
total: number;
|
|
30
|
-
};
|
|
31
|
-
export type TopCustomersOut = {
|
|
32
|
-
top_customers: TopCustomer[];
|
|
33
|
-
total: number;
|
|
34
|
-
};
|
|
35
|
-
export type OperationsLoadTopCustomerV2In = {
|
|
36
|
-
company_country_id: number;
|
|
37
|
-
file: File;
|
|
38
|
-
};
|
|
39
|
-
export type LoyaltyPeriodsOut = {
|
|
40
|
-
loyalty_periods: LoyaltyPeriod[];
|
|
41
|
-
total: number;
|
|
42
|
-
};
|
|
43
|
-
export type LoyaltyPeriodIn = {
|
|
44
|
-
company_country_id: number;
|
|
45
|
-
days: number;
|
|
46
|
-
shipment_scopes: number[];
|
|
47
|
-
products: string[];
|
|
48
|
-
is_active: boolean;
|
|
49
|
-
};
|
|
50
|
-
export type LoyaltyPeriodOut = {
|
|
51
|
-
loyalty_period: LoyaltyPeriod;
|
|
52
|
-
};
|
|
53
|
-
export type LoyaltyRulesOut = {
|
|
54
|
-
loyalty_rules: LoyaltyRule[];
|
|
55
|
-
total: number;
|
|
56
|
-
};
|
|
57
|
-
export type LoyaltyRuleIn = {
|
|
58
|
-
name: string;
|
|
59
|
-
loyalty_period_id: number;
|
|
60
|
-
min_quantity: number;
|
|
61
|
-
max_quantity: number;
|
|
62
|
-
discount_percentage: number;
|
|
63
|
-
products: string[];
|
|
64
|
-
account: string;
|
|
65
|
-
valid_since: string;
|
|
66
|
-
valid_until: string;
|
|
67
|
-
is_active: boolean;
|
|
68
|
-
};
|
|
69
|
-
export type LoyaltyRuleOut = {
|
|
70
|
-
loyalty_rule: LoyaltyRule;
|
|
71
|
-
};
|
|
72
|
-
export type CustomerRestrictionsOut = {
|
|
73
|
-
customer_restrictions: CustomerRestriction[];
|
|
74
|
-
total: number;
|
|
75
|
-
};
|
|
76
|
-
export type CustomerRestrictionIn = {
|
|
77
|
-
identification_type_id?: number;
|
|
78
|
-
identification_number?: string;
|
|
79
|
-
company_country_id: number;
|
|
80
|
-
};
|
|
81
|
-
export type CustomerRestrictionInV2 = CustomerRestrictionIn & {
|
|
82
|
-
email?: string;
|
|
83
|
-
phone_number?: string;
|
|
84
|
-
phone_code?: string;
|
|
85
|
-
phone_country_code?: string;
|
|
86
|
-
};
|
|
87
|
-
export type CustomerRestrictionOut = {
|
|
88
|
-
customer_restriction: CustomerRestriction;
|
|
89
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ActiveLessSymfonyModel, SymfonyModel } from './api.models';
|
|
2
|
-
export interface ExternalShipmentAddress extends ActiveLessSymfonyModel {
|
|
3
|
-
addressLine1: string;
|
|
4
|
-
addressLine2: string;
|
|
5
|
-
addressLine3: string;
|
|
6
|
-
cityName: string;
|
|
7
|
-
companyName: string;
|
|
8
|
-
countryId: number;
|
|
9
|
-
email: string;
|
|
10
|
-
externalShipmentId: number;
|
|
11
|
-
fullName: string;
|
|
12
|
-
identificationNumber: string;
|
|
13
|
-
identificationTypeId: number;
|
|
14
|
-
phoneCode: string;
|
|
15
|
-
phoneNumber: string;
|
|
16
|
-
postalCode: string;
|
|
17
|
-
roleType: string;
|
|
18
|
-
serviceAreaCode: string;
|
|
19
|
-
}
|
|
20
|
-
export interface ExternalShipmentStatus extends ActiveLessSymfonyModel {
|
|
21
|
-
name: string;
|
|
22
|
-
isActive: boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface ExternalShipmentHistory extends ActiveLessSymfonyModel {
|
|
25
|
-
externalShipmentId: number;
|
|
26
|
-
externalShipmentStatus: ExternalShipmentStatus;
|
|
27
|
-
messages: string[];
|
|
28
|
-
}
|
|
29
|
-
export interface ExternalShipmentFile extends ActiveLessSymfonyModel {
|
|
30
|
-
companyCountryId: string;
|
|
31
|
-
name: string;
|
|
32
|
-
finished: false;
|
|
33
|
-
statusId: number;
|
|
34
|
-
externalShipmentFileHistories: ExternalShipmentFileHistory[];
|
|
35
|
-
externalShipmentId: number;
|
|
36
|
-
content: string;
|
|
37
|
-
}
|
|
38
|
-
export interface ExternalShipmentFileHistory extends ActiveLessSymfonyModel {
|
|
39
|
-
statusId: number;
|
|
40
|
-
messages: string[];
|
|
41
|
-
externalShipmentFileId: number;
|
|
42
|
-
}
|
|
43
|
-
export interface ExternalShipmentStatuses extends SymfonyModel {
|
|
44
|
-
name: string;
|
|
45
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { ExternalShipmentAddress, ExternalShipmentFile, ExternalShipmentHistory, ExternalShipmentStatuses } from './api-e-tools-auto-billing.interfaces';
|
|
2
|
-
export type ExternalShipmentAddressesIn = {
|
|
3
|
-
id: number;
|
|
4
|
-
addressLine1: string;
|
|
5
|
-
addressLine2: string;
|
|
6
|
-
addressLine3: string;
|
|
7
|
-
cityName: string;
|
|
8
|
-
companyName: string;
|
|
9
|
-
email: string;
|
|
10
|
-
fullName: string;
|
|
11
|
-
identificationNumber: string;
|
|
12
|
-
identificationTypeId: number;
|
|
13
|
-
phoneCode: string;
|
|
14
|
-
phoneNumber: string;
|
|
15
|
-
postalCode: string;
|
|
16
|
-
};
|
|
17
|
-
export type ExternalShipmentAddressesOut = {
|
|
18
|
-
externalShipmentAddress: ExternalShipmentAddress;
|
|
19
|
-
};
|
|
20
|
-
export type ExternalShipmentFileOut = {
|
|
21
|
-
externalShipmentFile: ExternalShipmentFile;
|
|
22
|
-
};
|
|
23
|
-
export type ExternalShipmentHistoriesOut = {
|
|
24
|
-
total: number;
|
|
25
|
-
externalShipmentHistories: ExternalShipmentHistory[];
|
|
26
|
-
};
|
|
27
|
-
export type ExternalShipmentStatusOut = {
|
|
28
|
-
total: number;
|
|
29
|
-
externalShipmentStatuses: ExternalShipmentStatuses[];
|
|
30
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { OperationModuleStatus } from './api-events.enum';
|
|
2
|
-
import { SymfonyModel } from './api.models';
|
|
3
|
-
export interface OperationModule extends SymfonyModel {
|
|
4
|
-
lastUserId: number;
|
|
5
|
-
event: OperationEvent;
|
|
6
|
-
lastAction: OperationAction;
|
|
7
|
-
status: OperationModuleStatus;
|
|
8
|
-
extraFields: {
|
|
9
|
-
[key: string]: string | number | boolean | null;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export interface OperationEvent extends SymfonyModel {
|
|
13
|
-
code: string;
|
|
14
|
-
name: string;
|
|
15
|
-
description: string;
|
|
16
|
-
}
|
|
17
|
-
export interface OperationAction extends SymfonyModel {
|
|
18
|
-
code: string;
|
|
19
|
-
name: string;
|
|
20
|
-
description: string;
|
|
21
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { OperationModuleStatus } from './api-events.enum';
|
|
2
|
-
import { OperationModule } from './api-events.interfaces';
|
|
3
|
-
export type OperationModuleStartIn = {
|
|
4
|
-
eventCode: string;
|
|
5
|
-
};
|
|
6
|
-
export type OperationModuleEndIn = {
|
|
7
|
-
status: OperationModuleStatus;
|
|
8
|
-
extraFields?: {
|
|
9
|
-
[key: string]: string | number | boolean | null;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export type OperationModuleOut = {
|
|
13
|
-
operationModule: OperationModule;
|
|
14
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
export type DeliveryConfirmationGenerateOut = {
|
|
2
|
-
code: string;
|
|
3
|
-
};
|
|
4
|
-
export type DeliveryConfirmationGenerateIn = {
|
|
5
|
-
operation_id: number;
|
|
6
|
-
signature: {
|
|
7
|
-
client: {
|
|
8
|
-
full_name: string;
|
|
9
|
-
};
|
|
10
|
-
package_detail: {
|
|
11
|
-
shipment_tracking_number: string;
|
|
12
|
-
pieces: {
|
|
13
|
-
tracking_number: string;
|
|
14
|
-
status: string;
|
|
15
|
-
}[];
|
|
16
|
-
}[];
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export type DeliveryConfirmationCompleteIn = {
|
|
20
|
-
operationId: number;
|
|
21
|
-
keyOTP: string;
|
|
22
|
-
};
|
|
23
|
-
export type DeliveryConfirmationIn = {
|
|
24
|
-
signature: {
|
|
25
|
-
status: string;
|
|
26
|
-
operation_id: number;
|
|
27
|
-
signature_base_64: string;
|
|
28
|
-
mime_type: string;
|
|
29
|
-
};
|
|
30
|
-
otp?: string;
|
|
31
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare enum Event {
|
|
2
|
-
damage = "damage",
|
|
3
|
-
lost = "lost",
|
|
4
|
-
rejected = "rejected",
|
|
5
|
-
return = "return "
|
|
6
|
-
}
|
|
7
|
-
export declare enum DefaultValueType {
|
|
8
|
-
payment_type = "payment_type",
|
|
9
|
-
currency_code = "currency_code",
|
|
10
|
-
destination = "destination",
|
|
11
|
-
payment_amount = "payment_amount"
|
|
12
|
-
}
|
|
13
|
-
export declare enum AlphaNumeric {
|
|
14
|
-
alpha_numeric = "alpha_numeric",
|
|
15
|
-
numeric = "numeric",
|
|
16
|
-
alphabetic = "alphabetic",
|
|
17
|
-
amount = "amount"
|
|
18
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { AlphaNumeric, DefaultValueType, Event } from './api-inventories.enum';
|
|
2
|
-
import { ActiveLessSymfonyModel, SymfonyModel } from './api.models';
|
|
3
|
-
export interface Checkpoint extends ActiveLessSymfonyModel {
|
|
4
|
-
code: string;
|
|
5
|
-
name: string;
|
|
6
|
-
event: Event;
|
|
7
|
-
isFinisher: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface CheckpointEventReason extends ActiveLessSymfonyModel {
|
|
10
|
-
code: string;
|
|
11
|
-
name: string;
|
|
12
|
-
extraFields: {
|
|
13
|
-
[key: string]: string;
|
|
14
|
-
};
|
|
15
|
-
checkpoint: Checkpoint | null;
|
|
16
|
-
}
|
|
17
|
-
export interface Incident extends SymfonyModel {
|
|
18
|
-
checkpoint: Checkpoint | null;
|
|
19
|
-
countryId: string;
|
|
20
|
-
event: Event;
|
|
21
|
-
name: string;
|
|
22
|
-
isFinisher: boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface IncidentReason extends SymfonyModel {
|
|
25
|
-
checkpointEventReason: CheckpointEventReason | null;
|
|
26
|
-
description: string;
|
|
27
|
-
incident: Incident | null;
|
|
28
|
-
isDefaultChecking: boolean;
|
|
29
|
-
name: string;
|
|
30
|
-
}
|
|
31
|
-
export interface IncidentReasonComplement extends SymfonyModel {
|
|
32
|
-
alphaNumeric: AlphaNumeric | null;
|
|
33
|
-
eventReasonCodeKey: string;
|
|
34
|
-
description: string;
|
|
35
|
-
defaultValueType: DefaultValueType | null;
|
|
36
|
-
incidentReason: IncidentReason;
|
|
37
|
-
maxLength: number;
|
|
38
|
-
name: string;
|
|
39
|
-
readOnly: boolean;
|
|
40
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { AlphaNumeric, DefaultValueType, Event } from './api-inventories.enum';
|
|
2
|
-
import { CheckpointEventReason, Checkpoint, Incident, IncidentReason, IncidentReasonComplement } from './api-inventories.interfaces';
|
|
3
|
-
export type CheckpointsOut = {
|
|
4
|
-
total: number;
|
|
5
|
-
checkpoints: Checkpoint[];
|
|
6
|
-
};
|
|
7
|
-
export type CheckpointEventReasonsOut = {
|
|
8
|
-
total: number;
|
|
9
|
-
checkpointEventReasons: CheckpointEventReason[];
|
|
10
|
-
};
|
|
11
|
-
export type IncidentsOut = {
|
|
12
|
-
total: number;
|
|
13
|
-
incidents: Incident[];
|
|
14
|
-
};
|
|
15
|
-
export type IncidentOut = {
|
|
16
|
-
incident: Incident;
|
|
17
|
-
};
|
|
18
|
-
export type IncidentIn = {
|
|
19
|
-
checkpointId: Number | null;
|
|
20
|
-
countryId: string;
|
|
21
|
-
name: string;
|
|
22
|
-
isActive: boolean;
|
|
23
|
-
event: Event | null;
|
|
24
|
-
};
|
|
25
|
-
export type IncidentReasonsOut = {
|
|
26
|
-
total: number;
|
|
27
|
-
incidentReasons: IncidentReason[];
|
|
28
|
-
};
|
|
29
|
-
export type IncidentReasonOut = {
|
|
30
|
-
incidentReason: IncidentReason;
|
|
31
|
-
};
|
|
32
|
-
export type IncidentReasonIn = {
|
|
33
|
-
checkpointEventReasonId?: number;
|
|
34
|
-
description: string;
|
|
35
|
-
incidentId?: number;
|
|
36
|
-
isActive: boolean;
|
|
37
|
-
name: string;
|
|
38
|
-
};
|
|
39
|
-
export type IncidentReasonComplementsOut = {
|
|
40
|
-
total: number;
|
|
41
|
-
incidentReasonComplements: IncidentReasonComplement[];
|
|
42
|
-
};
|
|
43
|
-
export type IncidentReasonComplementOut = {
|
|
44
|
-
incidentReasonComplement: IncidentReasonComplement;
|
|
45
|
-
};
|
|
46
|
-
export type IncidentReasonComplementIn = {
|
|
47
|
-
alphaNumeric?: AlphaNumeric;
|
|
48
|
-
eventReasonCodeKey: string;
|
|
49
|
-
description: string;
|
|
50
|
-
defaultValueType?: DefaultValueType;
|
|
51
|
-
incidentReasonId?: Number;
|
|
52
|
-
maxLength: number;
|
|
53
|
-
name: string;
|
|
54
|
-
readOnly?: boolean;
|
|
55
|
-
isActive?: boolean;
|
|
56
|
-
};
|