@experteam-mx/ngx-services 18.9.13 → 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,233 +0,0 @@
|
|
|
1
|
-
import { OperationType } from './api-catalog.interfaces';
|
|
2
|
-
import { ActiveLessLaravelModel, ActiveLessSymfonyModel, ApiModel, LaravelModel, Translations } from './api.models';
|
|
3
|
-
export interface CollectionPayment extends LaravelModel {
|
|
4
|
-
_id: number;
|
|
5
|
-
country_code: string;
|
|
6
|
-
country_id: number;
|
|
7
|
-
country_name: string;
|
|
8
|
-
company_id: number;
|
|
9
|
-
company_name: string;
|
|
10
|
-
company_country_id: number;
|
|
11
|
-
installation_id: number;
|
|
12
|
-
installation_number: number;
|
|
13
|
-
location_facility_code: string;
|
|
14
|
-
location_id: number;
|
|
15
|
-
location_location_code: string;
|
|
16
|
-
location_name: string;
|
|
17
|
-
user_id: number;
|
|
18
|
-
user_username: string;
|
|
19
|
-
document_type_id: number;
|
|
20
|
-
document_type: DocumentTypeReports;
|
|
21
|
-
document_category_id: number;
|
|
22
|
-
document_category: DocumentCategoryReports;
|
|
23
|
-
receipt_number: string;
|
|
24
|
-
customer_name: string;
|
|
25
|
-
account: string;
|
|
26
|
-
amount: number;
|
|
27
|
-
currency_id: number;
|
|
28
|
-
currency_code: string;
|
|
29
|
-
operation_type_id: number;
|
|
30
|
-
operation_type: OperationType;
|
|
31
|
-
}
|
|
32
|
-
export interface DocumentTypeReports extends LaravelModel {
|
|
33
|
-
_id: number;
|
|
34
|
-
name: string;
|
|
35
|
-
code: string;
|
|
36
|
-
movement_type: number;
|
|
37
|
-
local_code: string;
|
|
38
|
-
translations: Translations;
|
|
39
|
-
}
|
|
40
|
-
export interface DocumentCategoryReports extends LaravelModel {
|
|
41
|
-
_id: number;
|
|
42
|
-
name: string;
|
|
43
|
-
is_electronic: true;
|
|
44
|
-
taxable: number;
|
|
45
|
-
created_at: string;
|
|
46
|
-
updated_at: string;
|
|
47
|
-
translations: Translations;
|
|
48
|
-
}
|
|
49
|
-
export interface ShipmentReports {
|
|
50
|
-
authorization_numbers: string[];
|
|
51
|
-
commercial_invoice: boolean;
|
|
52
|
-
company_name: string;
|
|
53
|
-
country_id: number;
|
|
54
|
-
country_name: string;
|
|
55
|
-
currency_code: string;
|
|
56
|
-
customer_identification_number: string | null;
|
|
57
|
-
customer_identification_type_id: number | null;
|
|
58
|
-
document_id: number;
|
|
59
|
-
id: number;
|
|
60
|
-
installation_id: number;
|
|
61
|
-
installation_number: number;
|
|
62
|
-
invoice_document_id: number | null;
|
|
63
|
-
is_document: boolean;
|
|
64
|
-
is_manual: boolean;
|
|
65
|
-
itn_number: string | null;
|
|
66
|
-
location_id: number;
|
|
67
|
-
location_name: string;
|
|
68
|
-
price_override_approver_name: string | null;
|
|
69
|
-
price_override_reason_name: string | null;
|
|
70
|
-
product_subtotal: number;
|
|
71
|
-
product_tax: number;
|
|
72
|
-
question_description: string | null;
|
|
73
|
-
receiver_company_name: string;
|
|
74
|
-
receiver_full_name: string;
|
|
75
|
-
send_to_api_inventories: boolean;
|
|
76
|
-
shipment_id: number;
|
|
77
|
-
shipment_pieces_tracking_numbers: string[];
|
|
78
|
-
shipment_status_code: string;
|
|
79
|
-
shipment_status_description: string;
|
|
80
|
-
shipment_status_id: number;
|
|
81
|
-
shipment_status_translations: Translations;
|
|
82
|
-
shipment_tags: ShipmentTag[];
|
|
83
|
-
shipment_tracking_number: string;
|
|
84
|
-
shipment_type: string;
|
|
85
|
-
shipment_value: string;
|
|
86
|
-
shipper_account: string;
|
|
87
|
-
shipper_address_line1: string;
|
|
88
|
-
shipper_address_line2: string | null;
|
|
89
|
-
shipper_address_line3: string | null;
|
|
90
|
-
shipper_city_name: string;
|
|
91
|
-
shipper_company_name: string;
|
|
92
|
-
shipper_email: string;
|
|
93
|
-
shipper_full_name: string;
|
|
94
|
-
shipper_full_phone_number: string;
|
|
95
|
-
shipper_identification_number: string | null;
|
|
96
|
-
shipper_phone_number: string;
|
|
97
|
-
shipper_postal_code: string;
|
|
98
|
-
shipper_state_name: string | null;
|
|
99
|
-
subtotal: number;
|
|
100
|
-
tax: number;
|
|
101
|
-
total: number;
|
|
102
|
-
tracking: string | null;
|
|
103
|
-
updated_at: string;
|
|
104
|
-
user_id: number;
|
|
105
|
-
user_username: string;
|
|
106
|
-
additional_documents: {
|
|
107
|
-
country_id: number;
|
|
108
|
-
include_indemnity_letter: boolean;
|
|
109
|
-
shipment_content_type_id: number;
|
|
110
|
-
shipment_scope_id: number;
|
|
111
|
-
};
|
|
112
|
-
document_payments: {
|
|
113
|
-
payment: {
|
|
114
|
-
countryPaymentType: {
|
|
115
|
-
code: string;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
}[];
|
|
119
|
-
}
|
|
120
|
-
export interface ShipmentTag extends ActiveLessSymfonyModel {
|
|
121
|
-
name: string;
|
|
122
|
-
code: string;
|
|
123
|
-
translations: Translations;
|
|
124
|
-
}
|
|
125
|
-
export interface ReportExternalShipment extends ActiveLessLaravelModel {
|
|
126
|
-
account_number: string;
|
|
127
|
-
collection_date: string;
|
|
128
|
-
document_id: number | null;
|
|
129
|
-
document_number: string | null;
|
|
130
|
-
external_shipment_addresses: ReportExternalShipmentAddress[];
|
|
131
|
-
external_shipment_file_id: number;
|
|
132
|
-
external_shipment_status_id: number;
|
|
133
|
-
external_shipment_status_name: string;
|
|
134
|
-
external_shipment_status_translations: Translations;
|
|
135
|
-
installation_id: number;
|
|
136
|
-
subtotal: number;
|
|
137
|
-
tax: number;
|
|
138
|
-
total: number;
|
|
139
|
-
tracking_number: string;
|
|
140
|
-
user_id: number;
|
|
141
|
-
}
|
|
142
|
-
export interface ReportExternalShipmentAddress extends ApiModel {
|
|
143
|
-
address_line_1: string;
|
|
144
|
-
address_line_2: string;
|
|
145
|
-
city_name: string;
|
|
146
|
-
company_name: string;
|
|
147
|
-
country_id: number;
|
|
148
|
-
email: string;
|
|
149
|
-
full_name: string;
|
|
150
|
-
identification_number: string | null;
|
|
151
|
-
identification_type_id: number | null;
|
|
152
|
-
phone_number: string;
|
|
153
|
-
postal_code: string;
|
|
154
|
-
role_type: string;
|
|
155
|
-
service_area_code: string;
|
|
156
|
-
}
|
|
157
|
-
export interface PromotionCodeDiscount extends ApiModel {
|
|
158
|
-
country_id: number;
|
|
159
|
-
company_country_id: number;
|
|
160
|
-
location_id: number;
|
|
161
|
-
installation_id: number;
|
|
162
|
-
user_id: number;
|
|
163
|
-
user_username: string;
|
|
164
|
-
updated_at: Date | string;
|
|
165
|
-
tracking_number: string;
|
|
166
|
-
product_id: number;
|
|
167
|
-
product_global_code: string;
|
|
168
|
-
product_global_name: string;
|
|
169
|
-
origin_facility_code: string;
|
|
170
|
-
destination_facility_code: string;
|
|
171
|
-
origin_company_name: string;
|
|
172
|
-
origin_full_name: string;
|
|
173
|
-
promotion_code: string;
|
|
174
|
-
product_subtotals: ProductSubtotal[];
|
|
175
|
-
}
|
|
176
|
-
export interface ProductSubtotal {
|
|
177
|
-
country_reference_currency_id: number;
|
|
178
|
-
currency_id: number;
|
|
179
|
-
currency_code: string;
|
|
180
|
-
value: number;
|
|
181
|
-
}
|
|
182
|
-
export interface WithdrawalAmount {
|
|
183
|
-
country_reference_currency_id: number;
|
|
184
|
-
currency_id: number;
|
|
185
|
-
currency_code: string;
|
|
186
|
-
value: number | null;
|
|
187
|
-
}
|
|
188
|
-
export interface PartialWithdrawal extends ActiveLessLaravelModel {
|
|
189
|
-
country_id: number;
|
|
190
|
-
company_country_id: number;
|
|
191
|
-
location_id: number;
|
|
192
|
-
installation_id: number;
|
|
193
|
-
opening_user_id: number;
|
|
194
|
-
opening_user_username: string;
|
|
195
|
-
opening_user_name: string;
|
|
196
|
-
opening_reference_user_id: number;
|
|
197
|
-
opening_reference_user_username: string;
|
|
198
|
-
opening_reference_user_name: string;
|
|
199
|
-
receipt_number: string;
|
|
200
|
-
amounts: WithdrawalAmount[];
|
|
201
|
-
}
|
|
202
|
-
export interface Invoice extends ActiveLessLaravelModel {
|
|
203
|
-
complete_document_number: string;
|
|
204
|
-
tracking_numbers: string[];
|
|
205
|
-
local_currency_total_amount: number;
|
|
206
|
-
identification_type_name: string;
|
|
207
|
-
identification_number: string;
|
|
208
|
-
customer_full_name: string;
|
|
209
|
-
customer_address: string;
|
|
210
|
-
customer_email: string;
|
|
211
|
-
customer_extra_fields: {
|
|
212
|
-
field: string;
|
|
213
|
-
value: string;
|
|
214
|
-
}[];
|
|
215
|
-
document_type_name: string;
|
|
216
|
-
document_type_name_ES: string;
|
|
217
|
-
document_type_name_EN: string;
|
|
218
|
-
document_category_name: string;
|
|
219
|
-
document_category_name_ES: string;
|
|
220
|
-
document_category_name_EN: string;
|
|
221
|
-
document_status_id: number;
|
|
222
|
-
document_status_code: string;
|
|
223
|
-
transaction_type: string;
|
|
224
|
-
installation_id: number;
|
|
225
|
-
location_id: number;
|
|
226
|
-
company_country_id: number;
|
|
227
|
-
country_id: number;
|
|
228
|
-
customer_phone_code: string;
|
|
229
|
-
customer_phone_number: string;
|
|
230
|
-
customer_city_name: string;
|
|
231
|
-
customer_county_name: string;
|
|
232
|
-
shipment_id: number;
|
|
233
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { CollectionPayment, Invoice, PartialWithdrawal, PromotionCodeDiscount, ReportExternalShipment, ShipmentReports } from './api-reports.interfaces';
|
|
2
|
-
import { QueryParams } from './api.models';
|
|
3
|
-
import { Session } from './api-security.interfaces';
|
|
4
|
-
export type CollectionPaymentsOut = {
|
|
5
|
-
collection_payments: CollectionPayment[];
|
|
6
|
-
total: number;
|
|
7
|
-
};
|
|
8
|
-
export type ShipmentsReportOut = {
|
|
9
|
-
shipments: ShipmentReports[];
|
|
10
|
-
total: number;
|
|
11
|
-
};
|
|
12
|
-
export type ExternalShipmentsOut = {
|
|
13
|
-
external_shipments: ReportExternalShipment[];
|
|
14
|
-
total: number;
|
|
15
|
-
};
|
|
16
|
-
export type PromotionCodeDiscountsOut = {
|
|
17
|
-
total: number;
|
|
18
|
-
promotion_code_discounts: PromotionCodeDiscount[];
|
|
19
|
-
} | {
|
|
20
|
-
transaction_id: string;
|
|
21
|
-
};
|
|
22
|
-
export type FileCheckOut = {
|
|
23
|
-
report_file: {
|
|
24
|
-
user_id: number;
|
|
25
|
-
role_type_level: number;
|
|
26
|
-
type: string;
|
|
27
|
-
status: number;
|
|
28
|
-
progress: number;
|
|
29
|
-
file_size: number;
|
|
30
|
-
file_name: string | null;
|
|
31
|
-
report_request: QueryParams;
|
|
32
|
-
transaction_id: string;
|
|
33
|
-
headers: {
|
|
34
|
-
[key: string]: string;
|
|
35
|
-
};
|
|
36
|
-
user_session: Session;
|
|
37
|
-
role_company_country_id: number;
|
|
38
|
-
updated_at: string;
|
|
39
|
-
created_at: string;
|
|
40
|
-
id: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
export type PartialWithdrawalsOut = {
|
|
44
|
-
partial_withdrawals: PartialWithdrawal[];
|
|
45
|
-
total: number;
|
|
46
|
-
};
|
|
47
|
-
export type InvoicesOut = {
|
|
48
|
-
invoices: Invoice[];
|
|
49
|
-
total: number;
|
|
50
|
-
};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { LaravelModel } from './api.models';
|
|
2
|
-
import { Pivot } from './api-security.types';
|
|
3
|
-
export interface Session extends LaravelModel {
|
|
4
|
-
model_type: string;
|
|
5
|
-
model_id: number;
|
|
6
|
-
status: string;
|
|
7
|
-
last_activity: string;
|
|
8
|
-
user_agent: string;
|
|
9
|
-
gmt_offset: string;
|
|
10
|
-
opening_id: number;
|
|
11
|
-
user_id: number;
|
|
12
|
-
installation_id: number;
|
|
13
|
-
locale: string | null;
|
|
14
|
-
decimal_point: number;
|
|
15
|
-
country_id: number;
|
|
16
|
-
company_id: number;
|
|
17
|
-
company_country_id: number;
|
|
18
|
-
location_id: number;
|
|
19
|
-
country_reference_currency_id: number;
|
|
20
|
-
location_employee_id: number;
|
|
21
|
-
}
|
|
22
|
-
export interface Role extends LaravelModel {
|
|
23
|
-
name: string;
|
|
24
|
-
guard_name: string;
|
|
25
|
-
company_country_id: number;
|
|
26
|
-
role_type_id: number;
|
|
27
|
-
regional_country_id: number | null;
|
|
28
|
-
role_type: RoleType;
|
|
29
|
-
permissions?: Permission[];
|
|
30
|
-
}
|
|
31
|
-
export interface RoleType extends LaravelModel {
|
|
32
|
-
name: string;
|
|
33
|
-
level: number;
|
|
34
|
-
}
|
|
35
|
-
export interface Permission extends LaravelModel {
|
|
36
|
-
name: string;
|
|
37
|
-
guard_name: string;
|
|
38
|
-
description: string;
|
|
39
|
-
is_default: boolean;
|
|
40
|
-
pivot: Pivot;
|
|
41
|
-
}
|
|
42
|
-
export interface User extends LaravelModel {
|
|
43
|
-
name: string;
|
|
44
|
-
username: string;
|
|
45
|
-
model_type: string;
|
|
46
|
-
model_id: number;
|
|
47
|
-
auth_type: string;
|
|
48
|
-
language_id: number;
|
|
49
|
-
email: string;
|
|
50
|
-
roles: Role[];
|
|
51
|
-
}
|
|
52
|
-
export interface UserMe extends Omit<User, 'roles'> {
|
|
53
|
-
permissions: string[];
|
|
54
|
-
session: Session | null;
|
|
55
|
-
role: Role;
|
|
56
|
-
}
|
|
57
|
-
export interface Module extends LaravelModel {
|
|
58
|
-
name: string;
|
|
59
|
-
code: string;
|
|
60
|
-
module_type_id: number;
|
|
61
|
-
module_type: ModuleType;
|
|
62
|
-
permissions: Permission[];
|
|
63
|
-
require_default_permission?: boolean;
|
|
64
|
-
}
|
|
65
|
-
export interface ModuleType extends LaravelModel {
|
|
66
|
-
name: string;
|
|
67
|
-
description: string;
|
|
68
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { Module, Role, RoleType, Session, User, UserMe } from './api-security.interfaces';
|
|
2
|
-
export type AuthLoginIn = {
|
|
3
|
-
username: string;
|
|
4
|
-
password: string;
|
|
5
|
-
role?: number;
|
|
6
|
-
system_name?: string;
|
|
7
|
-
};
|
|
8
|
-
export type AuthLoginOut = {
|
|
9
|
-
access_token: string;
|
|
10
|
-
token_type: string;
|
|
11
|
-
expires_in: number;
|
|
12
|
-
};
|
|
13
|
-
export type AuthUserLoginIn = {
|
|
14
|
-
username: string;
|
|
15
|
-
};
|
|
16
|
-
export type SessionIn = {
|
|
17
|
-
modelType: string;
|
|
18
|
-
modelId: number;
|
|
19
|
-
token?: string;
|
|
20
|
-
};
|
|
21
|
-
export type SessionOut = {
|
|
22
|
-
session: Session;
|
|
23
|
-
};
|
|
24
|
-
export type PutUsersIn = {
|
|
25
|
-
user: User;
|
|
26
|
-
};
|
|
27
|
-
export type PutUsersOut = {
|
|
28
|
-
user: User;
|
|
29
|
-
};
|
|
30
|
-
export type GetUserOut = {
|
|
31
|
-
user: User;
|
|
32
|
-
};
|
|
33
|
-
export type GetUsersOut = {
|
|
34
|
-
users: User[];
|
|
35
|
-
total: number;
|
|
36
|
-
};
|
|
37
|
-
export type AuthMeOut = {
|
|
38
|
-
user: UserMe;
|
|
39
|
-
};
|
|
40
|
-
export type ChangeLanguageIn = {
|
|
41
|
-
languageId: number;
|
|
42
|
-
};
|
|
43
|
-
export type RolesOut = {
|
|
44
|
-
roles: Role[];
|
|
45
|
-
total: number;
|
|
46
|
-
};
|
|
47
|
-
export type Pivot = {
|
|
48
|
-
role_id: number;
|
|
49
|
-
permission_id: number;
|
|
50
|
-
} | {
|
|
51
|
-
module_id: string;
|
|
52
|
-
permission_id: string;
|
|
53
|
-
};
|
|
54
|
-
export type RoleOut = {
|
|
55
|
-
role: Role;
|
|
56
|
-
};
|
|
57
|
-
export type RoleIn = {
|
|
58
|
-
name: string;
|
|
59
|
-
role_type_id: number;
|
|
60
|
-
company_country_id: number;
|
|
61
|
-
regional_country_id?: number[] | null;
|
|
62
|
-
is_active: boolean;
|
|
63
|
-
permissions?: string[];
|
|
64
|
-
};
|
|
65
|
-
export type RoleTypesOut = {
|
|
66
|
-
role_types: RoleType[];
|
|
67
|
-
total: number;
|
|
68
|
-
};
|
|
69
|
-
export type ModulesOut = {
|
|
70
|
-
modules: Module[];
|
|
71
|
-
total: number;
|
|
72
|
-
};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { SymfonyModel } from './api.models';
|
|
2
|
-
export interface ServiceArea extends SymfonyModel {
|
|
3
|
-
serviceAreaCodeName: string;
|
|
4
|
-
referenceDataCode: string;
|
|
5
|
-
serviceAreaCode: string;
|
|
6
|
-
serviceAreaName: string;
|
|
7
|
-
serviceAreaStatusCode: string;
|
|
8
|
-
serviceAreaStatusCodeDescription: string;
|
|
9
|
-
iataCode: string;
|
|
10
|
-
iataAirportName: string;
|
|
11
|
-
countryCode: string;
|
|
12
|
-
countryName: string;
|
|
13
|
-
timezoneCode: string;
|
|
14
|
-
timezoneCodeName: string;
|
|
15
|
-
offNetServiceIndicator: string;
|
|
16
|
-
offNetServiceIndicatorDescription: string;
|
|
17
|
-
effectiveDate: string;
|
|
18
|
-
}
|
|
19
|
-
export interface Facility extends SymfonyModel {
|
|
20
|
-
facilityIdentifier: string;
|
|
21
|
-
facilityCode: string;
|
|
22
|
-
serviceAreaCode: string;
|
|
23
|
-
serviceAreaName: string;
|
|
24
|
-
facilityName: string;
|
|
25
|
-
countryCode: string;
|
|
26
|
-
countryName: string;
|
|
27
|
-
facilityStatusCode: string;
|
|
28
|
-
facilityCompanyName: string;
|
|
29
|
-
facilityTypeIndicator: string;
|
|
30
|
-
cityName: string;
|
|
31
|
-
addressLine1: string;
|
|
32
|
-
postcode: string;
|
|
33
|
-
addressLongitude: string;
|
|
34
|
-
addressLatitude: string;
|
|
35
|
-
stateProvinceCode: string;
|
|
36
|
-
stateProvinceName: string;
|
|
37
|
-
regionCode: string;
|
|
38
|
-
regionName: string;
|
|
39
|
-
facilityWeightUnitOfMeasure: string;
|
|
40
|
-
facilityDimensionUnitOfMeasure: string;
|
|
41
|
-
facilityPrintIndicator: string;
|
|
42
|
-
effectiveDate: string;
|
|
43
|
-
}
|
|
44
|
-
export interface PostalLocation {
|
|
45
|
-
city: string | null;
|
|
46
|
-
postalCode: string | null;
|
|
47
|
-
suburb: string | null;
|
|
48
|
-
stateCode: string | null;
|
|
49
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Facility, PostalLocation, ServiceArea } from './api-services.interfaces';
|
|
2
|
-
export type ServiceAreaIn = {
|
|
3
|
-
countryCodes: string[];
|
|
4
|
-
};
|
|
5
|
-
export type ServiceAreasOut = {
|
|
6
|
-
serviceAreas: ServiceArea[];
|
|
7
|
-
total: number;
|
|
8
|
-
};
|
|
9
|
-
export type ValidateFacilityOut = {
|
|
10
|
-
facility: Facility;
|
|
11
|
-
transactionId: string;
|
|
12
|
-
};
|
|
13
|
-
export type ValidateFacilityIn = {
|
|
14
|
-
facilityIdentifier: string;
|
|
15
|
-
};
|
|
16
|
-
export type EmailErrorIn = {
|
|
17
|
-
transactionId: string;
|
|
18
|
-
details: string;
|
|
19
|
-
extraFields: {
|
|
20
|
-
[key: string]: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export type PromotionIn = {
|
|
24
|
-
code: string;
|
|
25
|
-
destinationCountryCode: string;
|
|
26
|
-
shipmentDatetime: string;
|
|
27
|
-
shipper: {
|
|
28
|
-
countryCode: string;
|
|
29
|
-
accountNumber: string;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export type PromotionOut = {
|
|
33
|
-
promotion: {
|
|
34
|
-
accountNumber: string;
|
|
35
|
-
};
|
|
36
|
-
transactionId: string;
|
|
37
|
-
};
|
|
38
|
-
export type ValidateNIPOut = {
|
|
39
|
-
nip: {
|
|
40
|
-
valid: string;
|
|
41
|
-
message: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
export type ValidateNIPIn = {
|
|
45
|
-
accountValue: string;
|
|
46
|
-
nip: string;
|
|
47
|
-
user: number;
|
|
48
|
-
};
|
|
49
|
-
export type ValidateIdentificationBROut = {
|
|
50
|
-
identification: {
|
|
51
|
-
valid: boolean;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
export type ValidateIdentificationBRIn = {
|
|
55
|
-
identification_number: string;
|
|
56
|
-
validate_state_tax: boolean;
|
|
57
|
-
};
|
|
58
|
-
export type PostalLocationsOut = {
|
|
59
|
-
postalLocations: PostalLocation[];
|
|
60
|
-
};
|
|
61
|
-
export type GetPostalLocationsIn = {
|
|
62
|
-
limit?: number;
|
|
63
|
-
countryId: number;
|
|
64
|
-
city?: string;
|
|
65
|
-
postalCode?: string;
|
|
66
|
-
suburb?: string;
|
|
67
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ActiveLessSymfonyModel, SymfonyModel } from './api.models';
|
|
2
|
-
export interface ShipmentEmployeeCustomers extends ActiveLessSymfonyModel {
|
|
3
|
-
trackingNumber: string;
|
|
4
|
-
employeeCustomerId: number;
|
|
5
|
-
shipment: {
|
|
6
|
-
id: number;
|
|
7
|
-
} | null;
|
|
8
|
-
}
|
|
9
|
-
export interface ExportType extends SymfonyModel {
|
|
10
|
-
code: string;
|
|
11
|
-
name: string;
|
|
12
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { ExportType, ShipmentEmployeeCustomers } from './api-shipments.interfaces';
|
|
2
|
-
import { Document } from './api-invoices.interfaces';
|
|
3
|
-
export type ValidateAccountIn = {
|
|
4
|
-
accountValue: string;
|
|
5
|
-
};
|
|
6
|
-
export type AccountResponse = {
|
|
7
|
-
status: true;
|
|
8
|
-
message: string;
|
|
9
|
-
name: string;
|
|
10
|
-
accountStatus: string;
|
|
11
|
-
creditStatus: string;
|
|
12
|
-
activityStatus: string;
|
|
13
|
-
country: string;
|
|
14
|
-
countryName: string;
|
|
15
|
-
isCreditStop: boolean;
|
|
16
|
-
isImportEnabled: boolean;
|
|
17
|
-
accountType: string;
|
|
18
|
-
isCash: boolean;
|
|
19
|
-
contactInfo: string | null;
|
|
20
|
-
registrationInfo: string | null;
|
|
21
|
-
users: {
|
|
22
|
-
id: string;
|
|
23
|
-
name: string;
|
|
24
|
-
valid: boolean;
|
|
25
|
-
}[];
|
|
26
|
-
} | {
|
|
27
|
-
status: false;
|
|
28
|
-
message: string;
|
|
29
|
-
users: [];
|
|
30
|
-
};
|
|
31
|
-
export type ValidateAccountOut = {
|
|
32
|
-
account: AccountResponse;
|
|
33
|
-
transactionId: string;
|
|
34
|
-
};
|
|
35
|
-
export type ManifestMultipleIn = {
|
|
36
|
-
shipmentIds: number[];
|
|
37
|
-
customer: {
|
|
38
|
-
companyName: string;
|
|
39
|
-
fullName: string;
|
|
40
|
-
email: string;
|
|
41
|
-
phoneCode: string;
|
|
42
|
-
phoneNumber: string;
|
|
43
|
-
addressLine1: string;
|
|
44
|
-
addressLine2?: string;
|
|
45
|
-
addressLine3?: string;
|
|
46
|
-
identificationNumber?: string;
|
|
47
|
-
identificationTypeId?: number;
|
|
48
|
-
countryCode: string;
|
|
49
|
-
stateCode?: string;
|
|
50
|
-
postalCode?: string;
|
|
51
|
-
cityName?: string;
|
|
52
|
-
countyName?: string;
|
|
53
|
-
};
|
|
54
|
-
paymentDetails: {
|
|
55
|
-
totalAmount: number;
|
|
56
|
-
payments: {
|
|
57
|
-
amount: number;
|
|
58
|
-
received: number;
|
|
59
|
-
countryReferenceCurrencyId: number;
|
|
60
|
-
exchange: number;
|
|
61
|
-
countryPaymentTypeId: number;
|
|
62
|
-
dueDate: string;
|
|
63
|
-
details: Record<string, string>;
|
|
64
|
-
}[];
|
|
65
|
-
};
|
|
66
|
-
priceOverrideApproverId: number | null;
|
|
67
|
-
priceOverrideReasonId: number | null;
|
|
68
|
-
isPendingInvoice?: boolean;
|
|
69
|
-
};
|
|
70
|
-
export type ManifestMultipleOut = {
|
|
71
|
-
shipmentManifests: {
|
|
72
|
-
documentId: number;
|
|
73
|
-
};
|
|
74
|
-
transactionId: string;
|
|
75
|
-
};
|
|
76
|
-
export type ShipmentEmployeeCustomer = {
|
|
77
|
-
currentYear: number;
|
|
78
|
-
currentMonth: number;
|
|
79
|
-
message: string | null;
|
|
80
|
-
shipmentEmployeeCustomers: ShipmentEmployeeCustomers[];
|
|
81
|
-
};
|
|
82
|
-
export type ShipmentCancellationIn = {
|
|
83
|
-
shipmentId: number;
|
|
84
|
-
reasonId: number;
|
|
85
|
-
};
|
|
86
|
-
export type ShipmentCancellationOut = {
|
|
87
|
-
emailList: string[];
|
|
88
|
-
creditNoteDocument: Document | null;
|
|
89
|
-
};
|
|
90
|
-
export type ExportTypesOut = {
|
|
91
|
-
exportTypes: ExportType[];
|
|
92
|
-
total: number;
|
|
93
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ActiveLessSymfonyModel, SymfonyModel } from './api.models';
|
|
2
|
-
export interface Supply extends ActiveLessSymfonyModel {
|
|
3
|
-
name: string;
|
|
4
|
-
description: string;
|
|
5
|
-
countryId: number;
|
|
6
|
-
enabledForDropoff: boolean;
|
|
7
|
-
supplyType: SupplyType;
|
|
8
|
-
supplyPacking: SupplyPacking | null;
|
|
9
|
-
}
|
|
10
|
-
export interface SupplyType extends SymfonyModel {
|
|
11
|
-
name: string;
|
|
12
|
-
}
|
|
13
|
-
export interface SupplyPacking extends SymfonyModel {
|
|
14
|
-
value: number;
|
|
15
|
-
weight: number;
|
|
16
|
-
height: number;
|
|
17
|
-
depth: number;
|
|
18
|
-
width: number;
|
|
19
|
-
emobileCode: string | null;
|
|
20
|
-
}
|
|
21
|
-
export interface SupplyLocation extends SymfonyModel {
|
|
22
|
-
supply: Supply;
|
|
23
|
-
locationId: number;
|
|
24
|
-
stock: number;
|
|
25
|
-
lastInventoryDate: string;
|
|
26
|
-
lastInventoryDifference: number;
|
|
27
|
-
locationName: string;
|
|
28
|
-
}
|
|
29
|
-
export interface SupplyTransactionType extends ActiveLessSymfonyModel {
|
|
30
|
-
code: string;
|
|
31
|
-
description: string;
|
|
32
|
-
sign: number;
|
|
33
|
-
}
|
|
34
|
-
export interface SupplyLocationTransaction extends ActiveLessSymfonyModel {
|
|
35
|
-
supplyLocation: SupplyLocation;
|
|
36
|
-
supplyTransactionType: SupplyTransactionType;
|
|
37
|
-
userId: number;
|
|
38
|
-
quantity: number;
|
|
39
|
-
stock: number;
|
|
40
|
-
}
|