@experteam-mx/ngx-services 20.7.0-dev1.5 → 20.7.0-dev3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2538,6 +2538,16 @@ class ApiCompositionService {
|
|
|
2538
2538
|
return this.http.get(`${this.url}/shipments/${id}`)
|
|
2539
2539
|
.pipe(map(({ data }) => data));
|
|
2540
2540
|
}
|
|
2541
|
+
/**
|
|
2542
|
+
* Retrieves shipments based on the provided query parameters.
|
|
2543
|
+
*
|
|
2544
|
+
* @param {QueryParams} params - The query parameters for the API request.
|
|
2545
|
+
* @returns {Observable<ShipmentsOut>} An observable that emits the shipments data.
|
|
2546
|
+
*/
|
|
2547
|
+
getShipments(params) {
|
|
2548
|
+
return this.http.get(`${this.url}/shipments`, { params })
|
|
2549
|
+
.pipe(map(({ data }) => data));
|
|
2550
|
+
}
|
|
2541
2551
|
/**
|
|
2542
2552
|
* Fetches the country references data based on the provided query parameters.
|
|
2543
2553
|
*
|
|
@@ -4778,63 +4788,41 @@ class ApiShipmentsService {
|
|
|
4778
4788
|
.pipe(map(({ data }) => data));
|
|
4779
4789
|
}
|
|
4780
4790
|
/**
|
|
4781
|
-
* Retrieves a paginated list of
|
|
4782
|
-
*
|
|
4783
|
-
* @
|
|
4784
|
-
* @returns {Observable<DocumentConfigurationsOut>} An observable containing the list of document configurations and pagination metadata.
|
|
4791
|
+
* Retrieves a paginated list of signature page settings
|
|
4792
|
+
* @param {QueryParams} params - Query parameters for filtering and pagination
|
|
4793
|
+
* @returns {Observable<SignaturePageSettingsOut>} Observable containing the list of signature page settings and pagination metadata
|
|
4785
4794
|
*/
|
|
4786
|
-
|
|
4787
|
-
return this.http.get(`${this.url}/
|
|
4795
|
+
getSignaturePageSettings(params) {
|
|
4796
|
+
return this.http.get(`${this.url}/signature-page-settings`, {
|
|
4788
4797
|
params
|
|
4789
4798
|
}).pipe(map(({ data }) => data));
|
|
4790
4799
|
}
|
|
4791
4800
|
/**
|
|
4792
|
-
* Retrieves a
|
|
4801
|
+
* Retrieves the details of a signature page setting based on its ID.
|
|
4793
4802
|
*
|
|
4794
|
-
* @param {number} id - The
|
|
4795
|
-
* @
|
|
4803
|
+
* @param {number} id - The identifier of the signature page setting to fetch.
|
|
4804
|
+
* @return {Observable<SignaturePageSettingOut>} An observable that emits the signature page setting data.
|
|
4796
4805
|
*/
|
|
4797
|
-
|
|
4798
|
-
return this.http.get(`${this.url}/
|
|
4806
|
+
getSignaturePageSetting(id) {
|
|
4807
|
+
return this.http.get(`${this.url}/signature-page-settings/${id}`).pipe(map(({ data }) => data));
|
|
4799
4808
|
}
|
|
4800
4809
|
/**
|
|
4801
|
-
* Creates a new
|
|
4802
|
-
*
|
|
4803
|
-
* @
|
|
4804
|
-
* @returns {Observable<DocumentConfigurationOut>} An observable containing the newly created document configuration.
|
|
4810
|
+
* Creates a new signature page setting
|
|
4811
|
+
* @param {SignaturePageSettingIn} body - The signature page setting data to create
|
|
4812
|
+
* @returns {Observable<SignaturePageSettingOut>} Observable containing the created signature page setting with its assigned ID
|
|
4805
4813
|
*/
|
|
4806
|
-
|
|
4807
|
-
return this.http.post(`${this.url}/
|
|
4814
|
+
postSignaturePageSetting(body) {
|
|
4815
|
+
return this.http.post(`${this.url}/signature-page-settings`, body)
|
|
4808
4816
|
.pipe(map(({ data }) => data));
|
|
4809
4817
|
}
|
|
4810
4818
|
/**
|
|
4811
|
-
* Updates an existing
|
|
4812
|
-
*
|
|
4813
|
-
* @param {
|
|
4814
|
-
* @
|
|
4815
|
-
* @returns {Observable<DocumentConfigurationOut>} An observable containing the updated document configuration.
|
|
4819
|
+
* Updates an existing signature page setting
|
|
4820
|
+
* @param {number} id - The unique identifier of the signature page setting to update
|
|
4821
|
+
* @param {SignaturePageSettingIn} body - The updated signature page setting data
|
|
4822
|
+
* @returns {Observable<SignaturePageSettingOut>} Observable containing the updated signature page setting
|
|
4816
4823
|
*/
|
|
4817
|
-
|
|
4818
|
-
return this.http.put(`${this.url}/
|
|
4819
|
-
.pipe(map(({ data }) => data));
|
|
4820
|
-
}
|
|
4821
|
-
/**
|
|
4822
|
-
* Generates a preview for a document configuration.
|
|
4823
|
-
*
|
|
4824
|
-
* @param {DocumentConfigurationsPreviewIn} body - The data used to generate the document preview.
|
|
4825
|
-
* @returns {Observable<DocumentConfigurationsPreviewOut>} An observable containing the generated document preview.
|
|
4826
|
-
*/
|
|
4827
|
-
postDocumentConfigurationPreview(body) {
|
|
4828
|
-
return this.http.post(`${this.url}/document-configurations/preview`, body)
|
|
4829
|
-
.pipe(map(({ data }) => data));
|
|
4830
|
-
}
|
|
4831
|
-
/**
|
|
4832
|
-
* Retrieves the shipment documents associated with a document configuration
|
|
4833
|
-
* @param {number} id - The unique identifier of the document configuration
|
|
4834
|
-
* @returns {Observable<ShipmentDocumentsOut>} observable containing the shipment documents
|
|
4835
|
-
* */
|
|
4836
|
-
getDocuments(id) {
|
|
4837
|
-
return this.http.get(`${this.url}/shipments/${id}/documents`)
|
|
4824
|
+
putSignaturePageSetting(id, body) {
|
|
4825
|
+
return this.http.put(`${this.url}/signature-page-settings/${id}`, body)
|
|
4838
4826
|
.pipe(map(({ data }) => data));
|
|
4839
4827
|
}
|
|
4840
4828
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.25", ngImport: i0, type: ApiShipmentsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
@@ -5361,6 +5349,14 @@ var DocumentStatusCode;
|
|
|
5361
5349
|
DocumentStatusCode[DocumentStatusCode["WITH_ERRORS"] = 3] = "WITH_ERRORS";
|
|
5362
5350
|
})(DocumentStatusCode || (DocumentStatusCode = {}));
|
|
5363
5351
|
|
|
5352
|
+
var CustomerRoleType;
|
|
5353
|
+
(function (CustomerRoleType) {
|
|
5354
|
+
CustomerRoleType["SHIPPER"] = "SP";
|
|
5355
|
+
CustomerRoleType["CONSIGNEE"] = "RV";
|
|
5356
|
+
CustomerRoleType["IMPORTER"] = "IP";
|
|
5357
|
+
CustomerRoleType["EXPORTER"] = "EP";
|
|
5358
|
+
})(CustomerRoleType || (CustomerRoleType = {}));
|
|
5359
|
+
|
|
5364
5360
|
class WebSocketsService {
|
|
5365
5361
|
pusher;
|
|
5366
5362
|
environments = inject(ENVIRONMENT_TOKEN);
|
|
@@ -5727,5 +5723,5 @@ const xmlHeaders = (format = 'object') => {
|
|
|
5727
5723
|
* Generated bundle index. Do not edit.
|
|
5728
5724
|
*/
|
|
5729
5725
|
|
|
5730
|
-
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, PrintMode, PrintableFormat, PrintersService, PrintersType, ShipmentIncomeTypeCode, TransferenceTypeCode, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
|
|
5726
|
+
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, CustomerRoleType, DefaultValueType, DepositTypeCode, DocumentStatusCode, ENVIRONMENT_TOKEN, Event, Group, NgxServicesModule, OpeningStatusCode, OperationModuleStatus, PaymentTypeCode, PrintMode, PrintableFormat, PrintersService, PrintersType, ShipmentIncomeTypeCode, TransferenceTypeCode, ViewSectionOption, WebSocketsService, apiHeadersInterceptor, apiTokenInterceptor, base64PdfToUrl, downloadBase64Pdf, httpCachingInterceptor, httpParams, pdfHeaders, provideNgxServices, queryString, xmlHeaders };
|
|
5731
5727
|
//# sourceMappingURL=experteam-mx-ngx-services.mjs.map
|