@experteam-mx/ngx-services 20.8.6 → 20.9.0-dev1.0
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 +8 -2
- package/fesm2022/experteam-mx-ngx-services.mjs +289 -105
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/index.d.ts +207 -10
- package/package.json +3 -3
|
@@ -48,17 +48,97 @@ class NgxServicesModule {
|
|
|
48
48
|
providers: [provideNgxServices(environment)]
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
52
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.
|
|
53
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.
|
|
51
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NgxServicesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
52
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.27", ngImport: i0, type: NgxServicesModule });
|
|
53
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NgxServicesModule, providers: [provideHttpClient()] });
|
|
54
54
|
}
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: NgxServicesModule, decorators: [{
|
|
56
56
|
type: NgModule,
|
|
57
57
|
args: [{
|
|
58
58
|
providers: [provideHttpClient()]
|
|
59
59
|
}]
|
|
60
60
|
}] });
|
|
61
61
|
|
|
62
|
+
class ApiAuditsService {
|
|
63
|
+
environments = inject(ENVIRONMENT_TOKEN);
|
|
64
|
+
http = inject(HttpClient);
|
|
65
|
+
/**
|
|
66
|
+
* Retrieves the URL for the audits API from the environment configurations.
|
|
67
|
+
* If the URL is not defined, an empty string is returned.
|
|
68
|
+
*
|
|
69
|
+
* @return {string} The API Audits URL or an empty string if not defined.
|
|
70
|
+
*/
|
|
71
|
+
get url() {
|
|
72
|
+
return this.environments.apiAuditsUrl ?? '';
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Retrieves a list of database connections based on query parameters.
|
|
76
|
+
*
|
|
77
|
+
* @param {QueryParams} params - Query parameters for filtering and pagination.
|
|
78
|
+
* @returns {Observable<ConnectionsOut>} The list of connections.
|
|
79
|
+
*/
|
|
80
|
+
getConnections(params) {
|
|
81
|
+
return this.http.get(`${this.url}/connections`, { params })
|
|
82
|
+
.pipe(map(({ data }) => data));
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Retrieves transaction logs based on the provided query parameters.
|
|
86
|
+
*
|
|
87
|
+
* @param {QueryParams} params - Query parameters for filtering, pagination, and order.
|
|
88
|
+
* @returns {Observable<TransactionLogsOut>} The list of transaction logs and total count.
|
|
89
|
+
*/
|
|
90
|
+
getTransactionLogs(params) {
|
|
91
|
+
return this.http.get(`${this.url}/transaction-logs`, { params })
|
|
92
|
+
.pipe(map(({ data }) => data));
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Starts an asynchronous Excel generation for all transaction logs matching the filters.
|
|
96
|
+
* Pass filters without page limit/offset. Response includes a transaction_id for progress tracking.
|
|
97
|
+
*
|
|
98
|
+
* @param {QueryParams} params - Filter query parameters (no pagination).
|
|
99
|
+
* @returns {Observable<TransactionLogsDownloadOut>} Observable with the export transaction id.
|
|
100
|
+
*/
|
|
101
|
+
requestTransactionLogsExcel(params) {
|
|
102
|
+
return this.http.get(`${this.url}/transaction-logs`, {
|
|
103
|
+
params: {
|
|
104
|
+
...params,
|
|
105
|
+
download: true
|
|
106
|
+
}
|
|
107
|
+
})
|
|
108
|
+
.pipe(map(({ data }) => data));
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Downloads the generated Excel file for the given transaction id.
|
|
112
|
+
*
|
|
113
|
+
* @param {string} transactionId - Export transaction identifier.
|
|
114
|
+
* @returns {Observable<HttpResponse<ArrayBuffer>>} HTTP response with the Excel binary.
|
|
115
|
+
*/
|
|
116
|
+
getDownload(transactionId) {
|
|
117
|
+
return this.http.get(`${this.url}/files/download/${transactionId}`, {
|
|
118
|
+
observe: 'response',
|
|
119
|
+
responseType: 'arraybuffer'
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* Cancels a pending Excel generation for the given transaction id.
|
|
124
|
+
*
|
|
125
|
+
* @param {string} transactionId - Export transaction identifier.
|
|
126
|
+
* @returns {Observable<{}>} Observable that completes when cancellation is processed.
|
|
127
|
+
*/
|
|
128
|
+
deleteFileCheck(transactionId) {
|
|
129
|
+
return this.http.delete(`${this.url}/files/${transactionId}`)
|
|
130
|
+
.pipe(map(({ data }) => data));
|
|
131
|
+
}
|
|
132
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiAuditsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
133
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiAuditsService, providedIn: 'root' });
|
|
134
|
+
}
|
|
135
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiAuditsService, decorators: [{
|
|
136
|
+
type: Injectable,
|
|
137
|
+
args: [{
|
|
138
|
+
providedIn: 'root'
|
|
139
|
+
}]
|
|
140
|
+
}] });
|
|
141
|
+
|
|
62
142
|
class ApiBillingCOService {
|
|
63
143
|
environments = inject(ENVIRONMENT_TOKEN);
|
|
64
144
|
http = inject(HttpClient);
|
|
@@ -159,10 +239,10 @@ class ApiBillingCOService {
|
|
|
159
239
|
return this.http.get(`${this.url}/tributes`, { params })
|
|
160
240
|
.pipe(map(({ data }) => data));
|
|
161
241
|
}
|
|
162
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
163
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingCOService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
243
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingCOService, providedIn: 'root' });
|
|
164
244
|
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingCOService, decorators: [{
|
|
166
246
|
type: Injectable,
|
|
167
247
|
args: [{
|
|
168
248
|
providedIn: 'root'
|
|
@@ -189,10 +269,10 @@ class ApiBillingDOService {
|
|
|
189
269
|
return this.http.get(`${this.url}/income-types`)
|
|
190
270
|
.pipe(map(({ data }) => data));
|
|
191
271
|
}
|
|
192
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
193
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
272
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingDOService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
273
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingDOService, providedIn: 'root' });
|
|
194
274
|
}
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingDOService, decorators: [{
|
|
196
276
|
type: Injectable,
|
|
197
277
|
args: [{
|
|
198
278
|
providedIn: 'root'
|
|
@@ -239,10 +319,10 @@ class ApiBillingGtService {
|
|
|
239
319
|
return this.http.post(`${this.url}/locations`, body)
|
|
240
320
|
.pipe(map(({ data }) => data));
|
|
241
321
|
}
|
|
242
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
243
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
322
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingGtService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
323
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingGtService, providedIn: 'root' });
|
|
244
324
|
}
|
|
245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
325
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingGtService, decorators: [{
|
|
246
326
|
type: Injectable,
|
|
247
327
|
args: [{
|
|
248
328
|
providedIn: 'root'
|
|
@@ -290,10 +370,10 @@ class ApiBillingMxService {
|
|
|
290
370
|
return this.http.get(`${this.url}/postal-codes`, { params })
|
|
291
371
|
.pipe(map(({ data }) => data));
|
|
292
372
|
}
|
|
293
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
294
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
373
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingMxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
374
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingMxService, providedIn: 'root' });
|
|
295
375
|
}
|
|
296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingMxService, decorators: [{
|
|
297
377
|
type: Injectable,
|
|
298
378
|
args: [{
|
|
299
379
|
providedIn: 'root'
|
|
@@ -384,10 +464,10 @@ class ApiBillingPaService {
|
|
|
384
464
|
return this.http.post(`${this.url}/locations`, body)
|
|
385
465
|
.pipe(map(({ data }) => data));
|
|
386
466
|
}
|
|
387
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
388
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
467
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingPaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
468
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingPaService, providedIn: 'root' });
|
|
389
469
|
}
|
|
390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
470
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingPaService, decorators: [{
|
|
391
471
|
type: Injectable,
|
|
392
472
|
args: [{
|
|
393
473
|
providedIn: 'root'
|
|
@@ -456,10 +536,10 @@ class ApiBillingSvService {
|
|
|
456
536
|
return this.http.get(`${this.url}/municipalities`, { params })
|
|
457
537
|
.pipe(map(({ data }) => data));
|
|
458
538
|
}
|
|
459
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
460
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
539
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingSvService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
540
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingSvService, providedIn: 'root' });
|
|
461
541
|
}
|
|
462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
542
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiBillingSvService, decorators: [{
|
|
463
543
|
type: Injectable,
|
|
464
544
|
args: [{
|
|
465
545
|
providedIn: 'root'
|
|
@@ -647,10 +727,10 @@ class ApiCashOperationsService {
|
|
|
647
727
|
return this.http.patch(`${this.url}/deposits/${id}`, body)
|
|
648
728
|
.pipe(map(({ data }) => data));
|
|
649
729
|
}
|
|
650
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
651
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
730
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCashOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
731
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCashOperationsService, providedIn: 'root' });
|
|
652
732
|
}
|
|
653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
733
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCashOperationsService, decorators: [{
|
|
654
734
|
type: Injectable,
|
|
655
735
|
args: [{
|
|
656
736
|
providedIn: 'root'
|
|
@@ -1022,6 +1102,16 @@ class ApiCatalogsService {
|
|
|
1022
1102
|
return this.http.put(`${this.url}/generic-folios/${id}`, body)
|
|
1023
1103
|
.pipe(map(({ data }) => data));
|
|
1024
1104
|
}
|
|
1105
|
+
/**
|
|
1106
|
+
* Retrieves the list of products.
|
|
1107
|
+
*
|
|
1108
|
+
* @param params Query parameters used to filter or paginate the products.
|
|
1109
|
+
* @returns An observable containing the list of products.
|
|
1110
|
+
*/
|
|
1111
|
+
getProducts(params) {
|
|
1112
|
+
return this.http.get(`${this.url}/products`, { params })
|
|
1113
|
+
.pipe(map(({ data }) => data));
|
|
1114
|
+
}
|
|
1025
1115
|
/**
|
|
1026
1116
|
* Retrieves a product by its unique identifier.
|
|
1027
1117
|
*
|
|
@@ -1430,10 +1520,87 @@ class ApiCatalogsService {
|
|
|
1430
1520
|
return this.http.get(`${this.url}/export-reason-types`, { params })
|
|
1431
1521
|
.pipe(map(({ data }) => data));
|
|
1432
1522
|
}
|
|
1433
|
-
|
|
1434
|
-
|
|
1523
|
+
/**
|
|
1524
|
+
* Retrieves the list of upselling indicators.
|
|
1525
|
+
* @param params - Query parameters used to filter or paginate the results
|
|
1526
|
+
* @returns An Observable that emits the upselling indicators and total count
|
|
1527
|
+
*/
|
|
1528
|
+
getUpsellingIndicators(params) {
|
|
1529
|
+
return this.http.get(`${this.url}/upselling-indicators`, { params })
|
|
1530
|
+
.pipe(map(({ data }) => data));
|
|
1531
|
+
}
|
|
1532
|
+
/**
|
|
1533
|
+
* Retrieves an upselling indicator by its ID.
|
|
1534
|
+
*
|
|
1535
|
+
* @param id Unique identifier of the upselling indicator.
|
|
1536
|
+
* @returns Observable containing the requested upselling indicator.
|
|
1537
|
+
*/
|
|
1538
|
+
getUpsellingIndicator(id) {
|
|
1539
|
+
return this.http.get(`${this.url}/upselling-indicators/${id}`)
|
|
1540
|
+
.pipe(map(({ data }) => data));
|
|
1541
|
+
}
|
|
1542
|
+
/**
|
|
1543
|
+
* Creates a new upselling indicator.
|
|
1544
|
+
* @param body - Upselling indicator data
|
|
1545
|
+
* @returns An Observable that emits the created upselling indicator
|
|
1546
|
+
*/
|
|
1547
|
+
postUpsellingIndicator(body) {
|
|
1548
|
+
return this.http.post(`${this.url}/upselling-indicators`, body)
|
|
1549
|
+
.pipe(map(({ data }) => data));
|
|
1550
|
+
}
|
|
1551
|
+
/**
|
|
1552
|
+
* Updates an existing upselling indicator.
|
|
1553
|
+
* @param id - Identifier of the upselling indicator to update
|
|
1554
|
+
* @param body - Updated upselling indicator data
|
|
1555
|
+
* @returns An Observable that emits the updated upselling indicator
|
|
1556
|
+
*/
|
|
1557
|
+
putUpsellingIndicator(id, body) {
|
|
1558
|
+
return this.http.put(`${this.url}/upselling-indicators/${id}`, body)
|
|
1559
|
+
.pipe(map(({ data }) => data));
|
|
1560
|
+
}
|
|
1561
|
+
/**
|
|
1562
|
+
* Deletes an upselling indicator by its identifier.
|
|
1563
|
+
* @param id - Identifier of the upselling indicator to delete
|
|
1564
|
+
* @returns An Observable that emits the operation result
|
|
1565
|
+
*/
|
|
1566
|
+
deleteUpsellingIndicator(id) {
|
|
1567
|
+
return this.http.delete(`${this.url}/upselling-indicators/${id}`)
|
|
1568
|
+
.pipe(map(({ data }) => data));
|
|
1569
|
+
}
|
|
1570
|
+
/**
|
|
1571
|
+
* Updates the active status of an upselling indicator.
|
|
1572
|
+
* @param id - Identifier of the upselling indicator
|
|
1573
|
+
* @param isActive - Indicates whether the upselling indicator should be active or inactive
|
|
1574
|
+
* @returns An Observable that emits the operation result
|
|
1575
|
+
*/
|
|
1576
|
+
patchUpsellingIndicator(id, isActive) {
|
|
1577
|
+
return this.http.patch(`${this.url}/upselling-indicators/${id}`, { isActive })
|
|
1578
|
+
.pipe(map(({ data }) => data));
|
|
1579
|
+
}
|
|
1580
|
+
/**
|
|
1581
|
+
* Retrieves the list of upselling indicator methods.
|
|
1582
|
+
*
|
|
1583
|
+
* @param params Query parameters used to filter, paginate, or sort the methods.
|
|
1584
|
+
* @returns Observable containing the upselling indicator methods.
|
|
1585
|
+
*/
|
|
1586
|
+
getUpsellingIndicatorMethods(params) {
|
|
1587
|
+
return this.http.get(`${this.url}/upselling-indicator-methods`, { params })
|
|
1588
|
+
.pipe(map(({ data }) => data));
|
|
1589
|
+
}
|
|
1590
|
+
/**
|
|
1591
|
+
* Retrieves an upselling indicator method by its ID.
|
|
1592
|
+
*
|
|
1593
|
+
* @param id Unique identifier of the upselling indicator method.
|
|
1594
|
+
* @returns Observable containing the requested upselling indicator method.
|
|
1595
|
+
*/
|
|
1596
|
+
getUpsellingIndicatorMethod(id) {
|
|
1597
|
+
return this.http.get(`${this.url}/upselling-indicator-methods/${id}`)
|
|
1598
|
+
.pipe(map(({ data }) => data));
|
|
1599
|
+
}
|
|
1600
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCatalogsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1601
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCatalogsService, providedIn: 'root' });
|
|
1435
1602
|
}
|
|
1436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCatalogsService, decorators: [{
|
|
1437
1604
|
type: Injectable,
|
|
1438
1605
|
args: [{
|
|
1439
1606
|
providedIn: 'root'
|
|
@@ -1471,10 +1638,10 @@ class ApiCheckpointsService {
|
|
|
1471
1638
|
return this.http.get(`${this.url}/checkpoints`, { params })
|
|
1472
1639
|
.pipe(map(({ data }) => data));
|
|
1473
1640
|
}
|
|
1474
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1475
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1641
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCheckpointsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1642
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCheckpointsService, providedIn: 'root' });
|
|
1476
1643
|
}
|
|
1477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCheckpointsService, decorators: [{
|
|
1478
1645
|
type: Injectable,
|
|
1479
1646
|
args: [{
|
|
1480
1647
|
providedIn: 'root'
|
|
@@ -2530,10 +2697,10 @@ class ApiCompaniesService {
|
|
|
2530
2697
|
return this.http.put(`${this.url}/tdx-account-settings/${id}`, body)
|
|
2531
2698
|
.pipe(map(({ data }) => data));
|
|
2532
2699
|
}
|
|
2533
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2534
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2700
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCompaniesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2701
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCompaniesService, providedIn: 'root' });
|
|
2535
2702
|
}
|
|
2536
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2703
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCompaniesService, decorators: [{
|
|
2537
2704
|
type: Injectable,
|
|
2538
2705
|
args: [{
|
|
2539
2706
|
providedIn: 'root'
|
|
@@ -2571,10 +2738,10 @@ class ApiCompositionService {
|
|
|
2571
2738
|
return this.http.get(`${this.url}/country-references`, { params })
|
|
2572
2739
|
.pipe(map(({ data }) => data));
|
|
2573
2740
|
}
|
|
2574
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2575
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2741
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCompositionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2742
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCompositionService, providedIn: 'root' });
|
|
2576
2743
|
}
|
|
2577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCompositionService, decorators: [{
|
|
2578
2745
|
type: Injectable,
|
|
2579
2746
|
args: [{
|
|
2580
2747
|
providedIn: 'root'
|
|
@@ -2717,10 +2884,10 @@ class ApiCustomsService {
|
|
|
2717
2884
|
params
|
|
2718
2885
|
}).pipe(map(({ data }) => data));
|
|
2719
2886
|
}
|
|
2720
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2721
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2887
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCustomsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2888
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCustomsService, providedIn: 'root' });
|
|
2722
2889
|
}
|
|
2723
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2890
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiCustomsService, decorators: [{
|
|
2724
2891
|
type: Injectable,
|
|
2725
2892
|
args: [{
|
|
2726
2893
|
providedIn: 'root'
|
|
@@ -2948,10 +3115,10 @@ class ApiDiscountsService {
|
|
|
2948
3115
|
return this.http.put(`${this.url}/customer-restrictions/V2/${id}`, body)
|
|
2949
3116
|
.pipe(map(({ data }) => data));
|
|
2950
3117
|
}
|
|
2951
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2952
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3118
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiDiscountsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3119
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiDiscountsService, providedIn: 'root' });
|
|
2953
3120
|
}
|
|
2954
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiDiscountsService, decorators: [{
|
|
2955
3122
|
type: Injectable,
|
|
2956
3123
|
args: [{
|
|
2957
3124
|
providedIn: 'root'
|
|
@@ -2985,10 +3152,10 @@ class ApiDropoffsService {
|
|
|
2985
3152
|
postShipmentsEReceipt(body) {
|
|
2986
3153
|
return this.http.post(`${this.url}/shipments/ereceipt`, body).pipe(map(({ data }) => data));
|
|
2987
3154
|
}
|
|
2988
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2989
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3155
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiDropoffsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3156
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiDropoffsService, providedIn: 'root' });
|
|
2990
3157
|
}
|
|
2991
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3158
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiDropoffsService, decorators: [{
|
|
2992
3159
|
type: Injectable,
|
|
2993
3160
|
args: [{
|
|
2994
3161
|
providedIn: 'root'
|
|
@@ -3080,10 +3247,10 @@ class ApiEToolsAutoBillingService {
|
|
|
3080
3247
|
return this.http.post(`${this.url}/external-shipments/${id}/re-billing`, body)
|
|
3081
3248
|
.pipe(map(({ data }) => data));
|
|
3082
3249
|
}
|
|
3083
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3084
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3250
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiEToolsAutoBillingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3251
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiEToolsAutoBillingService, providedIn: 'root' });
|
|
3085
3252
|
}
|
|
3086
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiEToolsAutoBillingService, decorators: [{
|
|
3087
3254
|
type: Injectable,
|
|
3088
3255
|
args: [{
|
|
3089
3256
|
providedIn: 'root'
|
|
@@ -3122,10 +3289,10 @@ class ApiEventsService {
|
|
|
3122
3289
|
return this.http.put(`${this.url}/operation-modules/${id}/end`, body)
|
|
3123
3290
|
.pipe(map(({ data }) => data));
|
|
3124
3291
|
}
|
|
3125
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3126
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3292
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3293
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiEventsService, providedIn: 'root' });
|
|
3127
3294
|
}
|
|
3128
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3295
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiEventsService, decorators: [{
|
|
3129
3296
|
type: Injectable,
|
|
3130
3297
|
args: [{
|
|
3131
3298
|
providedIn: 'root'
|
|
@@ -3222,10 +3389,10 @@ class ApiExternalOperationsService {
|
|
|
3222
3389
|
return this.http.put(`${this.url}/signature-page-confirmation/${otp}`, body)
|
|
3223
3390
|
.pipe(map$1(({ data }) => data));
|
|
3224
3391
|
}
|
|
3225
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3226
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3392
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiExternalOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3393
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiExternalOperationsService, providedIn: 'root' });
|
|
3227
3394
|
}
|
|
3228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3395
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiExternalOperationsService, decorators: [{
|
|
3229
3396
|
type: Injectable,
|
|
3230
3397
|
args: [{
|
|
3231
3398
|
providedIn: 'root'
|
|
@@ -3587,10 +3754,10 @@ class ApiInventoriesService {
|
|
|
3587
3754
|
putPackageOnHold(body) {
|
|
3588
3755
|
return this.http.put(`${this.url}/package-on-hold`, body).pipe(map(({ data }) => data));
|
|
3589
3756
|
}
|
|
3590
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3591
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3757
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3758
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
|
|
3592
3759
|
}
|
|
3593
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInventoriesService, decorators: [{
|
|
3594
3761
|
type: Injectable,
|
|
3595
3762
|
args: [{
|
|
3596
3763
|
providedIn: 'root'
|
|
@@ -4064,10 +4231,10 @@ class ApiInvoicesService {
|
|
|
4064
4231
|
return this.http.put(`${this.url}/operation/document/${id}/customer`, data)
|
|
4065
4232
|
.pipe(map(({ data }) => data));
|
|
4066
4233
|
}
|
|
4067
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4068
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4234
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInvoicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4235
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInvoicesService, providedIn: 'root' });
|
|
4069
4236
|
}
|
|
4070
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4237
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiInvoicesService, decorators: [{
|
|
4071
4238
|
type: Injectable,
|
|
4072
4239
|
args: [{
|
|
4073
4240
|
providedIn: 'root'
|
|
@@ -4157,10 +4324,10 @@ class ApiNotificationsService {
|
|
|
4157
4324
|
return this.http.get(`${this.url}/notification-types`, { params })
|
|
4158
4325
|
.pipe(map(({ data }) => data));
|
|
4159
4326
|
}
|
|
4160
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4161
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4327
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiNotificationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4328
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiNotificationsService, providedIn: 'root' });
|
|
4162
4329
|
}
|
|
4163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiNotificationsService, decorators: [{
|
|
4164
4331
|
type: Injectable,
|
|
4165
4332
|
args: [{
|
|
4166
4333
|
providedIn: 'root'
|
|
@@ -4208,10 +4375,10 @@ class ApiOpenItemsService {
|
|
|
4208
4375
|
return this.http.post(`${this.url}/other-invoices`, body)
|
|
4209
4376
|
.pipe(map(({ data }) => data));
|
|
4210
4377
|
}
|
|
4211
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4212
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4378
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiOpenItemsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4379
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiOpenItemsService, providedIn: 'root' });
|
|
4213
4380
|
}
|
|
4214
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4381
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiOpenItemsService, decorators: [{
|
|
4215
4382
|
type: Injectable,
|
|
4216
4383
|
args: [{
|
|
4217
4384
|
providedIn: 'root'
|
|
@@ -4278,10 +4445,10 @@ class ApiQuoteService {
|
|
|
4278
4445
|
return this.http.get(`${this.url}/quote-event-types`, { params })
|
|
4279
4446
|
.pipe(map(({ data }) => data));
|
|
4280
4447
|
}
|
|
4281
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4282
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4448
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiQuoteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4449
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiQuoteService, providedIn: 'root' });
|
|
4283
4450
|
}
|
|
4284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiQuoteService, decorators: [{
|
|
4285
4452
|
type: Injectable,
|
|
4286
4453
|
args: [{
|
|
4287
4454
|
providedIn: 'root'
|
|
@@ -4499,10 +4666,10 @@ class ApiReportsService {
|
|
|
4499
4666
|
return this.http.get(`${this.url}/billing-details`, { params })
|
|
4500
4667
|
.pipe(map(({ data }) => data));
|
|
4501
4668
|
}
|
|
4502
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4503
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4669
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiReportsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4670
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiReportsService, providedIn: 'root' });
|
|
4504
4671
|
}
|
|
4505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiReportsService, decorators: [{
|
|
4506
4673
|
type: Injectable,
|
|
4507
4674
|
args: [{
|
|
4508
4675
|
providedIn: 'root'
|
|
@@ -4725,10 +4892,10 @@ class ApiSecurityService {
|
|
|
4725
4892
|
}
|
|
4726
4893
|
}).pipe(map(({ data }) => data));
|
|
4727
4894
|
}
|
|
4728
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4729
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4895
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiSecurityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4896
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiSecurityService, providedIn: 'root' });
|
|
4730
4897
|
}
|
|
4731
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiSecurityService, decorators: [{
|
|
4732
4899
|
type: Injectable,
|
|
4733
4900
|
args: [{
|
|
4734
4901
|
providedIn: 'root'
|
|
@@ -4837,10 +5004,10 @@ class ApiServicesService {
|
|
|
4837
5004
|
params: queryParams
|
|
4838
5005
|
}).pipe(map(({ data }) => data));
|
|
4839
5006
|
}
|
|
4840
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4841
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5007
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiServicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5008
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiServicesService, providedIn: 'root' });
|
|
4842
5009
|
}
|
|
4843
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5010
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiServicesService, decorators: [{
|
|
4844
5011
|
type: Injectable,
|
|
4845
5012
|
args: [{
|
|
4846
5013
|
providedIn: 'root'
|
|
@@ -5011,10 +5178,10 @@ class ApiShipmentsService {
|
|
|
5011
5178
|
return this.http.get(`${this.url}/shipments/${id}/documents`)
|
|
5012
5179
|
.pipe(map(({ data }) => data));
|
|
5013
5180
|
}
|
|
5014
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5015
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5181
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiShipmentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5182
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiShipmentsService, providedIn: 'root' });
|
|
5016
5183
|
}
|
|
5017
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiShipmentsService, decorators: [{
|
|
5018
5185
|
type: Injectable,
|
|
5019
5186
|
args: [{
|
|
5020
5187
|
providedIn: 'root'
|
|
@@ -5133,10 +5300,10 @@ class ApiSuppliesService {
|
|
|
5133
5300
|
return this.http.get(`${this.url}/supply-locations/export/excel`, { params })
|
|
5134
5301
|
.pipe(map(({ data }) => data));
|
|
5135
5302
|
}
|
|
5136
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5137
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5303
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiSuppliesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5304
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiSuppliesService, providedIn: 'root' });
|
|
5138
5305
|
}
|
|
5139
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5306
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiSuppliesService, decorators: [{
|
|
5140
5307
|
type: Injectable,
|
|
5141
5308
|
args: [{
|
|
5142
5309
|
providedIn: 'root'
|
|
@@ -5269,10 +5436,10 @@ class ApiSurveysService {
|
|
|
5269
5436
|
return this.http.post(`${this.url}/customer-surveys/${uuid}/finish`, body)
|
|
5270
5437
|
.pipe(map(({ data }) => data));
|
|
5271
5438
|
}
|
|
5272
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5273
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5439
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiSurveysService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5440
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiSurveysService, providedIn: 'root' });
|
|
5274
5441
|
}
|
|
5275
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: ApiSurveysService, decorators: [{
|
|
5276
5443
|
type: Injectable,
|
|
5277
5444
|
args: [{
|
|
5278
5445
|
providedIn: 'root'
|
|
@@ -5431,10 +5598,10 @@ class PrintersService {
|
|
|
5431
5598
|
}
|
|
5432
5599
|
});
|
|
5433
5600
|
}
|
|
5434
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5435
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5601
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PrintersService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5602
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PrintersService, providedIn: 'root' });
|
|
5436
5603
|
}
|
|
5437
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: PrintersService, decorators: [{
|
|
5438
5605
|
type: Injectable,
|
|
5439
5606
|
args: [{
|
|
5440
5607
|
providedIn: 'root'
|
|
@@ -5679,10 +5846,10 @@ class WebSocketsService {
|
|
|
5679
5846
|
const waitTime = 3 * 1000;
|
|
5680
5847
|
return new Promise((resolve) => setTimeout(resolve, waitTime));
|
|
5681
5848
|
}
|
|
5682
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5683
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5849
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: WebSocketsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5850
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: WebSocketsService, providedIn: 'root' });
|
|
5684
5851
|
}
|
|
5685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5852
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: WebSocketsService, decorators: [{
|
|
5686
5853
|
type: Injectable,
|
|
5687
5854
|
args: [{
|
|
5688
5855
|
providedIn: 'root',
|
|
@@ -5768,10 +5935,10 @@ class CryptoService {
|
|
|
5768
5935
|
}
|
|
5769
5936
|
return bytes.buffer;
|
|
5770
5937
|
}
|
|
5771
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5772
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5938
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CryptoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5939
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CryptoService, providedIn: 'root' });
|
|
5773
5940
|
}
|
|
5774
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.27", ngImport: i0, type: CryptoService, decorators: [{
|
|
5775
5942
|
type: Injectable,
|
|
5776
5943
|
args: [{
|
|
5777
5944
|
providedIn: 'root'
|
|
@@ -5833,23 +6000,40 @@ function apiTokenInterceptor(req, next) {
|
|
|
5833
6000
|
return next(req);
|
|
5834
6001
|
}
|
|
5835
6002
|
|
|
5836
|
-
const DEFAULT_TTL = 10000; // ttl in ms
|
|
5837
6003
|
const cache = new Map();
|
|
5838
6004
|
const inFlightRequests = new Map();
|
|
5839
6005
|
/**
|
|
5840
|
-
*
|
|
5841
|
-
*
|
|
6006
|
+
* Resolves the TTL for a URL from the first matching `cacheRoutes` entry.
|
|
6007
|
+
* Returns `null` when there is no match or no routes configured.
|
|
6008
|
+
*/
|
|
6009
|
+
function resolveCacheTtl(url, cacheRoutes) {
|
|
6010
|
+
if (!cacheRoutes?.length)
|
|
6011
|
+
return null;
|
|
6012
|
+
for (const route of cacheRoutes) {
|
|
6013
|
+
if (new RegExp(route.pattern).test(url)) {
|
|
6014
|
+
return route.ttl;
|
|
6015
|
+
}
|
|
6016
|
+
}
|
|
6017
|
+
return null;
|
|
6018
|
+
}
|
|
6019
|
+
/**
|
|
6020
|
+
* Interceptor function to handle opt-in HTTP caching for GET requests that match
|
|
6021
|
+
* a configured `cacheRoutes` pattern. Non-matching GETs pass through uncached.
|
|
6022
|
+
* Concurrent in-flight requests for the same key are deduplicated via `shareReplay`.
|
|
5842
6023
|
*
|
|
5843
|
-
* @param {HttpRequest<
|
|
6024
|
+
* @param {HttpRequest<unknown>} req - The HTTP request object being intercepted.
|
|
5844
6025
|
* @param {HttpHandlerFn} next - The next HTTP handler function in the chain to process the request.
|
|
5845
|
-
* @return {Observable<HttpEvent<
|
|
6026
|
+
* @return {Observable<HttpEvent<unknown>>} An observable that emits the HTTP event, either from cache
|
|
5846
6027
|
* or by invoking the next handler.
|
|
5847
6028
|
*/
|
|
5848
6029
|
function httpCachingInterceptor(req, next) {
|
|
5849
|
-
const {
|
|
6030
|
+
const { cacheRoutes } = inject(ENVIRONMENT_TOKEN);
|
|
5850
6031
|
if (req.method !== 'GET')
|
|
5851
6032
|
return next(req);
|
|
5852
6033
|
const key = req.urlWithParams;
|
|
6034
|
+
const routeTtl = resolveCacheTtl(key, cacheRoutes);
|
|
6035
|
+
if (routeTtl === null)
|
|
6036
|
+
return next(req);
|
|
5853
6037
|
const cached = cache.get(key);
|
|
5854
6038
|
if (cached) {
|
|
5855
6039
|
const isExpired = Date.now() > cached.ttl;
|
|
@@ -5866,7 +6050,7 @@ function httpCachingInterceptor(req, next) {
|
|
|
5866
6050
|
if (!(res instanceof HttpResponse)) {
|
|
5867
6051
|
return;
|
|
5868
6052
|
}
|
|
5869
|
-
const ttl = Date.now() +
|
|
6053
|
+
const ttl = Date.now() + routeTtl;
|
|
5870
6054
|
cache.set(key, { res, ttl });
|
|
5871
6055
|
}), finalize(() => {
|
|
5872
6056
|
inFlightRequests.delete(key);
|
|
@@ -5948,5 +6132,5 @@ const xmlHeaders = (format = 'object') => {
|
|
|
5948
6132
|
* Generated bundle index. Do not edit.
|
|
5949
6133
|
*/
|
|
5950
6134
|
|
|
5951
|
-
export { AccountTypeId, AccountTypeName, AlphaNumeric, ApiBillingCOService, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCheckpointsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiDropoffsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService, DefaultValueType, DepositTypeCode, DocumentStatusCode, ENVIRONMENT_TOKEN, Event, Group, InventoryActions, InventoryErrorCodes, NgxServicesModule, OpeningStatusCode, OperationModuleStatus, PaymentTypeCode, PrintMode, PrintableFormat, PrintersService, PrintersType, RouteModelType, ShipmentIncomeTypeCode, TransferenceTypeCode, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
|
|
6135
|
+
export { AccountTypeId, AccountTypeName, AlphaNumeric, ApiAuditsService, ApiBillingCOService, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCheckpointsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiDropoffsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService, DefaultValueType, DepositTypeCode, DocumentStatusCode, ENVIRONMENT_TOKEN, Event, Group, InventoryActions, InventoryErrorCodes, NgxServicesModule, OpeningStatusCode, OperationModuleStatus, PaymentTypeCode, PrintMode, PrintableFormat, PrintersService, PrintersType, RouteModelType, ShipmentIncomeTypeCode, TransferenceTypeCode, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
|
|
5952
6136
|
//# sourceMappingURL=experteam-mx-ngx-services.mjs.map
|