@experteam-mx/ngx-services 20.0.1 → 20.0.2

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.
Files changed (169) hide show
  1. package/fesm2022/experteam-mx-ngx-services.mjs +84 -1
  2. package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
  3. package/index.d.ts +101 -5
  4. package/package.json +1 -1
  5. package/esm2022/experteam-mx-ngx-services.mjs +0 -5
  6. package/esm2022/lib/apis/api-billing-do.service.mjs +0 -41
  7. package/esm2022/lib/apis/api-billing-gt.service.mjs +0 -61
  8. package/esm2022/lib/apis/api-billing-mx.service.mjs +0 -62
  9. package/esm2022/lib/apis/api-billing-pa.service.mjs +0 -105
  10. package/esm2022/lib/apis/api-billing-sv.service.mjs +0 -83
  11. package/esm2022/lib/apis/api-cash-operations.service.mjs +0 -93
  12. package/esm2022/lib/apis/api-catalogs.service.mjs +0 -626
  13. package/esm2022/lib/apis/api-companies.service.mjs +0 -1031
  14. package/esm2022/lib/apis/api-composition.service.mjs +0 -55
  15. package/esm2022/lib/apis/api-customs.service.mjs +0 -157
  16. package/esm2022/lib/apis/api-discounts.service.mjs +0 -243
  17. package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +0 -75
  18. package/esm2022/lib/apis/api-events.service.mjs +0 -53
  19. package/esm2022/lib/apis/api-external-pickups.service.mjs +0 -74
  20. package/esm2022/lib/apis/api-inventories.service.mjs +0 -208
  21. package/esm2022/lib/apis/api-invoices.service.mjs +0 -398
  22. package/esm2022/lib/apis/api-notifications.service.mjs +0 -104
  23. package/esm2022/lib/apis/api-open-items.service.mjs +0 -62
  24. package/esm2022/lib/apis/api-reports.service.mjs +0 -172
  25. package/esm2022/lib/apis/api-security.service.mjs +0 -245
  26. package/esm2022/lib/apis/api-services.service.mjs +0 -93
  27. package/esm2022/lib/apis/api-shipments.service.mjs +0 -116
  28. package/esm2022/lib/apis/api-supplies.service.mjs +0 -133
  29. package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +0 -2
  30. package/esm2022/lib/apis/models/api-billing-do.types.mjs +0 -2
  31. package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +0 -2
  32. package/esm2022/lib/apis/models/api-billing-mx.types.mjs +0 -2
  33. package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +0 -2
  34. package/esm2022/lib/apis/models/api-billing-pa.types.mjs +0 -2
  35. package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +0 -2
  36. package/esm2022/lib/apis/models/api-billing-sv.types.mjs +0 -2
  37. package/esm2022/lib/apis/models/api-billing.models.mjs +0 -2
  38. package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +0 -2
  39. package/esm2022/lib/apis/models/api-cash-operations.types.mjs +0 -2
  40. package/esm2022/lib/apis/models/api-catalog.enum.mjs +0 -9
  41. package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +0 -2
  42. package/esm2022/lib/apis/models/api-catalog.types.mjs +0 -2
  43. package/esm2022/lib/apis/models/api-companies.interfaces.mjs +0 -2
  44. package/esm2022/lib/apis/models/api-companies.types.mjs +0 -2
  45. package/esm2022/lib/apis/models/api-composition.interfaces.mjs +0 -2
  46. package/esm2022/lib/apis/models/api-composition.types.mjs +0 -2
  47. package/esm2022/lib/apis/models/api-customs.interfaces.mjs +0 -2
  48. package/esm2022/lib/apis/models/api-customs.types.mjs +0 -2
  49. package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +0 -2
  50. package/esm2022/lib/apis/models/api-discounts.types.mjs +0 -2
  51. package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +0 -2
  52. package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +0 -2
  53. package/esm2022/lib/apis/models/api-events.enum.mjs +0 -7
  54. package/esm2022/lib/apis/models/api-events.interfaces.mjs +0 -2
  55. package/esm2022/lib/apis/models/api-events.types.mjs +0 -2
  56. package/esm2022/lib/apis/models/api-external-pickups.types.mjs +0 -2
  57. package/esm2022/lib/apis/models/api-inventories.enum.mjs +0 -22
  58. package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +0 -2
  59. package/esm2022/lib/apis/models/api-inventories.types.mjs +0 -2
  60. package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +0 -2
  61. package/esm2022/lib/apis/models/api-invoices.types.mjs +0 -2
  62. package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +0 -2
  63. package/esm2022/lib/apis/models/api-notifications.types.mjs +0 -2
  64. package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +0 -2
  65. package/esm2022/lib/apis/models/api-open-items.types.mjs +0 -2
  66. package/esm2022/lib/apis/models/api-reports.interfaces.mjs +0 -2
  67. package/esm2022/lib/apis/models/api-reports.types.mjs +0 -2
  68. package/esm2022/lib/apis/models/api-security.interfaces.mjs +0 -2
  69. package/esm2022/lib/apis/models/api-security.types.mjs +0 -2
  70. package/esm2022/lib/apis/models/api-services.interfaces.mjs +0 -2
  71. package/esm2022/lib/apis/models/api-services.types.mjs +0 -2
  72. package/esm2022/lib/apis/models/api-shipments.enums.mjs +0 -8
  73. package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +0 -2
  74. package/esm2022/lib/apis/models/api-shipments.types.mjs +0 -2
  75. package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +0 -2
  76. package/esm2022/lib/apis/models/api-supplies.types.mjs +0 -2
  77. package/esm2022/lib/apis/models/api.models.mjs +0 -2
  78. package/esm2022/lib/cypher/crypto.service.mjs +0 -93
  79. package/esm2022/lib/helpers/files.mjs +0 -9
  80. package/esm2022/lib/helpers/http.mjs +0 -66
  81. package/esm2022/lib/interceptors/api-headers.interceptor.mjs +0 -24
  82. package/esm2022/lib/interceptors/api-token.interceptor.mjs +0 -28
  83. package/esm2022/lib/interceptors/http-caching.interceptor.mjs +0 -37
  84. package/esm2022/lib/ngx-services.models.mjs +0 -11
  85. package/esm2022/lib/ngx-services.module.mjs +0 -33
  86. package/esm2022/lib/websockets/web-sockets.service.mjs +0 -115
  87. package/esm2022/public-api.mjs +0 -90
  88. package/lib/apis/api-billing-do.service.d.ts +0 -24
  89. package/lib/apis/api-billing-gt.service.d.ts +0 -38
  90. package/lib/apis/api-billing-mx.service.d.ts +0 -39
  91. package/lib/apis/api-billing-pa.service.d.ts +0 -68
  92. package/lib/apis/api-billing-sv.service.d.ts +0 -55
  93. package/lib/apis/api-cash-operations.service.d.ts +0 -62
  94. package/lib/apis/api-catalogs.service.d.ts +0 -458
  95. package/lib/apis/api-companies.service.d.ts +0 -714
  96. package/lib/apis/api-composition.service.d.ts +0 -35
  97. package/lib/apis/api-customs.service.d.ts +0 -110
  98. package/lib/apis/api-discounts.service.d.ts +0 -167
  99. package/lib/apis/api-e-tools-auto-billing.service.d.ts +0 -49
  100. package/lib/apis/api-events.service.d.ts +0 -33
  101. package/lib/apis/api-external-pickups.service.d.ts +0 -46
  102. package/lib/apis/api-inventories.service.d.ts +0 -145
  103. package/lib/apis/api-invoices.service.d.ts +0 -280
  104. package/lib/apis/api-notifications.service.d.ts +0 -70
  105. package/lib/apis/api-open-items.service.d.ts +0 -41
  106. package/lib/apis/api-reports.service.d.ts +0 -120
  107. package/lib/apis/api-security.service.d.ts +0 -162
  108. package/lib/apis/api-services.service.d.ts +0 -61
  109. package/lib/apis/api-shipments.service.d.ts +0 -77
  110. package/lib/apis/api-supplies.service.d.ts +0 -93
  111. package/lib/apis/models/api-billing-do.interfaces.d.ts +0 -6
  112. package/lib/apis/models/api-billing-do.types.d.ts +0 -5
  113. package/lib/apis/models/api-billing-mx.interfaces.d.ts +0 -21
  114. package/lib/apis/models/api-billing-mx.types.d.ts +0 -13
  115. package/lib/apis/models/api-billing-pa.interfaces.d.ts +0 -26
  116. package/lib/apis/models/api-billing-pa.types.d.ts +0 -16
  117. package/lib/apis/models/api-billing-sv.interfaces.d.ts +0 -22
  118. package/lib/apis/models/api-billing-sv.types.d.ts +0 -21
  119. package/lib/apis/models/api-billing.models.d.ts +0 -27
  120. package/lib/apis/models/api-cash-operations.interfaces.d.ts +0 -40
  121. package/lib/apis/models/api-cash-operations.types.d.ts +0 -30
  122. package/lib/apis/models/api-catalog.enum.d.ts +0 -7
  123. package/lib/apis/models/api-catalog.interfaces.d.ts +0 -219
  124. package/lib/apis/models/api-catalog.types.d.ts +0 -217
  125. package/lib/apis/models/api-companies.interfaces.d.ts +0 -341
  126. package/lib/apis/models/api-companies.types.d.ts +0 -457
  127. package/lib/apis/models/api-composition.interfaces.d.ts +0 -272
  128. package/lib/apis/models/api-composition.types.d.ts +0 -9
  129. package/lib/apis/models/api-customs.interfaces.d.ts +0 -125
  130. package/lib/apis/models/api-customs.types.d.ts +0 -90
  131. package/lib/apis/models/api-discounts.interfaces.d.ts +0 -78
  132. package/lib/apis/models/api-discounts.types.d.ts +0 -89
  133. package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +0 -45
  134. package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +0 -30
  135. package/lib/apis/models/api-events.enum.d.ts +0 -5
  136. package/lib/apis/models/api-events.interfaces.d.ts +0 -21
  137. package/lib/apis/models/api-events.types.d.ts +0 -14
  138. package/lib/apis/models/api-external-pickups.types.d.ts +0 -31
  139. package/lib/apis/models/api-inventories.enum.d.ts +0 -18
  140. package/lib/apis/models/api-inventories.interfaces.d.ts +0 -40
  141. package/lib/apis/models/api-inventories.types.d.ts +0 -62
  142. package/lib/apis/models/api-invoices.interfaces.d.ts +0 -267
  143. package/lib/apis/models/api-invoices.types.d.ts +0 -195
  144. package/lib/apis/models/api-notifications.interfaces.d.ts +0 -36
  145. package/lib/apis/models/api-notifications.types.d.ts +0 -34
  146. package/lib/apis/models/api-open-items.interfaces.d.ts +0 -32
  147. package/lib/apis/models/api-open-items.types.d.ts +0 -58
  148. package/lib/apis/models/api-reports.interfaces.d.ts +0 -342
  149. package/lib/apis/models/api-reports.types.d.ts +0 -59
  150. package/lib/apis/models/api-security.interfaces.d.ts +0 -68
  151. package/lib/apis/models/api-security.types.d.ts +0 -72
  152. package/lib/apis/models/api-services.interfaces.d.ts +0 -43
  153. package/lib/apis/models/api-services.types.d.ts +0 -57
  154. package/lib/apis/models/api-shipments.enums.d.ts +0 -6
  155. package/lib/apis/models/api-shipments.interfaces.d.ts +0 -41
  156. package/lib/apis/models/api-shipments.types.d.ts +0 -121
  157. package/lib/apis/models/api-supplies.interfaces.d.ts +0 -40
  158. package/lib/apis/models/api-supplies.types.d.ts +0 -50
  159. package/lib/apis/models/api.models.d.ts +0 -36
  160. package/lib/cypher/crypto.service.d.ts +0 -15
  161. package/lib/helpers/files.d.ts +0 -2
  162. package/lib/helpers/http.d.ts +0 -38
  163. package/lib/interceptors/api-headers.interceptor.d.ts +0 -12
  164. package/lib/interceptors/api-token.interceptor.d.ts +0 -11
  165. package/lib/interceptors/http-caching.interceptor.d.ts +0 -12
  166. package/lib/ngx-services.models.d.ts +0 -62
  167. package/lib/ngx-services.module.d.ts +0 -16
  168. package/lib/websockets/web-sockets.service.d.ts +0 -49
  169. package/public-api.d.ts +0 -80
@@ -1,267 +0,0 @@
1
- import { ActiveLessLaravelModel, LaravelModel, Translations } from './api.models';
2
- import { Currency, IdentificationType } from './api-catalog.interfaces';
3
- export interface Document extends LaravelModel {
4
- document_type_range_id: number;
5
- document_number: number;
6
- document_prefix: string;
7
- document_suffix: string;
8
- document_number_original: number;
9
- document_prefix_original: string;
10
- document_suffix_original: string;
11
- customer_id: number;
12
- customer_company_name: string;
13
- customer_email: string;
14
- customer_address_line1: string;
15
- customer_identification_number: string;
16
- customer_identification_type_id: number;
17
- provider_name: string;
18
- provider_identification_number: number;
19
- document_authorization_number: string;
20
- provider_extra_fields: {
21
- phone: string;
22
- fax: string;
23
- };
24
- document_id: number;
25
- transaction_id: string;
26
- extra_fields: {
27
- observation: string;
28
- document_date: string;
29
- };
30
- customer_address_line2: string;
31
- customer_address_line3: string;
32
- customer_postal_code: string;
33
- customer_state: string;
34
- customer_county_name: string;
35
- customer_city_name: string;
36
- customer_country_id: number;
37
- status: number;
38
- user_id: number;
39
- customer_full_name: string;
40
- customer_phone_code: string;
41
- customer_phone_number: string;
42
- gmt_offset: string;
43
- customer_type_id: number;
44
- customer_extra_fields: string;
45
- installation_id: number;
46
- exchange: number;
47
- authorization_numbers: string;
48
- extra_fields_json: string;
49
- provider_extra_fields_json: string;
50
- document_type_range: DocumentTypeRange;
51
- items: DocumentItem[];
52
- document_payments: DocumentPayment[];
53
- payments: Payment[];
54
- document: Document | null;
55
- }
56
- export interface DocumentTypeRange extends LaravelModel {
57
- id: number;
58
- provider_id: number;
59
- model_type: string;
60
- model_id: number;
61
- init_number: number;
62
- final_number: number;
63
- current_number: number;
64
- used_numbers: number;
65
- min_until_mail: number;
66
- prefix: string;
67
- sap_prefix: string;
68
- suffix: string;
69
- sap_suffix: string;
70
- external_generated: boolean;
71
- authorization_number: string;
72
- environment: string;
73
- is_manual: boolean;
74
- auto_activation: boolean;
75
- activation_key: string;
76
- authorization_label: string;
77
- valid_since: string;
78
- valid_until: string;
79
- created_at: string;
80
- updated_at: string;
81
- is_active: boolean;
82
- country_document_type_id: number;
83
- }
84
- export interface DocumentItem extends LaravelModel {
85
- id: number;
86
- document_id: number;
87
- details: {
88
- code: string;
89
- description: string;
90
- relation: string;
91
- } | {
92
- code: string;
93
- description: string;
94
- header: {
95
- awbNumber: string;
96
- accountNumber: string;
97
- pieces: string[];
98
- total: number;
99
- };
100
- ticket_data: Record<string, string | null>;
101
- } | {
102
- account: number;
103
- country_reference_currency_id: number;
104
- customer_company_name: string;
105
- };
106
- model_origin: string;
107
- model_type: string;
108
- model_id: number;
109
- quantity: number;
110
- unit_price: number;
111
- subtotal: number;
112
- tax_detail: {};
113
- total: number;
114
- created_at: string;
115
- updated_at: string;
116
- discount: 0;
117
- details_json: string;
118
- }
119
- export interface DocumentPayment extends LaravelModel {
120
- document_id: number;
121
- payment_id: number;
122
- amount: number;
123
- payment: Payment;
124
- }
125
- export interface Payment extends LaravelModel {
126
- amount: number;
127
- country_reference_currency_id: number;
128
- exchange: number;
129
- company_country_payment_type_id: number;
130
- due_date: string;
131
- received: number;
132
- status: number;
133
- details: {};
134
- transaction_id: string;
135
- gmt_offset: string;
136
- country_payment_type_id: number;
137
- opening_id: number;
138
- installation_id: number;
139
- details_json: string;
140
- payment_adjustment: {};
141
- pivot: {
142
- document_id: number;
143
- payment_id: number;
144
- amount: number;
145
- };
146
- countryPaymentType: CountryPaymentType;
147
- }
148
- export interface Customer extends LaravelModel {
149
- identification_number: number;
150
- company_name: string;
151
- full_name: string;
152
- email: string;
153
- phone_code: string | null;
154
- phone_number: number | null;
155
- birth_date: string | null;
156
- postal_code: number | null;
157
- state: string | null;
158
- county_name: string | null;
159
- city_name: string | null;
160
- address_line1: string;
161
- address_line2: string | null;
162
- address_line3: string | null;
163
- company_id: number;
164
- identification_type_id: number;
165
- extra_fields: Record<string, string | number | boolean | null>;
166
- country_id: number;
167
- customer_type_id: number;
168
- }
169
- export interface CustomerType extends LaravelModel {
170
- country_id: number;
171
- identification_type_customer_types: IdentificationTypeCustomer[];
172
- name: string;
173
- }
174
- export interface IdentificationTypeCustomer extends LaravelModel {
175
- customer_type_id: number;
176
- identification_type_id: number;
177
- customer_id: number | null;
178
- identificationType: IdentificationType;
179
- }
180
- export interface CountryPaymentType extends LaravelModel {
181
- payment_type_id: number;
182
- country_id: number;
183
- name: string;
184
- billing_payment_code: string;
185
- can_tolerance: boolean;
186
- code: string;
187
- country_payment_type_fields: CountryPaymentTypeField[];
188
- payment_type: PaymentType;
189
- translations: Translations;
190
- }
191
- export interface CountryPaymentTypeField extends LaravelModel {
192
- country_payment_type_id: number;
193
- code: string;
194
- name: string;
195
- description: string | null;
196
- format: string;
197
- is_required: boolean;
198
- catalog: string[] | null;
199
- regex: string | null;
200
- is_interface: boolean;
201
- is_bank_reference: boolean;
202
- }
203
- export interface PaymentType extends LaravelModel {
204
- code: string;
205
- fields: {
206
- [key: string]: string;
207
- };
208
- name: string;
209
- }
210
- export interface PaymentTypeFieldCardType extends LaravelModel {
211
- country_payment_type_field_id: number;
212
- name: string;
213
- code: string;
214
- accountable_account: string;
215
- accountable_account_usd: string | null;
216
- }
217
- export interface PaymentTypeFieldAccount extends LaravelModel {
218
- country_payment_type_field_id: number;
219
- name: string;
220
- account: string;
221
- accountable_account: string;
222
- currency_id: number;
223
- currency: Currency;
224
- }
225
- export interface Tolerance extends LaravelModel {
226
- tolerance_type: number;
227
- min_amount: number;
228
- max_amount: number;
229
- tolerance: number;
230
- }
231
- export interface CustomerCountryDocumentType extends LaravelModel {
232
- identification_type_customer_type_id: number;
233
- country_document_type_id: number;
234
- country_document_type: CountryDocumentType;
235
- }
236
- export interface CountryDocumentType extends LaravelModel {
237
- document_type_id: number;
238
- document_category_id: number;
239
- country_id: number;
240
- associated_payment: boolean;
241
- name: string;
242
- document_type: DocumentType;
243
- document_category: DocumentCategory;
244
- }
245
- export interface DocumentType extends LaravelModel {
246
- name: string;
247
- code: string;
248
- movement_type: number;
249
- local_code: string;
250
- }
251
- export interface DocumentCategory extends LaravelModel {
252
- name: string;
253
- code: string;
254
- is_electronic: boolean;
255
- taxable: number;
256
- }
257
- export interface DocumentRequests extends ActiveLessLaravelModel {
258
- document_id: string;
259
- document_status_code: string;
260
- service: string;
261
- times: string[];
262
- observation: string;
263
- }
264
- export interface DocumentStatus extends LaravelModel {
265
- name: string;
266
- code: number;
267
- }
@@ -1,195 +0,0 @@
1
- import { CountryPaymentType, CountryPaymentTypeField, Customer, CustomerCountryDocumentType, CustomerType, Document, DocumentRequests, DocumentStatus, PaymentType, PaymentTypeFieldAccount, PaymentTypeFieldCardType, Tolerance } from './api-invoices.interfaces';
2
- export interface OperationAccountPaymentIn {
3
- document_type_range_id: number | null;
4
- document_number: string | null;
5
- observation: string | null;
6
- document_date: string | null;
7
- total_amount: number;
8
- country_reference_currency_id: number;
9
- customer: {
10
- company_name: string;
11
- full_name: string;
12
- account_number: string;
13
- country_id: number;
14
- };
15
- payments: AccountPayment[];
16
- }
17
- export type AccountPayment = {
18
- country_payment_type_id: number;
19
- country_reference_currency_id: number;
20
- amount: number;
21
- exchange: string;
22
- due_date: string;
23
- received: number;
24
- status?: boolean;
25
- details?: {};
26
- };
27
- export interface OperationAccountPaymentOut {
28
- document: Document;
29
- transaction_id: string;
30
- }
31
- export type PrintCollectionReceiptOut = {
32
- collection_receipt: string;
33
- };
34
- export type CancelPaymentReceiptIn = {
35
- document_id: number;
36
- is_canceled_invoice: boolean;
37
- cancellation_reason_id: number;
38
- };
39
- export type OperationCancelBillingIn = {
40
- invoiceId: number;
41
- cancellation_reason_id: number;
42
- cancel_payment: boolean;
43
- send_shipments: boolean;
44
- local_cancel?: boolean;
45
- };
46
- export type OperationCancelBillingOut = {
47
- creditNoteDocument: Document | null;
48
- };
49
- export type OperationDocumentIn = {
50
- country_document_type_id: number;
51
- document_id: number;
52
- customer: {
53
- customer_type_id: number;
54
- company_name: string;
55
- full_name: string;
56
- email: string;
57
- phone_code: string | null;
58
- phone_number: string | null;
59
- address_line1: string | null;
60
- address_line2: string | null;
61
- address_line3: string | null;
62
- identification_number: string;
63
- identification_type_id: number;
64
- postal_code: string | null;
65
- state: string | null;
66
- county_name: string | null;
67
- city_name: string | null;
68
- country_id: number;
69
- extra_fields: {
70
- [key: string]: string | number | boolean;
71
- } | null;
72
- };
73
- document_extra_fields: {
74
- [key: string]: string | number | boolean;
75
- } | null;
76
- };
77
- export type OperationDocumentOut = {
78
- document: Document;
79
- };
80
- export type InvoiceTypeCustomParamsIn = {
81
- identificationNumber: string;
82
- identificationTypeid: number;
83
- };
84
- export type OperationPrintDocumentOut = {
85
- document: string;
86
- };
87
- export type CustomerTypesOut = {
88
- customer_types: CustomerType[];
89
- total: number;
90
- };
91
- export type CustomersOut = {
92
- customers: Customer[];
93
- };
94
- export type OperationShipmentExternalOut = {
95
- document: Document;
96
- };
97
- export type OperationShipmentExternalIn = {};
98
- export type CustomerDocumentTypesOut = {
99
- customer_country_document_types: CustomerCountryDocumentType[];
100
- total: number;
101
- };
102
- export type CountryPaymentTypesOut = {
103
- country_payment_types: CountryPaymentType[];
104
- total: number;
105
- };
106
- export type CountryPaymentTypeOut = {
107
- country_payment_type: CountryPaymentType;
108
- };
109
- export type CountryPaymentTypeIn = {
110
- payment_type_id: number;
111
- country_id: number;
112
- name: string;
113
- billing_payment_code: string;
114
- can_tolerance: boolean;
115
- is_active: boolean;
116
- };
117
- export type CountryPaymentTypeFieldsOut = {
118
- country_payment_type_fields: CountryPaymentTypeField[];
119
- total: number;
120
- };
121
- export type CountryPaymentTypeFieldOut = {
122
- country_payment_type_field: CountryPaymentTypeField;
123
- };
124
- export type CountryPaymentTypeFieldIn = {
125
- country_payment_type_id: number;
126
- code: string;
127
- name: string;
128
- description: string | null;
129
- format: string;
130
- is_required: boolean;
131
- catalog: string[] | null;
132
- is_interface: boolean;
133
- };
134
- export type PaymentTypesOut = {
135
- payment_types: PaymentType[];
136
- total: number;
137
- };
138
- export type PaymentTypeFieldCardTypesOut = {
139
- country_payment_type_field_card_types: PaymentTypeFieldCardType[];
140
- total: number;
141
- };
142
- export type PaymentTypeFieldCardTypeIn = {
143
- country_payment_type_field_id: number;
144
- name: string;
145
- code: string;
146
- accountable_account: string;
147
- is_active: boolean;
148
- };
149
- export type PaymentTypeFieldCardTypeOut = {
150
- country_payment_type_field_card_type: PaymentTypeFieldCardType;
151
- };
152
- export type PaymentTypeFieldAccountsOut = {
153
- country_payment_type_field_accounts: PaymentTypeFieldAccount[];
154
- total: number;
155
- };
156
- export type PaymentTypeFieldAccountIn = {
157
- country_payment_type_field_id: number;
158
- name: string;
159
- account: string;
160
- accountable_account: string;
161
- currency_id: number;
162
- is_active: boolean;
163
- };
164
- export type PaymentTypeFieldAccountOut = {
165
- country_payment_type_field_account: PaymentTypeFieldAccount;
166
- };
167
- export type TolerancesOut = {
168
- tolerances: Tolerance[];
169
- total: number;
170
- };
171
- export type ToleranceIn = {
172
- company_country_id: number;
173
- tolerance_type: number;
174
- min_amount: number;
175
- max_amount: number;
176
- tolerance: number;
177
- is_active: boolean;
178
- };
179
- export type ToleranceOut = {
180
- tolerance: Tolerance;
181
- };
182
- export type OperationDocumentRequestsOut = {
183
- requests: DocumentRequests[];
184
- };
185
- export type GetDocumentsOut = {
186
- documents: Document[];
187
- total: number;
188
- };
189
- export type DocumentStatusesOut = {
190
- document_status: DocumentStatus[];
191
- total: number;
192
- };
193
- export type OperationPrintXmlOut = {
194
- xml: string;
195
- };
@@ -1,36 +0,0 @@
1
- import { SymfonyModel } from './api.models';
2
- export interface Notification extends SymfonyModel {
3
- name: string;
4
- notificationType: NotificationType;
5
- notificationStatus: NotificationStatus;
6
- userId: string;
7
- content: string;
8
- url: string;
9
- image: string;
10
- starDate: string;
11
- endDate: string;
12
- countryId: string;
13
- }
14
- export interface NotificationConfiguration extends SymfonyModel {
15
- notification: Notification;
16
- entity: Entity;
17
- }
18
- export interface NotificationType extends SymfonyModel {
19
- name: string;
20
- }
21
- export interface NotificationStatus extends SymfonyModel {
22
- name: string;
23
- }
24
- export interface Entity {
25
- id: number;
26
- level: string;
27
- modelId: string;
28
- modelType: string;
29
- extraFields: {
30
- countryId: number;
31
- companyCountryId: number;
32
- locationId: number;
33
- installationId: number;
34
- systemId: number;
35
- };
36
- }
@@ -1,34 +0,0 @@
1
- import { Notification, NotificationConfiguration, NotificationType } from './api-notifications.interfaces';
2
- export type NotificationsOut = {
3
- notifications: Notification[];
4
- total: number;
5
- };
6
- export type NotificationIn = {
7
- name: string;
8
- notificationTypeId: number;
9
- userId?: string;
10
- content: string;
11
- url: string;
12
- image: string;
13
- starDate: string;
14
- endDate: string;
15
- isActive: boolean;
16
- };
17
- export type NotificationOut = {
18
- notification: Notification;
19
- };
20
- export type NotificationConfigurationIn = {
21
- modelId: number[];
22
- modelType: string;
23
- notificationId: number;
24
- extraFields: {
25
- [key: string]: string;
26
- };
27
- };
28
- export type NotificationConfigurationOut = {
29
- notificationConfiguration: NotificationConfiguration;
30
- };
31
- export type NotificationsTypeOut = {
32
- notificationTypes: NotificationType[];
33
- total: number;
34
- };
@@ -1,32 +0,0 @@
1
- import { CustomerOpenItem, CustomerOtherInvoice, OpenItems, OtherInvoices, PaymentDetail } from './api-open-items.types';
2
- export interface OpenItem {
3
- id: number;
4
- invoice_number: string;
5
- shipment_tracking_number: string;
6
- invoice_issue_datetime: Date | string;
7
- invoice_expiration_datetime: Date | string;
8
- customer_identification_number: string;
9
- customer_company_name: string;
10
- account: string;
11
- country_reference_currency_id: number;
12
- pending_value: number;
13
- payed_value: number;
14
- is_cash: boolean;
15
- status: string;
16
- origin: string;
17
- user_id: string | null;
18
- }
19
- export interface OpenItemIn {
20
- payments: PaymentDetail[];
21
- customer: CustomerOpenItem | CustomerOtherInvoice;
22
- document_type_range_id: number;
23
- document_number: string;
24
- observation: string;
25
- document_date: Date;
26
- }
27
- export interface PaymentOpenItemIn extends OpenItemIn {
28
- open_items: OpenItems[];
29
- }
30
- export interface OtherInvoiceIn extends OpenItemIn {
31
- other_invoices: OtherInvoices[];
32
- }
@@ -1,58 +0,0 @@
1
- import { OpenItem } from './api-open-items.interfaces';
2
- import { Document } from './api-invoices.interfaces';
3
- export type CustomerOpenItem = {
4
- company_name: string;
5
- full_name: string;
6
- email: string;
7
- phone_code: string;
8
- phone_number: string;
9
- address_line1: string;
10
- address_line2: string;
11
- address_line3: string;
12
- identification_number: string;
13
- identification_type_id: number;
14
- postal_code: string;
15
- state: string;
16
- county_name: string;
17
- city_name: string;
18
- country_id: number;
19
- };
20
- export type CustomerOtherInvoice = {
21
- identification_number: string;
22
- company_name: string;
23
- full_name: string;
24
- account_number: string;
25
- country_id: number;
26
- };
27
- export type OpenItems = {
28
- id: string;
29
- payed_value: number;
30
- };
31
- export type OpenItemsOut = {
32
- open_items: OpenItem[];
33
- total: number;
34
- };
35
- export type OtherInvoices = {
36
- invoice_number: string;
37
- shipment_tracking_number: string;
38
- invoice_issue_datetime: string;
39
- pending_value: number;
40
- customer_identification_number: string;
41
- };
42
- export type PaymentDetail = {
43
- amount: number;
44
- received: number;
45
- country_reference_currency_id: number;
46
- exchange: string | number;
47
- country_payment_type_id: number;
48
- due_date: string;
49
- details: {
50
- [key: string]: string;
51
- };
52
- };
53
- export type PaymentOut = {
54
- document: Document;
55
- };
56
- export type OtherInvoiceOut = {
57
- document: Document;
58
- };