@experteam-mx/ngx-services 20.5.0 → 20.6.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/fesm2022/experteam-mx-ngx-services.mjs +238 -115
- package/fesm2022/experteam-mx-ngx-services.mjs.map +1 -1
- package/index.d.ts +225 -52
- package/package.json +3 -3
|
@@ -48,11 +48,11 @@ 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.25", ngImport: i0, type: NgxServicesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
52
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.25", ngImport: i0, type: NgxServicesModule });
|
|
53
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.25", 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.25", ngImport: i0, type: NgxServicesModule, decorators: [{
|
|
56
56
|
type: NgModule,
|
|
57
57
|
args: [{
|
|
58
58
|
providers: [provideHttpClient()]
|
|
@@ -159,10 +159,10 @@ class ApiBillingCOService {
|
|
|
159
159
|
return this.http.get(`${this.url}/tributes`, { params })
|
|
160
160
|
.pipe(map(({ data }) => data));
|
|
161
161
|
}
|
|
162
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
163
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
162
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingCOService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
163
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingCOService, providedIn: 'root' });
|
|
164
164
|
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
165
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingCOService, decorators: [{
|
|
166
166
|
type: Injectable,
|
|
167
167
|
args: [{
|
|
168
168
|
providedIn: 'root'
|
|
@@ -189,10 +189,10 @@ class ApiBillingDOService {
|
|
|
189
189
|
return this.http.get(`${this.url}/income-types`)
|
|
190
190
|
.pipe(map(({ data }) => data));
|
|
191
191
|
}
|
|
192
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
193
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
192
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingDOService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
193
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingDOService, providedIn: 'root' });
|
|
194
194
|
}
|
|
195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingDOService, decorators: [{
|
|
196
196
|
type: Injectable,
|
|
197
197
|
args: [{
|
|
198
198
|
providedIn: 'root'
|
|
@@ -239,10 +239,10 @@ class ApiBillingGtService {
|
|
|
239
239
|
return this.http.post(`${this.url}/locations`, body)
|
|
240
240
|
.pipe(map(({ data }) => data));
|
|
241
241
|
}
|
|
242
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
243
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingGtService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
243
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingGtService, providedIn: 'root' });
|
|
244
244
|
}
|
|
245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingGtService, decorators: [{
|
|
246
246
|
type: Injectable,
|
|
247
247
|
args: [{
|
|
248
248
|
providedIn: 'root'
|
|
@@ -290,10 +290,10 @@ class ApiBillingMxService {
|
|
|
290
290
|
return this.http.get(`${this.url}/postal-codes`, { params })
|
|
291
291
|
.pipe(map(({ data }) => data));
|
|
292
292
|
}
|
|
293
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
294
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
293
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingMxService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
294
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingMxService, providedIn: 'root' });
|
|
295
295
|
}
|
|
296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
296
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingMxService, decorators: [{
|
|
297
297
|
type: Injectable,
|
|
298
298
|
args: [{
|
|
299
299
|
providedIn: 'root'
|
|
@@ -384,10 +384,10 @@ class ApiBillingPaService {
|
|
|
384
384
|
return this.http.post(`${this.url}/locations`, body)
|
|
385
385
|
.pipe(map(({ data }) => data));
|
|
386
386
|
}
|
|
387
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
388
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingPaService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
388
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingPaService, providedIn: 'root' });
|
|
389
389
|
}
|
|
390
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingPaService, decorators: [{
|
|
391
391
|
type: Injectable,
|
|
392
392
|
args: [{
|
|
393
393
|
providedIn: 'root'
|
|
@@ -456,10 +456,10 @@ class ApiBillingSvService {
|
|
|
456
456
|
return this.http.get(`${this.url}/municipalities`, { params })
|
|
457
457
|
.pipe(map(({ data }) => data));
|
|
458
458
|
}
|
|
459
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
460
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
459
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingSvService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
460
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingSvService, providedIn: 'root' });
|
|
461
461
|
}
|
|
462
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiBillingSvService, decorators: [{
|
|
463
463
|
type: Injectable,
|
|
464
464
|
args: [{
|
|
465
465
|
providedIn: 'root'
|
|
@@ -647,10 +647,10 @@ class ApiCashOperationsService {
|
|
|
647
647
|
return this.http.patch(`${this.url}/deposits/${id}`, body)
|
|
648
648
|
.pipe(map(({ data }) => data));
|
|
649
649
|
}
|
|
650
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
651
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
650
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCashOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
651
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCashOperationsService, providedIn: 'root' });
|
|
652
652
|
}
|
|
653
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCashOperationsService, decorators: [{
|
|
654
654
|
type: Injectable,
|
|
655
655
|
args: [{
|
|
656
656
|
providedIn: 'root'
|
|
@@ -680,7 +680,7 @@ class ApiCatalogsService {
|
|
|
680
680
|
}).pipe(map(({ data }) => data));
|
|
681
681
|
}
|
|
682
682
|
/**
|
|
683
|
-
* Retrieves the list of
|
|
683
|
+
* Retrieves the list of identifications types
|
|
684
684
|
*
|
|
685
685
|
* @param {QueryParams} params - The query parameters used to fetch the identification types.
|
|
686
686
|
* @return {Observable<IdentificationTypesOut[]>} An observable that emits an array of identification type.
|
|
@@ -693,7 +693,7 @@ class ApiCatalogsService {
|
|
|
693
693
|
/**
|
|
694
694
|
* Retrieve a single identification type by its id.
|
|
695
695
|
*
|
|
696
|
-
* Sends an HTTP GET request to the
|
|
696
|
+
* Sends an HTTP GET request to the identification type endpoint and returns an Observable that emits
|
|
697
697
|
* the IdentificationTypeOut payload extracted from the API success envelope.
|
|
698
698
|
*
|
|
699
699
|
* @param id - The numeric identifier of the identification type to fetch.
|
|
@@ -849,6 +849,16 @@ class ApiCatalogsService {
|
|
|
849
849
|
return this.http.get(`${this.url}/zones`, { params })
|
|
850
850
|
.pipe(map(({ data }) => data));
|
|
851
851
|
}
|
|
852
|
+
/**
|
|
853
|
+
* Retrieves a zone by its ID.
|
|
854
|
+
*
|
|
855
|
+
* @param {number} id - The ID of the zone.
|
|
856
|
+
* @return {Observable<ZoneOut>} An observable containing the zone data.
|
|
857
|
+
*/
|
|
858
|
+
getZone(id) {
|
|
859
|
+
return this.http.get(`${this.url}/zones/${id}`)
|
|
860
|
+
.pipe(map(({ data }) => data));
|
|
861
|
+
}
|
|
852
862
|
/**
|
|
853
863
|
* Fetches the management areas based on the provided query parameters.
|
|
854
864
|
*
|
|
@@ -919,6 +929,16 @@ class ApiCatalogsService {
|
|
|
919
929
|
return this.http.get(`${this.url}/languages`, { params })
|
|
920
930
|
.pipe(map(({ data }) => data));
|
|
921
931
|
}
|
|
932
|
+
/**
|
|
933
|
+
* Retrieves a language by its ID.
|
|
934
|
+
*
|
|
935
|
+
* @param {number} id - The ID of the language.
|
|
936
|
+
* @return {Observable<LanguageOut>} An observable containing the language data.
|
|
937
|
+
*/
|
|
938
|
+
getLanguage(id) {
|
|
939
|
+
return this.http.get(`${this.url}/languages/${id}`)
|
|
940
|
+
.pipe(map(({ data }) => data));
|
|
941
|
+
}
|
|
922
942
|
/**
|
|
923
943
|
* Fetches the available units from the API based on the provided query parameters.
|
|
924
944
|
*
|
|
@@ -959,6 +979,17 @@ class ApiCatalogsService {
|
|
|
959
979
|
return this.http.get(`${this.url}/generic-folios`, { params })
|
|
960
980
|
.pipe(map(({ data }) => data));
|
|
961
981
|
}
|
|
982
|
+
/**
|
|
983
|
+
* Retrieves a generic folio by its country ID and code.
|
|
984
|
+
*
|
|
985
|
+
* @param {number} countryId - The ID of the country.
|
|
986
|
+
* @param {string} code - The code of the generic folio.
|
|
987
|
+
* @return {Observable<GenericFolioOut>} An observable containing the generic folio data.
|
|
988
|
+
*/
|
|
989
|
+
getGenericFolioByCountryAndCode(countryId, code) {
|
|
990
|
+
return this.http.get(`${this.url}/generic-folios/${countryId}/${code}`)
|
|
991
|
+
.pipe(map(({ data }) => data));
|
|
992
|
+
}
|
|
962
993
|
/**
|
|
963
994
|
* Sends a POST request to create or update a generic folio.
|
|
964
995
|
*
|
|
@@ -991,6 +1022,16 @@ class ApiCatalogsService {
|
|
|
991
1022
|
return this.http.put(`${this.url}/generic-folios/${id}`, body)
|
|
992
1023
|
.pipe(map(({ data }) => data));
|
|
993
1024
|
}
|
|
1025
|
+
/**
|
|
1026
|
+
* Retrieves a product by its unique identifier.
|
|
1027
|
+
*
|
|
1028
|
+
* @param {number} id - The unique identifier of the product to retrieve.
|
|
1029
|
+
* @return {Observable<ProductOut>} An observable containing the product data.
|
|
1030
|
+
*/
|
|
1031
|
+
getProduct(id) {
|
|
1032
|
+
return this.http.get(`${this.url}/products/${id}`)
|
|
1033
|
+
.pipe(map(({ data }) => data));
|
|
1034
|
+
}
|
|
994
1035
|
/**
|
|
995
1036
|
* Sends a POST request to create a new product.
|
|
996
1037
|
*
|
|
@@ -1270,6 +1311,69 @@ class ApiCatalogsService {
|
|
|
1270
1311
|
return this.http.get(`${this.url}/package-locations`, { params })
|
|
1271
1312
|
.pipe(map(({ data }) => data));
|
|
1272
1313
|
}
|
|
1314
|
+
/**
|
|
1315
|
+
* Retrieves trading transaction types based on the provided query parameters.
|
|
1316
|
+
* @param params - Query parameters to filter or configure the trading transaction types request
|
|
1317
|
+
* @returns An Observable that emits the trading transaction types data
|
|
1318
|
+
*/
|
|
1319
|
+
getTradingTransactionTypes(params) {
|
|
1320
|
+
return this.http.get(`${this.url}/trading-transaction-types`, { params })
|
|
1321
|
+
.pipe(map(({ data }) => data));
|
|
1322
|
+
}
|
|
1323
|
+
/**
|
|
1324
|
+
* Retrieves document types based on the provided query parameters.
|
|
1325
|
+
* @param params - Query parameters to filter or configure the document types request
|
|
1326
|
+
* @returns An Observable that emits the document types data
|
|
1327
|
+
*/
|
|
1328
|
+
getDocumentTypes(params) {
|
|
1329
|
+
return this.http.get(`${this.url}/document-types`, { params })
|
|
1330
|
+
.pipe(map(({ data }) => data));
|
|
1331
|
+
}
|
|
1332
|
+
/**
|
|
1333
|
+
* Retrieves commodities based on the provided query parameters.
|
|
1334
|
+
* @param params - Query parameters to filter or configure the commodities request
|
|
1335
|
+
* @returns An Observable that emits the commodities data
|
|
1336
|
+
*/
|
|
1337
|
+
getCommodities(params) {
|
|
1338
|
+
return this.http.get(`${this.url}/commodities`, { params })
|
|
1339
|
+
.pipe(map(({ data }) => data));
|
|
1340
|
+
}
|
|
1341
|
+
/**
|
|
1342
|
+
* Retrieves quantity units based on the provided query parameters.
|
|
1343
|
+
* @param params - Query parameters to filter or configure the quantity units request
|
|
1344
|
+
* @returns An Observable that emits the quantity units data
|
|
1345
|
+
*/
|
|
1346
|
+
getQuantityUnits(params) {
|
|
1347
|
+
return this.http.get(`${this.url}/quantity-units`, { params })
|
|
1348
|
+
.pipe(map(({ data }) => data));
|
|
1349
|
+
}
|
|
1350
|
+
/**
|
|
1351
|
+
* Retrieves shipment descriptions based on the provided query parameters.
|
|
1352
|
+
* @param params - Query parameters to filter or configure the shipment descriptions request
|
|
1353
|
+
* @returns An Observable that emits the shipment descriptions data
|
|
1354
|
+
*/
|
|
1355
|
+
getShipmentDescriptions(params) {
|
|
1356
|
+
return this.http.get(`${this.url}/shipment-descriptions`, { params })
|
|
1357
|
+
.pipe(map(({ data }) => data));
|
|
1358
|
+
}
|
|
1359
|
+
/**
|
|
1360
|
+
* Retrieves price override approvers based on the provided query parameters.
|
|
1361
|
+
* @param params - Query parameters to filter or configure the price override approvers request
|
|
1362
|
+
* @returns An Observable that emits the price override approvers data
|
|
1363
|
+
*/
|
|
1364
|
+
getPriceOverrideApprovers(params) {
|
|
1365
|
+
return this.http.get(`${this.url}/price-override-approvers`, { params })
|
|
1366
|
+
.pipe(map(({ data }) => data));
|
|
1367
|
+
}
|
|
1368
|
+
/**
|
|
1369
|
+
* Retrieves price override reasons based on the provided query parameters.
|
|
1370
|
+
* @param params - Query parameters to filter or configure the price override reasons request
|
|
1371
|
+
* @returns An Observable that emits the price override reasons data
|
|
1372
|
+
*/
|
|
1373
|
+
getPriceOverrideReasons(params) {
|
|
1374
|
+
return this.http.get(`${this.url}/price-override-reasons`, { params })
|
|
1375
|
+
.pipe(map(({ data }) => data));
|
|
1376
|
+
}
|
|
1273
1377
|
/**
|
|
1274
1378
|
* Retrieves export reasons based on the provided query parameters.
|
|
1275
1379
|
* @param params - Query parameters to filter, sort, or paginate export reasons
|
|
@@ -1314,9 +1418,7 @@ class ApiCatalogsService {
|
|
|
1314
1418
|
* @returns An Observable that emits the operation result
|
|
1315
1419
|
*/
|
|
1316
1420
|
patchExportReason(id, isActive) {
|
|
1317
|
-
return this.http.patch(`${this.url}/export-reasons/${id}`, {
|
|
1318
|
-
isActive
|
|
1319
|
-
})
|
|
1421
|
+
return this.http.patch(`${this.url}/export-reasons/${id}`, { isActive })
|
|
1320
1422
|
.pipe(map(({ data }) => data));
|
|
1321
1423
|
}
|
|
1322
1424
|
/**
|
|
@@ -1328,10 +1430,10 @@ class ApiCatalogsService {
|
|
|
1328
1430
|
return this.http.get(`${this.url}/export-reason-types`, { params })
|
|
1329
1431
|
.pipe(map(({ data }) => data));
|
|
1330
1432
|
}
|
|
1331
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1332
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
1433
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCatalogsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1434
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCatalogsService, providedIn: 'root' });
|
|
1333
1435
|
}
|
|
1334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1436
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCatalogsService, decorators: [{
|
|
1335
1437
|
type: Injectable,
|
|
1336
1438
|
args: [{
|
|
1337
1439
|
providedIn: 'root'
|
|
@@ -2405,10 +2507,10 @@ class ApiCompaniesService {
|
|
|
2405
2507
|
}
|
|
2406
2508
|
}).pipe(map(({ data }) => data));
|
|
2407
2509
|
}
|
|
2408
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2409
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2510
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCompaniesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2511
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCompaniesService, providedIn: 'root' });
|
|
2410
2512
|
}
|
|
2411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2513
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCompaniesService, decorators: [{
|
|
2412
2514
|
type: Injectable,
|
|
2413
2515
|
args: [{
|
|
2414
2516
|
providedIn: 'root'
|
|
@@ -2446,10 +2548,10 @@ class ApiCompositionService {
|
|
|
2446
2548
|
return this.http.get(`${this.url}/country-references`, { params })
|
|
2447
2549
|
.pipe(map(({ data }) => data));
|
|
2448
2550
|
}
|
|
2449
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2450
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2551
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCompositionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2552
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCompositionService, providedIn: 'root' });
|
|
2451
2553
|
}
|
|
2452
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2554
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCompositionService, decorators: [{
|
|
2453
2555
|
type: Injectable,
|
|
2454
2556
|
args: [{
|
|
2455
2557
|
providedIn: 'root'
|
|
@@ -2592,10 +2694,10 @@ class ApiCustomsService {
|
|
|
2592
2694
|
params
|
|
2593
2695
|
}).pipe(map(({ data }) => data));
|
|
2594
2696
|
}
|
|
2595
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2596
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2697
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCustomsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2698
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCustomsService, providedIn: 'root' });
|
|
2597
2699
|
}
|
|
2598
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2700
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiCustomsService, decorators: [{
|
|
2599
2701
|
type: Injectable,
|
|
2600
2702
|
args: [{
|
|
2601
2703
|
providedIn: 'root'
|
|
@@ -2823,10 +2925,10 @@ class ApiDiscountsService {
|
|
|
2823
2925
|
return this.http.put(`${this.url}/customer-restrictions/V2/${id}`, body)
|
|
2824
2926
|
.pipe(map(({ data }) => data));
|
|
2825
2927
|
}
|
|
2826
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2827
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
2928
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiDiscountsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2929
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiDiscountsService, providedIn: 'root' });
|
|
2828
2930
|
}
|
|
2829
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
2931
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiDiscountsService, decorators: [{
|
|
2830
2932
|
type: Injectable,
|
|
2831
2933
|
args: [{
|
|
2832
2934
|
providedIn: 'root'
|
|
@@ -2918,10 +3020,10 @@ class ApiEToolsAutoBillingService {
|
|
|
2918
3020
|
return this.http.post(`${this.url}/external-shipments/${id}/re-billing`, body)
|
|
2919
3021
|
.pipe(map(({ data }) => data));
|
|
2920
3022
|
}
|
|
2921
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2922
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3023
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiEToolsAutoBillingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3024
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiEToolsAutoBillingService, providedIn: 'root' });
|
|
2923
3025
|
}
|
|
2924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3026
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiEToolsAutoBillingService, decorators: [{
|
|
2925
3027
|
type: Injectable,
|
|
2926
3028
|
args: [{
|
|
2927
3029
|
providedIn: 'root'
|
|
@@ -2960,10 +3062,10 @@ class ApiEventsService {
|
|
|
2960
3062
|
return this.http.put(`${this.url}/operation-modules/${id}/end`, body)
|
|
2961
3063
|
.pipe(map(({ data }) => data));
|
|
2962
3064
|
}
|
|
2963
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
2964
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3065
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiEventsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3066
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiEventsService, providedIn: 'root' });
|
|
2965
3067
|
}
|
|
2966
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3068
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiEventsService, decorators: [{
|
|
2967
3069
|
type: Injectable,
|
|
2968
3070
|
args: [{
|
|
2969
3071
|
providedIn: 'root'
|
|
@@ -3028,10 +3130,10 @@ class ApiExternalOperationsService {
|
|
|
3028
3130
|
return this.http.put(`${this.url}/delivery-confirmation/confirmation/${otp}`, body)
|
|
3029
3131
|
.pipe(map$1(({ data }) => data));
|
|
3030
3132
|
}
|
|
3031
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3032
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3133
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiExternalOperationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3134
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiExternalOperationsService, providedIn: 'root' });
|
|
3033
3135
|
}
|
|
3034
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiExternalOperationsService, decorators: [{
|
|
3035
3137
|
type: Injectable,
|
|
3036
3138
|
args: [{
|
|
3037
3139
|
providedIn: 'root'
|
|
@@ -3298,10 +3400,10 @@ class ApiInventoriesService {
|
|
|
3298
3400
|
return this.http.get(`${this.url}/stock-update/packages/${id}`)
|
|
3299
3401
|
.pipe(map(({ data }) => data));
|
|
3300
3402
|
}
|
|
3301
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3302
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3403
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiInventoriesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3404
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiInventoriesService, providedIn: 'root' });
|
|
3303
3405
|
}
|
|
3304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3406
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiInventoriesService, decorators: [{
|
|
3305
3407
|
type: Injectable,
|
|
3306
3408
|
args: [{
|
|
3307
3409
|
providedIn: 'root'
|
|
@@ -3759,10 +3861,10 @@ class ApiInvoicesService {
|
|
|
3759
3861
|
return this.http.put(`${this.url}/operation/document/${id}/customer`, data)
|
|
3760
3862
|
.pipe(map(({ data }) => data));
|
|
3761
3863
|
}
|
|
3762
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3763
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3864
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiInvoicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3865
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiInvoicesService, providedIn: 'root' });
|
|
3764
3866
|
}
|
|
3765
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiInvoicesService, decorators: [{
|
|
3766
3868
|
type: Injectable,
|
|
3767
3869
|
args: [{
|
|
3768
3870
|
providedIn: 'root'
|
|
@@ -3852,10 +3954,10 @@ class ApiNotificationsService {
|
|
|
3852
3954
|
return this.http.get(`${this.url}/notification-types`, { params })
|
|
3853
3955
|
.pipe(map(({ data }) => data));
|
|
3854
3956
|
}
|
|
3855
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3856
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
3957
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiNotificationsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3958
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiNotificationsService, providedIn: 'root' });
|
|
3857
3959
|
}
|
|
3858
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
3960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiNotificationsService, decorators: [{
|
|
3859
3961
|
type: Injectable,
|
|
3860
3962
|
args: [{
|
|
3861
3963
|
providedIn: 'root'
|
|
@@ -3903,10 +4005,10 @@ class ApiOpenItemsService {
|
|
|
3903
4005
|
return this.http.post(`${this.url}/other-invoices`, body)
|
|
3904
4006
|
.pipe(map(({ data }) => data));
|
|
3905
4007
|
}
|
|
3906
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3907
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4008
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiOpenItemsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4009
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiOpenItemsService, providedIn: 'root' });
|
|
3908
4010
|
}
|
|
3909
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4011
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiOpenItemsService, decorators: [{
|
|
3910
4012
|
type: Injectable,
|
|
3911
4013
|
args: [{
|
|
3912
4014
|
providedIn: 'root'
|
|
@@ -3973,10 +4075,10 @@ class ApiQuoteService {
|
|
|
3973
4075
|
return this.http.get(`${this.url}/quote-event-types`, { params })
|
|
3974
4076
|
.pipe(map(({ data }) => data));
|
|
3975
4077
|
}
|
|
3976
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
3977
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4078
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiQuoteService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4079
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiQuoteService, providedIn: 'root' });
|
|
3978
4080
|
}
|
|
3979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4081
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiQuoteService, decorators: [{
|
|
3980
4082
|
type: Injectable,
|
|
3981
4083
|
args: [{
|
|
3982
4084
|
providedIn: 'root'
|
|
@@ -4194,10 +4296,10 @@ class ApiReportsService {
|
|
|
4194
4296
|
return this.http.get(`${this.url}/billing-details`, { params })
|
|
4195
4297
|
.pipe(map(({ data }) => data));
|
|
4196
4298
|
}
|
|
4197
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4198
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4299
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiReportsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4300
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiReportsService, providedIn: 'root' });
|
|
4199
4301
|
}
|
|
4200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiReportsService, decorators: [{
|
|
4201
4303
|
type: Injectable,
|
|
4202
4304
|
args: [{
|
|
4203
4305
|
providedIn: 'root'
|
|
@@ -4433,10 +4535,10 @@ class ApiSecurityService {
|
|
|
4433
4535
|
}
|
|
4434
4536
|
}).pipe(map(({ data }) => data));
|
|
4435
4537
|
}
|
|
4436
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4437
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4538
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiSecurityService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4539
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiSecurityService, providedIn: 'root' });
|
|
4438
4540
|
}
|
|
4439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiSecurityService, decorators: [{
|
|
4440
4542
|
type: Injectable,
|
|
4441
4543
|
args: [{
|
|
4442
4544
|
providedIn: 'root'
|
|
@@ -4545,10 +4647,10 @@ class ApiServicesService {
|
|
|
4545
4647
|
params: queryParams
|
|
4546
4648
|
}).pipe(map(({ data }) => data));
|
|
4547
4649
|
}
|
|
4548
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4549
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4650
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiServicesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4651
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiServicesService, providedIn: 'root' });
|
|
4550
4652
|
}
|
|
4551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiServicesService, decorators: [{
|
|
4552
4654
|
type: Injectable,
|
|
4553
4655
|
args: [{
|
|
4554
4656
|
providedIn: 'root'
|
|
@@ -4660,47 +4762,60 @@ class ApiShipmentsService {
|
|
|
4660
4762
|
.pipe(map(({ data }) => data));
|
|
4661
4763
|
}
|
|
4662
4764
|
/**
|
|
4663
|
-
* Retrieves a paginated list of
|
|
4664
|
-
*
|
|
4665
|
-
* @
|
|
4765
|
+
* Retrieves a paginated list of document configurations.
|
|
4766
|
+
*
|
|
4767
|
+
* @param {QueryParams} params - Query parameters used for filtering, sorting, and pagination.
|
|
4768
|
+
* @returns {Observable<DocumentConfigurationsOut>} An observable containing the list of document configurations and pagination metadata.
|
|
4666
4769
|
*/
|
|
4667
|
-
|
|
4668
|
-
return this.http.get(`${this.url}/
|
|
4770
|
+
getDocumentConfigurations(params) {
|
|
4771
|
+
return this.http.get(`${this.url}/document-configurations`, {
|
|
4669
4772
|
params
|
|
4670
4773
|
}).pipe(map(({ data }) => data));
|
|
4671
4774
|
}
|
|
4672
4775
|
/**
|
|
4673
|
-
* Retrieves
|
|
4776
|
+
* Retrieves a document configuration by its identifier.
|
|
4674
4777
|
*
|
|
4675
|
-
* @param {number} id - The identifier of the
|
|
4676
|
-
* @
|
|
4778
|
+
* @param {number} id - The unique identifier of the document configuration.
|
|
4779
|
+
* @returns {Observable<DocumentConfigurationOut>} An observable containing the document configuration details.
|
|
4677
4780
|
*/
|
|
4678
|
-
|
|
4679
|
-
return this.http.get(`${this.url}/
|
|
4781
|
+
getDocumentConfiguration(id) {
|
|
4782
|
+
return this.http.get(`${this.url}/document-configurations/${id}`).pipe(map(({ data }) => data));
|
|
4680
4783
|
}
|
|
4681
4784
|
/**
|
|
4682
|
-
* Creates a new
|
|
4683
|
-
*
|
|
4684
|
-
* @
|
|
4785
|
+
* Creates a new document configuration.
|
|
4786
|
+
*
|
|
4787
|
+
* @param {DocumentConfigurationIn} body - The document configuration data to create.
|
|
4788
|
+
* @returns {Observable<DocumentConfigurationOut>} An observable containing the newly created document configuration.
|
|
4685
4789
|
*/
|
|
4686
|
-
|
|
4687
|
-
return this.http.post(`${this.url}/
|
|
4790
|
+
postDocumentConfiguration(body) {
|
|
4791
|
+
return this.http.post(`${this.url}/document-configurations`, body)
|
|
4688
4792
|
.pipe(map(({ data }) => data));
|
|
4689
4793
|
}
|
|
4690
4794
|
/**
|
|
4691
|
-
* Updates an existing
|
|
4692
|
-
*
|
|
4693
|
-
* @param {
|
|
4694
|
-
* @
|
|
4795
|
+
* Updates an existing document configuration.
|
|
4796
|
+
*
|
|
4797
|
+
* @param {number} id - The unique identifier of the document configuration to update.
|
|
4798
|
+
* @param {DocumentConfigurationIn} body - The updated document configuration data.
|
|
4799
|
+
* @returns {Observable<DocumentConfigurationOut>} An observable containing the updated document configuration.
|
|
4800
|
+
*/
|
|
4801
|
+
putDocumentConfiguration(id, body) {
|
|
4802
|
+
return this.http.put(`${this.url}/document-configurations/${id}`, body)
|
|
4803
|
+
.pipe(map(({ data }) => data));
|
|
4804
|
+
}
|
|
4805
|
+
/**
|
|
4806
|
+
* Generates a preview for a document configuration.
|
|
4807
|
+
*
|
|
4808
|
+
* @param {DocumentConfigurationsPreviewIn} body - The data used to generate the document preview.
|
|
4809
|
+
* @returns {Observable<DocumentConfigurationsPreviewOut>} An observable containing the generated document preview.
|
|
4695
4810
|
*/
|
|
4696
|
-
|
|
4697
|
-
return this.http.
|
|
4811
|
+
postDocumentConfigurationPreview(body) {
|
|
4812
|
+
return this.http.post(`${this.url}/document-configurations/preview`, body)
|
|
4698
4813
|
.pipe(map(({ data }) => data));
|
|
4699
4814
|
}
|
|
4700
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4701
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4815
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiShipmentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4816
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiShipmentsService, providedIn: 'root' });
|
|
4702
4817
|
}
|
|
4703
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiShipmentsService, decorators: [{
|
|
4704
4819
|
type: Injectable,
|
|
4705
4820
|
args: [{
|
|
4706
4821
|
providedIn: 'root'
|
|
@@ -4819,10 +4934,10 @@ class ApiSuppliesService {
|
|
|
4819
4934
|
return this.http.get(`${this.url}/supply-locations/export/excel`, { params })
|
|
4820
4935
|
.pipe(map(({ data }) => data));
|
|
4821
4936
|
}
|
|
4822
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4823
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
4937
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiSuppliesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4938
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiSuppliesService, providedIn: 'root' });
|
|
4824
4939
|
}
|
|
4825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
4940
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiSuppliesService, decorators: [{
|
|
4826
4941
|
type: Injectable,
|
|
4827
4942
|
args: [{
|
|
4828
4943
|
providedIn: 'root'
|
|
@@ -4955,10 +5070,10 @@ class ApiSurveysService {
|
|
|
4955
5070
|
return this.http.post(`${this.url}/customer-surveys/${uuid}/finish`, body)
|
|
4956
5071
|
.pipe(map(({ data }) => data));
|
|
4957
5072
|
}
|
|
4958
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
4959
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5073
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiSurveysService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5074
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiSurveysService, providedIn: 'root' });
|
|
4960
5075
|
}
|
|
4961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5076
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiSurveysService, decorators: [{
|
|
4962
5077
|
type: Injectable,
|
|
4963
5078
|
args: [{
|
|
4964
5079
|
providedIn: 'root'
|
|
@@ -4994,6 +5109,14 @@ var ViewSectionOption;
|
|
|
4994
5109
|
ViewSectionOption["BILLING"] = "billing";
|
|
4995
5110
|
ViewSectionOption["CUSTOMER_RESTRICTION"] = "customerRestriction";
|
|
4996
5111
|
})(ViewSectionOption || (ViewSectionOption = {}));
|
|
5112
|
+
var ShipmentIncomeTypeCode;
|
|
5113
|
+
(function (ShipmentIncomeTypeCode) {
|
|
5114
|
+
ShipmentIncomeTypeCode["MANUAL"] = "EM";
|
|
5115
|
+
ShipmentIncomeTypeCode["MOBILE"] = "EE";
|
|
5116
|
+
ShipmentIncomeTypeCode["FOLIO"] = "EF";
|
|
5117
|
+
ShipmentIncomeTypeCode["EMPLOYEE"] = "EEM";
|
|
5118
|
+
ShipmentIncomeTypeCode["EMBASSY"] = "EMB";
|
|
5119
|
+
})(ShipmentIncomeTypeCode || (ShipmentIncomeTypeCode = {}));
|
|
4997
5120
|
|
|
4998
5121
|
var OperationModuleStatus;
|
|
4999
5122
|
(function (OperationModuleStatus) {
|
|
@@ -5148,10 +5271,10 @@ class WebSocketsService {
|
|
|
5148
5271
|
const waitTime = 3 * 1000;
|
|
5149
5272
|
return new Promise((resolve) => setTimeout(resolve, waitTime));
|
|
5150
5273
|
}
|
|
5151
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5152
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5274
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: WebSocketsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5275
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: WebSocketsService, providedIn: 'root' });
|
|
5153
5276
|
}
|
|
5154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5277
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: WebSocketsService, decorators: [{
|
|
5155
5278
|
type: Injectable,
|
|
5156
5279
|
args: [{
|
|
5157
5280
|
providedIn: 'root',
|
|
@@ -5237,10 +5360,10 @@ class CryptoService {
|
|
|
5237
5360
|
}
|
|
5238
5361
|
return bytes.buffer;
|
|
5239
5362
|
}
|
|
5240
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
5241
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
5363
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CryptoService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5364
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CryptoService, providedIn: 'root' });
|
|
5242
5365
|
}
|
|
5243
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
5366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: CryptoService, decorators: [{
|
|
5244
5367
|
type: Injectable,
|
|
5245
5368
|
args: [{
|
|
5246
5369
|
providedIn: 'root'
|
|
@@ -5426,5 +5549,5 @@ const xmlHeaders = (format = 'object') => {
|
|
|
5426
5549
|
* Generated bundle index. Do not edit.
|
|
5427
5550
|
*/
|
|
5428
5551
|
|
|
5429
|
-
export { AlphaNumeric, ApiBillingCOService, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService, DefaultValueType, DepositTypeCode, DocumentStatusCode, ENVIRONMENT_TOKEN, Event, Group, NgxServicesModule, OpeningStatusCode, OperationModuleStatus, PaymentTypeCode, TransferenceTypeCode, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
|
|
5552
|
+
export { AlphaNumeric, ApiBillingCOService, ApiBillingDOService, ApiBillingGtService, ApiBillingMxService, ApiBillingPaService, ApiBillingSvService, ApiCashOperationsService, ApiCatalogsService, ApiCompaniesService, ApiCompositionService, ApiCustomsService, ApiDiscountsService, ApiEToolsAutoBillingService, ApiEventsService, ApiExternalOperationsService, ApiInventoriesService, ApiInvoicesService, ApiNotificationsService, ApiOpenItemsService, ApiQuoteService, ApiReportsService, ApiSecurityService, ApiServicesService, ApiShipmentsService, ApiSuppliesService, ApiSurveysService, CryptoService, DefaultValueType, DepositTypeCode, DocumentStatusCode, ENVIRONMENT_TOKEN, Event, Group, NgxServicesModule, OpeningStatusCode, OperationModuleStatus, PaymentTypeCode, ShipmentIncomeTypeCode, TransferenceTypeCode, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
|
|
5430
5553
|
//# sourceMappingURL=experteam-mx-ngx-services.mjs.map
|