@experteam-mx/ngx-services 18.9.21 → 20.0.0-beta

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 (180) hide show
  1. package/README.md +80 -24
  2. package/fesm2022/experteam-mx-ngx-services.mjs +576 -433
  3. package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
  4. package/index.d.ts +7667 -3
  5. package/package.json +6 -8
  6. package/esm2022/experteam-mx-ngx-services.mjs +0 -5
  7. package/esm2022/lib/apis/api-billing-do.service.mjs +0 -41
  8. package/esm2022/lib/apis/api-billing-gt.service.mjs +0 -61
  9. package/esm2022/lib/apis/api-billing-mx.service.mjs +0 -62
  10. package/esm2022/lib/apis/api-billing-pa.service.mjs +0 -105
  11. package/esm2022/lib/apis/api-billing-sv.service.mjs +0 -83
  12. package/esm2022/lib/apis/api-cash-operations.service.mjs +0 -93
  13. package/esm2022/lib/apis/api-catalogs.service.mjs +0 -616
  14. package/esm2022/lib/apis/api-companies.service.mjs +0 -1031
  15. package/esm2022/lib/apis/api-composition.service.mjs +0 -55
  16. package/esm2022/lib/apis/api-customs.service.mjs +0 -157
  17. package/esm2022/lib/apis/api-discounts.service.mjs +0 -242
  18. package/esm2022/lib/apis/api-e-tools-auto-billing.service.mjs +0 -75
  19. package/esm2022/lib/apis/api-events.service.mjs +0 -53
  20. package/esm2022/lib/apis/api-external-ops.service.mjs +0 -87
  21. package/esm2022/lib/apis/api-inventories.service.mjs +0 -208
  22. package/esm2022/lib/apis/api-invoices.service.mjs +0 -453
  23. package/esm2022/lib/apis/api-notifications.service.mjs +0 -104
  24. package/esm2022/lib/apis/api-open-items.service.mjs +0 -62
  25. package/esm2022/lib/apis/api-quote.service.mjs +0 -87
  26. package/esm2022/lib/apis/api-reports.service.mjs +0 -172
  27. package/esm2022/lib/apis/api-security.service.mjs +0 -245
  28. package/esm2022/lib/apis/api-services.service.mjs +0 -103
  29. package/esm2022/lib/apis/api-shipments.service.mjs +0 -116
  30. package/esm2022/lib/apis/api-supplies.service.mjs +0 -133
  31. package/esm2022/lib/apis/models/api-billing-do.interfaces.mjs +0 -2
  32. package/esm2022/lib/apis/models/api-billing-do.types.mjs +0 -2
  33. package/esm2022/lib/apis/models/api-billing-mx.interfaces.mjs +0 -2
  34. package/esm2022/lib/apis/models/api-billing-mx.types.mjs +0 -2
  35. package/esm2022/lib/apis/models/api-billing-pa.interfaces.mjs +0 -2
  36. package/esm2022/lib/apis/models/api-billing-pa.types.mjs +0 -2
  37. package/esm2022/lib/apis/models/api-billing-sv.interfaces.mjs +0 -2
  38. package/esm2022/lib/apis/models/api-billing-sv.types.mjs +0 -2
  39. package/esm2022/lib/apis/models/api-billing.models.mjs +0 -2
  40. package/esm2022/lib/apis/models/api-cash-operations.interfaces.mjs +0 -2
  41. package/esm2022/lib/apis/models/api-cash-operations.types.mjs +0 -2
  42. package/esm2022/lib/apis/models/api-catalog.enum.mjs +0 -9
  43. package/esm2022/lib/apis/models/api-catalog.interfaces.mjs +0 -2
  44. package/esm2022/lib/apis/models/api-catalog.types.mjs +0 -2
  45. package/esm2022/lib/apis/models/api-companies.interfaces.mjs +0 -2
  46. package/esm2022/lib/apis/models/api-companies.types.mjs +0 -2
  47. package/esm2022/lib/apis/models/api-composition.interfaces.mjs +0 -2
  48. package/esm2022/lib/apis/models/api-composition.types.mjs +0 -2
  49. package/esm2022/lib/apis/models/api-customs.interfaces.mjs +0 -2
  50. package/esm2022/lib/apis/models/api-customs.types.mjs +0 -2
  51. package/esm2022/lib/apis/models/api-discounts.interfaces.mjs +0 -2
  52. package/esm2022/lib/apis/models/api-discounts.types.mjs +0 -2
  53. package/esm2022/lib/apis/models/api-e-tools-auto-billing.interfaces.mjs +0 -2
  54. package/esm2022/lib/apis/models/api-e-tools-auto-billing.types.mjs +0 -2
  55. package/esm2022/lib/apis/models/api-events.enum.mjs +0 -7
  56. package/esm2022/lib/apis/models/api-events.interfaces.mjs +0 -2
  57. package/esm2022/lib/apis/models/api-events.types.mjs +0 -2
  58. package/esm2022/lib/apis/models/api-external-ops.interfaces.mjs +0 -2
  59. package/esm2022/lib/apis/models/api-external-ops.types.mjs +0 -2
  60. package/esm2022/lib/apis/models/api-inventories.enum.mjs +0 -22
  61. package/esm2022/lib/apis/models/api-inventories.interfaces.mjs +0 -2
  62. package/esm2022/lib/apis/models/api-inventories.types.mjs +0 -2
  63. package/esm2022/lib/apis/models/api-invoices.interfaces.mjs +0 -2
  64. package/esm2022/lib/apis/models/api-invoices.types.mjs +0 -2
  65. package/esm2022/lib/apis/models/api-notifications.interfaces.mjs +0 -2
  66. package/esm2022/lib/apis/models/api-notifications.types.mjs +0 -2
  67. package/esm2022/lib/apis/models/api-open-items.interfaces.mjs +0 -2
  68. package/esm2022/lib/apis/models/api-open-items.types.mjs +0 -2
  69. package/esm2022/lib/apis/models/api-quote.interfaces.mjs +0 -2
  70. package/esm2022/lib/apis/models/api-quote.types.mjs +0 -2
  71. package/esm2022/lib/apis/models/api-reports.interfaces.mjs +0 -2
  72. package/esm2022/lib/apis/models/api-reports.types.mjs +0 -2
  73. package/esm2022/lib/apis/models/api-security.interfaces.mjs +0 -2
  74. package/esm2022/lib/apis/models/api-security.types.mjs +0 -2
  75. package/esm2022/lib/apis/models/api-services.interfaces.mjs +0 -2
  76. package/esm2022/lib/apis/models/api-services.types.mjs +0 -2
  77. package/esm2022/lib/apis/models/api-shipments.enums.mjs +0 -8
  78. package/esm2022/lib/apis/models/api-shipments.interfaces.mjs +0 -2
  79. package/esm2022/lib/apis/models/api-shipments.types.mjs +0 -2
  80. package/esm2022/lib/apis/models/api-supplies.interfaces.mjs +0 -2
  81. package/esm2022/lib/apis/models/api-supplies.types.mjs +0 -2
  82. package/esm2022/lib/apis/models/api.models.mjs +0 -2
  83. package/esm2022/lib/cypher/crypto.service.mjs +0 -93
  84. package/esm2022/lib/helpers/files.mjs +0 -9
  85. package/esm2022/lib/helpers/http.mjs +0 -66
  86. package/esm2022/lib/interceptors/api-headers.interceptor.mjs +0 -24
  87. package/esm2022/lib/interceptors/api-key.interceptor.mjs +0 -48
  88. package/esm2022/lib/interceptors/api-token.interceptor.mjs +0 -28
  89. package/esm2022/lib/interceptors/http-caching.interceptor.mjs +0 -37
  90. package/esm2022/lib/ngx-services.models.mjs +0 -11
  91. package/esm2022/lib/ngx-services.module.mjs +0 -33
  92. package/esm2022/lib/websockets/web-sockets.service.mjs +0 -115
  93. package/esm2022/public-api.mjs +0 -94
  94. package/lib/apis/api-billing-do.service.d.ts +0 -24
  95. package/lib/apis/api-billing-gt.service.d.ts +0 -38
  96. package/lib/apis/api-billing-mx.service.d.ts +0 -39
  97. package/lib/apis/api-billing-pa.service.d.ts +0 -68
  98. package/lib/apis/api-billing-sv.service.d.ts +0 -55
  99. package/lib/apis/api-cash-operations.service.d.ts +0 -62
  100. package/lib/apis/api-catalogs.service.d.ts +0 -451
  101. package/lib/apis/api-companies.service.d.ts +0 -714
  102. package/lib/apis/api-composition.service.d.ts +0 -35
  103. package/lib/apis/api-customs.service.d.ts +0 -110
  104. package/lib/apis/api-discounts.service.d.ts +0 -166
  105. package/lib/apis/api-e-tools-auto-billing.service.d.ts +0 -49
  106. package/lib/apis/api-events.service.d.ts +0 -33
  107. package/lib/apis/api-external-ops.service.d.ts +0 -54
  108. package/lib/apis/api-inventories.service.d.ts +0 -145
  109. package/lib/apis/api-invoices.service.d.ts +0 -317
  110. package/lib/apis/api-notifications.service.d.ts +0 -70
  111. package/lib/apis/api-open-items.service.d.ts +0 -41
  112. package/lib/apis/api-quote.service.d.ts +0 -65
  113. package/lib/apis/api-reports.service.d.ts +0 -120
  114. package/lib/apis/api-security.service.d.ts +0 -162
  115. package/lib/apis/api-services.service.d.ts +0 -67
  116. package/lib/apis/api-shipments.service.d.ts +0 -77
  117. package/lib/apis/api-supplies.service.d.ts +0 -93
  118. package/lib/apis/models/api-billing-do.interfaces.d.ts +0 -6
  119. package/lib/apis/models/api-billing-do.types.d.ts +0 -5
  120. package/lib/apis/models/api-billing-mx.interfaces.d.ts +0 -21
  121. package/lib/apis/models/api-billing-mx.types.d.ts +0 -13
  122. package/lib/apis/models/api-billing-pa.interfaces.d.ts +0 -26
  123. package/lib/apis/models/api-billing-pa.types.d.ts +0 -16
  124. package/lib/apis/models/api-billing-sv.interfaces.d.ts +0 -22
  125. package/lib/apis/models/api-billing-sv.types.d.ts +0 -21
  126. package/lib/apis/models/api-billing.models.d.ts +0 -27
  127. package/lib/apis/models/api-cash-operations.interfaces.d.ts +0 -40
  128. package/lib/apis/models/api-cash-operations.types.d.ts +0 -30
  129. package/lib/apis/models/api-catalog.enum.d.ts +0 -7
  130. package/lib/apis/models/api-catalog.interfaces.d.ts +0 -211
  131. package/lib/apis/models/api-catalog.types.d.ts +0 -213
  132. package/lib/apis/models/api-companies.interfaces.d.ts +0 -346
  133. package/lib/apis/models/api-companies.types.d.ts +0 -461
  134. package/lib/apis/models/api-composition.interfaces.d.ts +0 -272
  135. package/lib/apis/models/api-composition.types.d.ts +0 -9
  136. package/lib/apis/models/api-customs.interfaces.d.ts +0 -125
  137. package/lib/apis/models/api-customs.types.d.ts +0 -90
  138. package/lib/apis/models/api-discounts.interfaces.d.ts +0 -78
  139. package/lib/apis/models/api-discounts.types.d.ts +0 -89
  140. package/lib/apis/models/api-e-tools-auto-billing.interfaces.d.ts +0 -45
  141. package/lib/apis/models/api-e-tools-auto-billing.types.d.ts +0 -30
  142. package/lib/apis/models/api-events.enum.d.ts +0 -5
  143. package/lib/apis/models/api-events.interfaces.d.ts +0 -21
  144. package/lib/apis/models/api-events.types.d.ts +0 -14
  145. package/lib/apis/models/api-external-ops.interfaces.d.ts +0 -21
  146. package/lib/apis/models/api-external-ops.types.d.ts +0 -35
  147. package/lib/apis/models/api-inventories.enum.d.ts +0 -18
  148. package/lib/apis/models/api-inventories.interfaces.d.ts +0 -40
  149. package/lib/apis/models/api-inventories.types.d.ts +0 -62
  150. package/lib/apis/models/api-invoices.interfaces.d.ts +0 -277
  151. package/lib/apis/models/api-invoices.types.d.ts +0 -236
  152. package/lib/apis/models/api-notifications.interfaces.d.ts +0 -36
  153. package/lib/apis/models/api-notifications.types.d.ts +0 -34
  154. package/lib/apis/models/api-open-items.interfaces.d.ts +0 -32
  155. package/lib/apis/models/api-open-items.types.d.ts +0 -58
  156. package/lib/apis/models/api-quote.interfaces.d.ts +0 -13
  157. package/lib/apis/models/api-quote.types.d.ts +0 -17
  158. package/lib/apis/models/api-reports.interfaces.d.ts +0 -353
  159. package/lib/apis/models/api-reports.types.d.ts +0 -59
  160. package/lib/apis/models/api-security.interfaces.d.ts +0 -68
  161. package/lib/apis/models/api-security.types.d.ts +0 -72
  162. package/lib/apis/models/api-services.interfaces.d.ts +0 -49
  163. package/lib/apis/models/api-services.types.d.ts +0 -67
  164. package/lib/apis/models/api-shipments.enums.d.ts +0 -6
  165. package/lib/apis/models/api-shipments.interfaces.d.ts +0 -41
  166. package/lib/apis/models/api-shipments.types.d.ts +0 -121
  167. package/lib/apis/models/api-supplies.interfaces.d.ts +0 -40
  168. package/lib/apis/models/api-supplies.types.d.ts +0 -50
  169. package/lib/apis/models/api.models.d.ts +0 -36
  170. package/lib/cypher/crypto.service.d.ts +0 -15
  171. package/lib/helpers/files.d.ts +0 -2
  172. package/lib/helpers/http.d.ts +0 -38
  173. package/lib/interceptors/api-headers.interceptor.d.ts +0 -12
  174. package/lib/interceptors/api-key.interceptor.d.ts +0 -35
  175. package/lib/interceptors/api-token.interceptor.d.ts +0 -11
  176. package/lib/interceptors/http-caching.interceptor.d.ts +0 -12
  177. package/lib/ngx-services.models.d.ts +0 -63
  178. package/lib/ngx-services.module.d.ts +0 -16
  179. package/lib/websockets/web-sockets.service.d.ts +0 -49
  180. package/public-api.d.ts +0 -84
@@ -1,277 +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
- activation_key: string | null;
58
- authorization_label: string | null;
59
- authorization_number: string | null;
60
- auto_activation: boolean;
61
- country_document_type_id: number;
62
- current_number: number;
63
- days_until_expire_mail: number;
64
- environment: string;
65
- external_generated: boolean;
66
- final_number: number;
67
- init_number: number;
68
- is_manual: boolean;
69
- min_until_mail: number;
70
- model_id: number;
71
- model_type: string;
72
- prefix: string;
73
- provider_id: number;
74
- sap_prefix: string;
75
- sap_suffix: string | null;
76
- suffix: string | null;
77
- used_numbers: number;
78
- valid_since: string;
79
- valid_until: string;
80
- }
81
- export interface DocumentItem extends LaravelModel {
82
- id: number;
83
- document_id: number;
84
- details: {
85
- code: string;
86
- description: string;
87
- relation: string;
88
- } | {
89
- code: string;
90
- description: string;
91
- header: {
92
- awbNumber: string;
93
- accountNumber: string;
94
- pieces: string[];
95
- total: number;
96
- };
97
- ticket_data: Record<string, string | null>;
98
- } | {
99
- account: number;
100
- country_reference_currency_id: number;
101
- customer_company_name: string;
102
- };
103
- model_origin: string;
104
- model_type: string;
105
- model_id: number;
106
- quantity: number;
107
- unit_price: number;
108
- subtotal: number;
109
- tax_detail: {};
110
- total: number;
111
- created_at: string;
112
- updated_at: string;
113
- discount: 0;
114
- details_json: string;
115
- }
116
- export interface DocumentPayment extends LaravelModel {
117
- document_id: number;
118
- payment_id: number;
119
- amount: number;
120
- payment: Payment;
121
- }
122
- export interface Payment extends LaravelModel {
123
- amount: number;
124
- country_reference_currency_id: number;
125
- exchange: number;
126
- company_country_payment_type_id: number;
127
- due_date: string;
128
- received: number;
129
- status: number;
130
- details: {};
131
- transaction_id: string;
132
- gmt_offset: string;
133
- country_payment_type_id: number;
134
- opening_id: number;
135
- installation_id: number;
136
- details_json: string;
137
- payment_adjustment: {};
138
- pivot: {
139
- document_id: number;
140
- payment_id: number;
141
- amount: number;
142
- };
143
- countryPaymentType: CountryPaymentType;
144
- }
145
- export interface Customer extends LaravelModel {
146
- identification_number: number;
147
- company_name: string;
148
- full_name: string;
149
- email: string;
150
- phone_code: string | null;
151
- phone_number: number | null;
152
- birth_date: string | null;
153
- postal_code: number | null;
154
- state: string | null;
155
- county_name: string | null;
156
- city_name: string | null;
157
- address_line1: string;
158
- address_line2: string | null;
159
- address_line3: string | null;
160
- company_id: number;
161
- identification_type_id: number;
162
- extra_fields: Record<string, string | number | boolean | null>;
163
- country_id: number;
164
- customer_type_id: number;
165
- }
166
- export interface CustomerType extends LaravelModel {
167
- country_id: number;
168
- identification_type_customer_types: IdentificationTypeCustomer[];
169
- name: string;
170
- }
171
- export interface IdentificationTypeCustomer extends LaravelModel {
172
- customer_type_id: number;
173
- identification_type_id: number;
174
- customer_id: number | null;
175
- identificationType: IdentificationType;
176
- }
177
- export interface CountryPaymentType extends LaravelModel {
178
- payment_type_id: number;
179
- country_id: number;
180
- name: string;
181
- billing_payment_code: string;
182
- can_tolerance: boolean;
183
- code: string;
184
- country_payment_type_fields: CountryPaymentTypeField[];
185
- payment_type: PaymentType;
186
- translations: Translations;
187
- }
188
- export interface CountryPaymentTypeField extends LaravelModel {
189
- country_payment_type_id: number;
190
- code: string;
191
- name: string;
192
- description: string | null;
193
- format: string;
194
- is_required: boolean;
195
- catalog: string[] | null;
196
- regex: string | null;
197
- is_interface: boolean;
198
- is_bank_reference: boolean;
199
- }
200
- export interface PaymentType extends LaravelModel {
201
- code: string;
202
- fields: {
203
- [key: string]: string;
204
- };
205
- name: string;
206
- }
207
- export interface PaymentTypeFieldCardType extends LaravelModel {
208
- country_payment_type_field_id: number;
209
- name: string;
210
- code: string;
211
- accountable_account: string;
212
- accountable_account_usd: string | null;
213
- }
214
- export interface PaymentTypeFieldAccount extends LaravelModel {
215
- country_payment_type_field_id: number;
216
- name: string;
217
- account: string;
218
- accountable_account: string;
219
- currency_id: number;
220
- currency: Currency;
221
- }
222
- export interface Tolerance extends LaravelModel {
223
- tolerance_type: number;
224
- min_amount: number;
225
- max_amount: number;
226
- tolerance: number;
227
- }
228
- export interface CustomerCountryDocumentType extends LaravelModel {
229
- identification_type_customer_type_id: number;
230
- country_document_type_id: number;
231
- country_document_type: CountryDocumentType;
232
- }
233
- export interface CountryDocumentType extends LaravelModel {
234
- document_type_id: number;
235
- document_category_id: number;
236
- country_id: number;
237
- associated_payment: boolean;
238
- name: string;
239
- document_type: DocumentType;
240
- document_category: DocumentCategory;
241
- }
242
- export interface DocumentType extends LaravelModel {
243
- name: string;
244
- code: string;
245
- movement_type: number;
246
- local_code: string;
247
- }
248
- export interface DocumentCategory extends LaravelModel {
249
- name: string;
250
- code: string;
251
- is_electronic: boolean;
252
- taxable: number;
253
- }
254
- export interface DocumentRequests extends ActiveLessLaravelModel {
255
- document_id: string;
256
- document_status_code: string;
257
- service: string;
258
- times: string[];
259
- observation: string;
260
- }
261
- export interface DocumentStatus extends LaravelModel {
262
- name: string;
263
- code: number;
264
- }
265
- export interface Provider extends LaravelModel {
266
- model_type: string;
267
- model_id: number;
268
- busyness_name: string;
269
- identification_number: string;
270
- identification_type_id: number;
271
- address_line1: string;
272
- address_line2: string;
273
- address_line3: string;
274
- extra_fields: [];
275
- company_country_id: number;
276
- footer: string;
277
- }
@@ -1,236 +0,0 @@
1
- import { CountryDocumentType, CountryPaymentType, CountryPaymentTypeField, Customer, CustomerCountryDocumentType, CustomerType, Document, DocumentRequests, DocumentStatus, DocumentTypeRange, PaymentType, PaymentTypeFieldAccount, PaymentTypeFieldCardType, Provider, 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
- };
196
- export type DocumentTypeRangesOut = {
197
- document_type_ranges: DocumentTypeRange[];
198
- total: number;
199
- };
200
- export type DocumentTypeRangeIn = {
201
- activation_key?: string;
202
- authorization_label?: string;
203
- authorization_number?: string;
204
- auto_activation: boolean;
205
- country_document_type_id: number;
206
- current_number: number;
207
- days_until_expire_mail: number;
208
- environment?: string;
209
- external_generated?: boolean;
210
- final_number: number;
211
- init_number: number;
212
- is_active: boolean;
213
- is_manual?: boolean;
214
- min_until_mail: number;
215
- model_id: number;
216
- model_type: string;
217
- prefix: string;
218
- provider_id: number;
219
- sap_prefix: string;
220
- sap_suffix?: string;
221
- suffix?: string;
222
- used_numbers: number;
223
- valid_since: string;
224
- valid_until: string;
225
- };
226
- export type DocumentTypeRangeOut = {
227
- document_type_range: DocumentTypeRange;
228
- };
229
- export interface ProvidersOut {
230
- providers: Provider[];
231
- total: number;
232
- }
233
- export interface CountryDocumentTypesOut {
234
- country_document_types: CountryDocumentType[];
235
- total: number;
236
- }
@@ -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
- };
@@ -1,13 +0,0 @@
1
- import { ActiveLessSymfonyModel, SymfonyModel } from './api.models';
2
- export interface QuoteEvent extends ActiveLessSymfonyModel {
3
- date: string;
4
- quoteEventType: QuoteEventType;
5
- comment: string;
6
- userId: number;
7
- userUsername: string;
8
- userName: string;
9
- }
10
- export interface QuoteEventType extends SymfonyModel {
11
- code: string;
12
- name: string;
13
- }
@@ -1,17 +0,0 @@
1
- import { QuoteEvent, QuoteEventType } from './api-quote.interfaces';
2
- export type QuoteEventsOut = {
3
- total: number;
4
- quoteEvents: QuoteEvent[];
5
- };
6
- export type QuoteEventIn = {
7
- date: string;
8
- quoteEventTypeId: number;
9
- comment: string;
10
- };
11
- export interface QuoteEventOut {
12
- quoteEvent: QuoteEvent;
13
- }
14
- export interface QuoteEventTypesOut {
15
- total: number;
16
- quoteEventTypes: QuoteEventType[];
17
- }