@pronesoft-rd/ecf-sdk 0.0.1 → 0.0.3
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/.openapi-generator/FILES +104 -2
- package/README.md +90 -24
- package/dist/apis/AssociatedCompaniesApi.d.ts +195 -40
- package/dist/apis/AssociatedCompaniesApi.js +252 -23
- package/dist/apis/AuthenticationApi.d.ts +11 -11
- package/dist/apis/AuthenticationApi.js +7 -7
- package/dist/apis/AutomatedCertificationApi.d.ts +164 -0
- package/dist/apis/AutomatedCertificationApi.js +232 -0
- package/dist/apis/CommercialApprovalsApi.d.ts +120 -0
- package/dist/apis/CommercialApprovalsApi.js +141 -0
- package/dist/apis/DigitalCertificatesApi.d.ts +17 -17
- package/dist/apis/DigitalCertificatesApi.js +7 -7
- package/dist/apis/DocumentsReceivedApi.d.ts +117 -0
- package/dist/apis/DocumentsReceivedApi.js +152 -0
- package/dist/apis/DocumentsSentApi.d.ts +216 -0
- package/dist/apis/DocumentsSentApi.js +286 -0
- package/dist/apis/ECFSubmissionApi.d.ts +130 -13
- package/dist/apis/ECFSubmissionApi.js +168 -8
- package/dist/apis/ReportsApi.d.ts +143 -0
- package/dist/apis/ReportsApi.js +193 -0
- package/dist/apis/TaxSequencesApi.d.ts +120 -38
- package/dist/apis/TaxSequencesApi.js +129 -22
- package/dist/apis/WebhookConfigurationApi.d.ts +60 -53
- package/dist/apis/WebhookConfigurationApi.js +49 -41
- package/dist/apis/index.d.ts +5 -0
- package/dist/apis/index.js +5 -0
- package/dist/esm/apis/AssociatedCompaniesApi.d.ts +195 -40
- package/dist/esm/apis/AssociatedCompaniesApi.js +253 -24
- package/dist/esm/apis/AuthenticationApi.d.ts +11 -11
- package/dist/esm/apis/AuthenticationApi.js +7 -7
- package/dist/esm/apis/AutomatedCertificationApi.d.ts +164 -0
- package/dist/esm/apis/AutomatedCertificationApi.js +228 -0
- package/dist/esm/apis/CommercialApprovalsApi.d.ts +120 -0
- package/dist/esm/apis/CommercialApprovalsApi.js +137 -0
- package/dist/esm/apis/DigitalCertificatesApi.d.ts +17 -17
- package/dist/esm/apis/DigitalCertificatesApi.js +7 -7
- package/dist/esm/apis/DocumentsReceivedApi.d.ts +117 -0
- package/dist/esm/apis/DocumentsReceivedApi.js +148 -0
- package/dist/esm/apis/DocumentsSentApi.d.ts +216 -0
- package/dist/esm/apis/DocumentsSentApi.js +282 -0
- package/dist/esm/apis/ECFSubmissionApi.d.ts +130 -13
- package/dist/esm/apis/ECFSubmissionApi.js +169 -9
- package/dist/esm/apis/ReportsApi.d.ts +143 -0
- package/dist/esm/apis/ReportsApi.js +189 -0
- package/dist/esm/apis/TaxSequencesApi.d.ts +120 -38
- package/dist/esm/apis/TaxSequencesApi.js +130 -23
- package/dist/esm/apis/WebhookConfigurationApi.d.ts +60 -53
- package/dist/esm/apis/WebhookConfigurationApi.js +49 -41
- package/dist/esm/apis/index.d.ts +5 -0
- package/dist/esm/apis/index.js +5 -0
- package/dist/esm/models/AccountType.d.ts +4 -8
- package/dist/esm/models/AccountType.js +4 -8
- package/dist/esm/models/AdditionalInfo.d.ts +60 -12
- package/dist/esm/models/AdditionalInfo.js +23 -7
- package/dist/esm/models/AlternativeCurrency.d.ts +78 -8
- package/dist/esm/models/AlternativeCurrency.js +27 -3
- package/dist/esm/models/ApprovalItem.d.ts +74 -0
- package/dist/esm/models/ApprovalItem.js +55 -0
- package/dist/esm/models/ApprovalListResponse.d.ts +40 -0
- package/dist/esm/models/ApprovalListResponse.js +45 -0
- package/dist/esm/models/AssociatedCompany.d.ts +33 -14
- package/dist/esm/models/AssociatedCompany.js +18 -11
- package/dist/esm/models/AssociatedCompanySubscription.d.ts +5 -5
- package/dist/esm/models/AssociatedCompanySubscription.js +3 -3
- package/dist/esm/models/AssociatedCompanySubscriptionPlan.d.ts +4 -4
- package/dist/esm/models/AssociatedCompanySubscriptionPlan.js +3 -3
- package/dist/esm/models/BillingIndicator.d.ts +4 -10
- package/dist/esm/models/BillingIndicator.js +4 -10
- package/dist/esm/models/Buyer.d.ts +71 -11
- package/dist/esm/models/Buyer.js +23 -3
- package/dist/esm/models/CertificationNiche.d.ts +51 -0
- package/dist/esm/models/CertificationNiche.js +48 -0
- package/dist/esm/models/CertificationNicheNicheItemsInner.d.ts +38 -0
- package/dist/esm/models/CertificationNicheNicheItemsInner.js +43 -0
- package/dist/esm/models/CertificationStatus.d.ts +54 -0
- package/dist/esm/models/CertificationStatus.js +54 -0
- package/dist/esm/models/CompanyDocumentMetrics.d.ts +53 -0
- package/dist/esm/models/CompanyDocumentMetrics.js +50 -0
- package/dist/esm/models/CompanyDocumentMetricsGroupByStatusInner.d.ts +39 -0
- package/dist/esm/models/CompanyDocumentMetricsGroupByStatusInner.js +44 -0
- package/dist/esm/models/CompanyDocumentMetricsGroupByStatusInnerCount.d.ts +32 -0
- package/dist/esm/models/CompanyDocumentMetricsGroupByStatusInnerCount.js +41 -0
- package/dist/esm/models/CompanyDocumentMetricsMainBusiness.d.ts +44 -0
- package/dist/esm/models/CompanyDocumentMetricsMainBusiness.js +45 -0
- package/dist/esm/models/CompanyDocumentMetricsTotals.d.ts +38 -0
- package/dist/esm/models/CompanyDocumentMetricsTotals.js +43 -0
- package/dist/esm/models/CompanyMetrics.d.ts +81 -0
- package/dist/esm/models/CompanyMetrics.js +58 -0
- package/dist/esm/models/CompanyMetricsDocumentsStatus.d.ts +44 -0
- package/dist/esm/models/CompanyMetricsDocumentsStatus.js +45 -0
- package/dist/esm/models/CreateAssociatedCompany201Response.d.ts +3 -3
- package/dist/esm/models/CreateAssociatedCompany201Response.js +3 -3
- package/dist/esm/models/CreateTaxSequence201Response.d.ts +39 -0
- package/dist/esm/models/CreateTaxSequence201Response.js +44 -0
- package/dist/esm/models/CreateTaxSequenceRequest.d.ts +27 -10
- package/dist/esm/models/CreateTaxSequenceRequest.js +13 -6
- package/dist/esm/models/DeleteAssociatedCompany200Response.d.ts +32 -0
- package/dist/esm/models/DeleteAssociatedCompany200Response.js +41 -0
- package/dist/esm/models/DiscountOrSurcharge.d.ts +31 -19
- package/dist/esm/models/DiscountOrSurcharge.js +16 -7
- package/dist/esm/models/DocumentStatsResponse.d.ts +54 -0
- package/dist/esm/models/DocumentStatsResponse.js +47 -0
- package/dist/esm/models/DocumentStatus.d.ts +28 -0
- package/dist/esm/models/DocumentStatus.js +46 -0
- package/dist/esm/models/EcfHistoryItem.d.ts +83 -0
- package/dist/esm/models/EcfHistoryItem.js +60 -0
- package/dist/esm/models/EcfStatsResponse.d.ts +80 -0
- package/dist/esm/models/EcfStatsResponse.js +57 -0
- package/dist/esm/models/EcfStatusResponse.d.ts +110 -0
- package/dist/esm/models/EcfStatusResponse.js +74 -0
- package/dist/esm/models/EcfStatusResponseMensajesInner.d.ts +38 -0
- package/dist/esm/models/EcfStatusResponseMensajesInner.js +43 -0
- package/dist/esm/models/EcfSubmissionResponse.d.ts +68 -11
- package/dist/esm/models/EcfSubmissionResponse.js +25 -8
- package/dist/esm/models/EcfSubmissionResponseDgiiResponse.d.ts +50 -0
- package/dist/esm/models/EcfSubmissionResponseDgiiResponse.js +47 -0
- package/dist/esm/models/ElectronicDocument.d.ts +166 -64
- package/dist/esm/models/ElectronicDocument.js +66 -22
- package/dist/esm/models/Environment.d.ts +4 -8
- package/dist/esm/models/Environment.js +4 -8
- package/dist/esm/models/ErrorResponse.d.ts +13 -7
- package/dist/esm/models/ErrorResponse.js +5 -3
- package/dist/esm/models/GetNextNumber200Response.d.ts +3 -3
- package/dist/esm/models/GetNextNumber200Response.js +3 -3
- package/dist/esm/models/GetNextNumber200ResponseData.d.ts +11 -5
- package/dist/esm/models/GetNextNumber200ResponseData.js +5 -3
- package/dist/esm/models/InvoiceType.d.ts +6 -14
- package/dist/esm/models/InvoiceType.js +6 -14
- package/dist/esm/models/InvoiceTypeSequence.d.ts +33 -0
- package/dist/esm/models/InvoiceTypeSequence.js +51 -0
- package/dist/esm/models/Item.d.ts +118 -21
- package/dist/esm/models/Item.js +45 -9
- package/dist/esm/models/ItemAdditionalTax.d.ts +7 -7
- package/dist/esm/models/ItemAdditionalTax.js +4 -6
- package/dist/esm/models/ItemAlternativeCurrency.d.ts +50 -0
- package/dist/esm/models/ItemAlternativeCurrency.js +47 -0
- package/dist/esm/models/ItemCodesInner.d.ts +38 -0
- package/dist/esm/models/ItemCodesInner.js +43 -0
- package/dist/esm/models/ItemDiscountInner.d.ts +44 -0
- package/dist/esm/models/ItemDiscountInner.js +45 -0
- package/dist/esm/models/ItemMiningInfo.d.ts +50 -0
- package/dist/esm/models/ItemMiningInfo.js +47 -0
- package/dist/esm/models/ListTaxSequences200Response.d.ts +10 -3
- package/dist/esm/models/ListTaxSequences200Response.js +6 -3
- package/dist/esm/models/OAuthTokenRequest.d.ts +6 -11
- package/dist/esm/models/OAuthTokenRequest.js +3 -3
- package/dist/esm/models/OAuthTokenResponse.d.ts +7 -9
- package/dist/esm/models/OAuthTokenResponse.js +3 -3
- package/dist/esm/models/Page.d.ts +15 -15
- package/dist/esm/models/Page.js +10 -16
- package/dist/esm/models/PaginationMeta.d.ts +50 -0
- package/dist/esm/models/PaginationMeta.js +47 -0
- package/dist/esm/models/PaymentForm.d.ts +39 -0
- package/dist/esm/models/PaymentForm.js +48 -0
- package/dist/esm/models/PaymentMethod.d.ts +4 -13
- package/dist/esm/models/PaymentMethod.js +4 -13
- package/dist/esm/models/PrintFormat.d.ts +3 -7
- package/dist/esm/models/PrintFormat.js +3 -7
- package/dist/esm/models/ProcessingLog.d.ts +54 -0
- package/dist/esm/models/ProcessingLog.js +54 -0
- package/dist/esm/models/RateLimitErrorResponse.d.ts +50 -0
- package/dist/esm/models/RateLimitErrorResponse.js +47 -0
- package/dist/esm/models/ReceivedDocument.d.ts +81 -0
- package/dist/esm/models/ReceivedDocument.js +58 -0
- package/dist/esm/models/ReceivedDocumentListResponse.d.ts +46 -0
- package/dist/esm/models/ReceivedDocumentListResponse.js +47 -0
- package/dist/esm/models/ReceivedDocumentStatsResponse.d.ts +46 -0
- package/dist/esm/models/ReceivedDocumentStatsResponse.js +45 -0
- package/dist/esm/models/ReferenceInfo.d.ts +9 -18
- package/dist/esm/models/ReferenceInfo.js +4 -4
- package/dist/esm/models/SentDocumentDetail.d.ts +107 -0
- package/dist/esm/models/SentDocumentDetail.js +68 -0
- package/dist/esm/models/SentDocumentListResponse.d.ts +46 -0
- package/dist/esm/models/SentDocumentListResponse.js +47 -0
- package/dist/esm/models/SentDocumentSummary.d.ts +94 -0
- package/dist/esm/models/SentDocumentSummary.js +63 -0
- package/dist/esm/models/SentDocumentSummaryBusiness.d.ts +38 -0
- package/dist/esm/models/SentDocumentSummaryBusiness.js +43 -0
- package/dist/esm/models/StartCertification200Response.d.ts +32 -0
- package/dist/esm/models/StartCertification200Response.js +41 -0
- package/dist/esm/models/StartCertificationRequest.d.ts +51 -0
- package/dist/esm/models/StartCertificationRequest.js +54 -0
- package/dist/esm/models/Subquantity.d.ts +6 -6
- package/dist/esm/models/Subquantity.js +3 -3
- package/dist/esm/models/Subtotal.d.ts +18 -12
- package/dist/esm/models/Subtotal.js +8 -10
- package/dist/esm/models/TaxSequence.d.ts +68 -10
- package/dist/esm/models/TaxSequence.js +33 -8
- package/dist/esm/models/TaxSequenceCreated.d.ts +64 -0
- package/dist/esm/models/TaxSequenceCreated.js +53 -0
- package/dist/esm/models/Totals.d.ts +29 -32
- package/dist/esm/models/Totals.js +5 -6
- package/dist/esm/models/Transport.d.ts +26 -14
- package/dist/esm/models/Transport.js +11 -7
- package/dist/esm/models/UpdateTaxSequenceRequest.d.ts +64 -0
- package/dist/esm/models/UpdateTaxSequenceRequest.js +53 -0
- package/dist/esm/models/UploadCertificateResponse.d.ts +7 -7
- package/dist/esm/models/UploadCertificateResponse.js +3 -3
- package/dist/esm/models/VoidTaxSequence200Response.d.ts +39 -0
- package/dist/esm/models/VoidTaxSequence200Response.js +44 -0
- package/dist/esm/models/VoidTaxSequence200ResponseData.d.ts +44 -0
- package/dist/esm/models/VoidTaxSequence200ResponseData.js +45 -0
- package/dist/esm/models/VoidTaxSequenceRequest.d.ts +50 -0
- package/dist/esm/models/VoidTaxSequenceRequest.js +55 -0
- package/dist/esm/models/WebhookConfigDetail.d.ts +81 -0
- package/dist/esm/models/WebhookConfigDetail.js +58 -0
- package/dist/esm/models/WebhookConfigResponse.d.ts +21 -9
- package/dist/esm/models/WebhookConfigResponse.js +7 -3
- package/dist/esm/models/WebhookEventType.d.ts +9 -8
- package/dist/esm/models/WebhookEventType.js +9 -8
- package/dist/esm/models/WebhookNotificationPayload.d.ts +10 -9
- package/dist/esm/models/WebhookNotificationPayload.js +3 -3
- package/dist/esm/models/WebhookStats.d.ts +45 -0
- package/dist/esm/models/WebhookStats.js +46 -0
- package/dist/esm/models/WebhookStatsStats.d.ts +62 -0
- package/dist/esm/models/WebhookStatsStats.js +51 -0
- package/dist/esm/models/index.d.ts +47 -1
- package/dist/esm/models/index.js +47 -1
- package/dist/esm/runtime.d.ts +3 -3
- package/dist/esm/runtime.js +3 -3
- package/dist/models/AccountType.d.ts +4 -8
- package/dist/models/AccountType.js +4 -8
- package/dist/models/AdditionalInfo.d.ts +60 -12
- package/dist/models/AdditionalInfo.js +23 -7
- package/dist/models/AlternativeCurrency.d.ts +78 -8
- package/dist/models/AlternativeCurrency.js +27 -3
- package/dist/models/ApprovalItem.d.ts +74 -0
- package/dist/models/ApprovalItem.js +62 -0
- package/dist/models/ApprovalListResponse.d.ts +40 -0
- package/dist/models/ApprovalListResponse.js +52 -0
- package/dist/models/AssociatedCompany.d.ts +33 -14
- package/dist/models/AssociatedCompany.js +18 -11
- package/dist/models/AssociatedCompanySubscription.d.ts +5 -5
- package/dist/models/AssociatedCompanySubscription.js +3 -3
- package/dist/models/AssociatedCompanySubscriptionPlan.d.ts +4 -4
- package/dist/models/AssociatedCompanySubscriptionPlan.js +3 -3
- package/dist/models/BillingIndicator.d.ts +4 -10
- package/dist/models/BillingIndicator.js +4 -10
- package/dist/models/Buyer.d.ts +71 -11
- package/dist/models/Buyer.js +23 -3
- package/dist/models/CertificationNiche.d.ts +51 -0
- package/dist/models/CertificationNiche.js +55 -0
- package/dist/models/CertificationNicheNicheItemsInner.d.ts +38 -0
- package/dist/models/CertificationNicheNicheItemsInner.js +50 -0
- package/dist/models/CertificationStatus.d.ts +54 -0
- package/dist/models/CertificationStatus.js +62 -0
- package/dist/models/CompanyDocumentMetrics.d.ts +53 -0
- package/dist/models/CompanyDocumentMetrics.js +57 -0
- package/dist/models/CompanyDocumentMetricsGroupByStatusInner.d.ts +39 -0
- package/dist/models/CompanyDocumentMetricsGroupByStatusInner.js +51 -0
- package/dist/models/CompanyDocumentMetricsGroupByStatusInnerCount.d.ts +32 -0
- package/dist/models/CompanyDocumentMetricsGroupByStatusInnerCount.js +48 -0
- package/dist/models/CompanyDocumentMetricsMainBusiness.d.ts +44 -0
- package/dist/models/CompanyDocumentMetricsMainBusiness.js +52 -0
- package/dist/models/CompanyDocumentMetricsTotals.d.ts +38 -0
- package/dist/models/CompanyDocumentMetricsTotals.js +50 -0
- package/dist/models/CompanyMetrics.d.ts +81 -0
- package/dist/models/CompanyMetrics.js +65 -0
- package/dist/models/CompanyMetricsDocumentsStatus.d.ts +44 -0
- package/dist/models/CompanyMetricsDocumentsStatus.js +52 -0
- package/dist/models/CreateAssociatedCompany201Response.d.ts +3 -3
- package/dist/models/CreateAssociatedCompany201Response.js +3 -3
- package/dist/models/CreateTaxSequence201Response.d.ts +39 -0
- package/dist/models/CreateTaxSequence201Response.js +51 -0
- package/dist/models/CreateTaxSequenceRequest.d.ts +27 -10
- package/dist/models/CreateTaxSequenceRequest.js +13 -6
- package/dist/models/DeleteAssociatedCompany200Response.d.ts +32 -0
- package/dist/models/DeleteAssociatedCompany200Response.js +48 -0
- package/dist/models/DiscountOrSurcharge.d.ts +31 -19
- package/dist/models/DiscountOrSurcharge.js +17 -8
- package/dist/models/DocumentStatsResponse.d.ts +54 -0
- package/dist/models/DocumentStatsResponse.js +54 -0
- package/dist/models/DocumentStatus.d.ts +28 -0
- package/dist/models/DocumentStatus.js +54 -0
- package/dist/models/EcfHistoryItem.d.ts +83 -0
- package/dist/models/EcfHistoryItem.js +67 -0
- package/dist/models/EcfStatsResponse.d.ts +80 -0
- package/dist/models/EcfStatsResponse.js +64 -0
- package/dist/models/EcfStatusResponse.d.ts +110 -0
- package/dist/models/EcfStatusResponse.js +82 -0
- package/dist/models/EcfStatusResponseMensajesInner.d.ts +38 -0
- package/dist/models/EcfStatusResponseMensajesInner.js +50 -0
- package/dist/models/EcfSubmissionResponse.d.ts +68 -11
- package/dist/models/EcfSubmissionResponse.js +25 -8
- package/dist/models/EcfSubmissionResponseDgiiResponse.d.ts +50 -0
- package/dist/models/EcfSubmissionResponseDgiiResponse.js +54 -0
- package/dist/models/ElectronicDocument.d.ts +166 -64
- package/dist/models/ElectronicDocument.js +67 -23
- package/dist/models/Environment.d.ts +4 -8
- package/dist/models/Environment.js +4 -8
- package/dist/models/ErrorResponse.d.ts +13 -7
- package/dist/models/ErrorResponse.js +5 -3
- package/dist/models/GetNextNumber200Response.d.ts +3 -3
- package/dist/models/GetNextNumber200Response.js +3 -3
- package/dist/models/GetNextNumber200ResponseData.d.ts +11 -5
- package/dist/models/GetNextNumber200ResponseData.js +5 -3
- package/dist/models/InvoiceType.d.ts +6 -14
- package/dist/models/InvoiceType.js +6 -14
- package/dist/models/InvoiceTypeSequence.d.ts +33 -0
- package/dist/models/InvoiceTypeSequence.js +59 -0
- package/dist/models/Item.d.ts +118 -21
- package/dist/models/Item.js +45 -9
- package/dist/models/ItemAdditionalTax.d.ts +7 -7
- package/dist/models/ItemAdditionalTax.js +4 -6
- package/dist/models/ItemAlternativeCurrency.d.ts +50 -0
- package/dist/models/ItemAlternativeCurrency.js +54 -0
- package/dist/models/ItemCodesInner.d.ts +38 -0
- package/dist/models/ItemCodesInner.js +50 -0
- package/dist/models/ItemDiscountInner.d.ts +44 -0
- package/dist/models/ItemDiscountInner.js +52 -0
- package/dist/models/ItemMiningInfo.d.ts +50 -0
- package/dist/models/ItemMiningInfo.js +54 -0
- package/dist/models/ListTaxSequences200Response.d.ts +10 -3
- package/dist/models/ListTaxSequences200Response.js +6 -3
- package/dist/models/OAuthTokenRequest.d.ts +6 -11
- package/dist/models/OAuthTokenRequest.js +3 -3
- package/dist/models/OAuthTokenResponse.d.ts +7 -9
- package/dist/models/OAuthTokenResponse.js +3 -3
- package/dist/models/Page.d.ts +15 -15
- package/dist/models/Page.js +10 -16
- package/dist/models/PaginationMeta.d.ts +50 -0
- package/dist/models/PaginationMeta.js +54 -0
- package/dist/models/PaymentForm.d.ts +39 -0
- package/dist/models/PaymentForm.js +55 -0
- package/dist/models/PaymentMethod.d.ts +4 -13
- package/dist/models/PaymentMethod.js +4 -13
- package/dist/models/PrintFormat.d.ts +3 -7
- package/dist/models/PrintFormat.js +3 -7
- package/dist/models/ProcessingLog.d.ts +54 -0
- package/dist/models/ProcessingLog.js +62 -0
- package/dist/models/RateLimitErrorResponse.d.ts +50 -0
- package/dist/models/RateLimitErrorResponse.js +54 -0
- package/dist/models/ReceivedDocument.d.ts +81 -0
- package/dist/models/ReceivedDocument.js +65 -0
- package/dist/models/ReceivedDocumentListResponse.d.ts +46 -0
- package/dist/models/ReceivedDocumentListResponse.js +54 -0
- package/dist/models/ReceivedDocumentStatsResponse.d.ts +46 -0
- package/dist/models/ReceivedDocumentStatsResponse.js +52 -0
- package/dist/models/ReferenceInfo.d.ts +9 -18
- package/dist/models/ReferenceInfo.js +4 -4
- package/dist/models/SentDocumentDetail.d.ts +107 -0
- package/dist/models/SentDocumentDetail.js +75 -0
- package/dist/models/SentDocumentListResponse.d.ts +46 -0
- package/dist/models/SentDocumentListResponse.js +54 -0
- package/dist/models/SentDocumentSummary.d.ts +94 -0
- package/dist/models/SentDocumentSummary.js +70 -0
- package/dist/models/SentDocumentSummaryBusiness.d.ts +38 -0
- package/dist/models/SentDocumentSummaryBusiness.js +50 -0
- package/dist/models/StartCertification200Response.d.ts +32 -0
- package/dist/models/StartCertification200Response.js +48 -0
- package/dist/models/StartCertificationRequest.d.ts +51 -0
- package/dist/models/StartCertificationRequest.js +61 -0
- package/dist/models/Subquantity.d.ts +6 -6
- package/dist/models/Subquantity.js +3 -3
- package/dist/models/Subtotal.d.ts +18 -12
- package/dist/models/Subtotal.js +8 -10
- package/dist/models/TaxSequence.d.ts +68 -10
- package/dist/models/TaxSequence.js +34 -8
- package/dist/models/TaxSequenceCreated.d.ts +64 -0
- package/dist/models/TaxSequenceCreated.js +60 -0
- package/dist/models/Totals.d.ts +29 -32
- package/dist/models/Totals.js +5 -6
- package/dist/models/Transport.d.ts +26 -14
- package/dist/models/Transport.js +11 -7
- package/dist/models/UpdateTaxSequenceRequest.d.ts +64 -0
- package/dist/models/UpdateTaxSequenceRequest.js +60 -0
- package/dist/models/UploadCertificateResponse.d.ts +7 -7
- package/dist/models/UploadCertificateResponse.js +3 -3
- package/dist/models/VoidTaxSequence200Response.d.ts +39 -0
- package/dist/models/VoidTaxSequence200Response.js +51 -0
- package/dist/models/VoidTaxSequence200ResponseData.d.ts +44 -0
- package/dist/models/VoidTaxSequence200ResponseData.js +52 -0
- package/dist/models/VoidTaxSequenceRequest.d.ts +50 -0
- package/dist/models/VoidTaxSequenceRequest.js +62 -0
- package/dist/models/WebhookConfigDetail.d.ts +81 -0
- package/dist/models/WebhookConfigDetail.js +65 -0
- package/dist/models/WebhookConfigResponse.d.ts +21 -9
- package/dist/models/WebhookConfigResponse.js +7 -3
- package/dist/models/WebhookEventType.d.ts +9 -8
- package/dist/models/WebhookEventType.js +9 -8
- package/dist/models/WebhookNotificationPayload.d.ts +10 -9
- package/dist/models/WebhookNotificationPayload.js +3 -3
- package/dist/models/WebhookStats.d.ts +45 -0
- package/dist/models/WebhookStats.js +53 -0
- package/dist/models/WebhookStatsStats.d.ts +62 -0
- package/dist/models/WebhookStatsStats.js +58 -0
- package/dist/models/index.d.ts +47 -1
- package/dist/models/index.js +47 -1
- package/dist/runtime.d.ts +3 -3
- package/dist/runtime.js +3 -3
- package/docs/AccountType.md +2 -2
- package/docs/AdditionalInfo.md +21 -6
- package/docs/AlternativeCurrency.md +26 -3
- package/docs/ApprovalItem.md +48 -0
- package/docs/ApprovalListResponse.md +36 -0
- package/docs/AssociatedCompaniesApi.md +350 -42
- package/docs/AssociatedCompany.md +15 -10
- package/docs/AssociatedCompanySubscription.md +1 -1
- package/docs/AssociatedCompanySubscriptionPlan.md +1 -1
- package/docs/AuthenticationApi.md +8 -8
- package/docs/AutomatedCertificationApi.md +294 -0
- package/docs/BillingIndicator.md +2 -2
- package/docs/Buyer.md +24 -5
- package/docs/CertificationNiche.md +40 -0
- package/docs/CertificationNicheNicheItemsInner.md +36 -0
- package/docs/CertificationStatus.md +38 -0
- package/docs/CommercialApprovalsApi.md +114 -0
- package/docs/CompanyDocumentMetrics.md +40 -0
- package/docs/CompanyDocumentMetricsGroupByStatusInner.md +36 -0
- package/docs/CompanyDocumentMetricsGroupByStatusInnerCount.md +34 -0
- package/docs/CompanyDocumentMetricsMainBusiness.md +38 -0
- package/docs/CompanyDocumentMetricsTotals.md +36 -0
- package/docs/CompanyMetrics.md +50 -0
- package/docs/CompanyMetricsDocumentsStatus.md +38 -0
- package/docs/CreateAssociatedCompany201Response.md +1 -1
- package/docs/CreateTaxSequence201Response.md +36 -0
- package/docs/CreateTaxSequenceRequest.md +9 -4
- package/docs/DeleteAssociatedCompany200Response.md +34 -0
- package/docs/DigitalCertificatesApi.md +18 -16
- package/docs/DiscountOrSurcharge.md +7 -6
- package/docs/DocumentStatsResponse.md +40 -0
- package/docs/DocumentStatus.md +32 -0
- package/docs/DocumentsReceivedApi.md +175 -0
- package/docs/DocumentsSentApi.md +330 -0
- package/docs/ECFSubmissionApi.md +245 -13
- package/docs/EcfHistoryItem.md +50 -0
- package/docs/EcfStatsResponse.md +50 -0
- package/docs/EcfStatusResponse.md +56 -0
- package/docs/EcfStatusResponseMensajesInner.md +36 -0
- package/docs/EcfSubmissionResponse.md +22 -4
- package/docs/EcfSubmissionResponseDgiiResponse.md +40 -0
- package/docs/ElectronicDocument.md +52 -12
- package/docs/Environment.md +2 -2
- package/docs/ErrorResponse.md +6 -5
- package/docs/GetNextNumber200Response.md +1 -1
- package/docs/GetNextNumber200ResponseData.md +5 -3
- package/docs/InvoiceType.md +2 -2
- package/docs/InvoiceTypeSequence.md +33 -0
- package/docs/Item.md +42 -11
- package/docs/ItemAdditionalTax.md +1 -2
- package/docs/ItemAlternativeCurrency.md +40 -0
- package/docs/ItemCodesInner.md +36 -0
- package/docs/ItemDiscountInner.md +38 -0
- package/docs/ItemMiningInfo.md +40 -0
- package/docs/ListTaxSequences200Response.md +3 -1
- package/docs/OAuthTokenRequest.md +4 -4
- package/docs/OAuthTokenResponse.md +4 -4
- package/docs/Page.md +5 -6
- package/docs/PaginationMeta.md +40 -0
- package/docs/PaymentForm.md +36 -0
- package/docs/PaymentMethod.md +2 -2
- package/docs/PrintFormat.md +1 -2
- package/docs/ProcessingLog.md +38 -0
- package/docs/RateLimitErrorResponse.md +40 -0
- package/docs/ReceivedDocument.md +50 -0
- package/docs/ReceivedDocumentListResponse.md +38 -0
- package/docs/ReceivedDocumentStatsResponse.md +38 -0
- package/docs/ReferenceInfo.md +2 -2
- package/docs/ReportsApi.md +186 -0
- package/docs/SentDocumentDetail.md +58 -0
- package/docs/SentDocumentListResponse.md +38 -0
- package/docs/SentDocumentSummary.md +54 -0
- package/docs/SentDocumentSummaryBusiness.md +36 -0
- package/docs/StartCertification200Response.md +34 -0
- package/docs/StartCertificationRequest.md +40 -0
- package/docs/Subquantity.md +1 -2
- package/docs/Subtotal.md +5 -4
- package/docs/TaxSequence.md +21 -6
- package/docs/TaxSequenceCreated.md +44 -0
- package/docs/TaxSequencesApi.md +197 -38
- package/docs/Totals.md +2 -3
- package/docs/Transport.md +9 -6
- package/docs/UpdateTaxSequenceRequest.md +44 -0
- package/docs/UploadCertificateResponse.md +2 -3
- package/docs/VoidTaxSequence200Response.md +36 -0
- package/docs/VoidTaxSequence200ResponseData.md +38 -0
- package/docs/VoidTaxSequenceRequest.md +40 -0
- package/docs/WebhookConfigDetail.md +50 -0
- package/docs/WebhookConfigResponse.md +6 -3
- package/docs/WebhookConfigurationApi.md +47 -50
- package/docs/WebhookEventType.md +1 -2
- package/docs/WebhookNotificationPayload.md +3 -3
- package/docs/WebhookStats.md +38 -0
- package/docs/WebhookStatsStats.md +44 -0
- package/package.json +1 -1
- package/src/apis/AssociatedCompaniesApi.ts +455 -57
- package/src/apis/AuthenticationApi.ts +11 -11
- package/src/apis/AutomatedCertificationApi.ts +382 -0
- package/src/apis/CommercialApprovalsApi.ts +234 -0
- package/src/apis/DigitalCertificatesApi.ts +17 -17
- package/src/apis/DocumentsReceivedApi.ts +256 -0
- package/src/apis/DocumentsSentApi.ts +481 -0
- package/src/apis/ECFSubmissionApi.ts +309 -17
- package/src/apis/ReportsApi.ts +323 -0
- package/src/apis/TaxSequencesApi.ts +264 -63
- package/src/apis/WebhookConfigurationApi.ts +90 -76
- package/src/apis/index.ts +5 -0
- package/src/models/AccountType.ts +4 -8
- package/src/models/AdditionalInfo.ts +80 -16
- package/src/models/AlternativeCurrency.ts +102 -8
- package/src/models/ApprovalItem.ts +121 -0
- package/src/models/ApprovalListResponse.ts +88 -0
- package/src/models/AssociatedCompany.ts +53 -22
- package/src/models/AssociatedCompanySubscription.ts +5 -5
- package/src/models/AssociatedCompanySubscriptionPlan.ts +4 -4
- package/src/models/BillingIndicator.ts +4 -10
- package/src/models/Buyer.ts +91 -11
- package/src/models/CertificationNiche.ts +97 -0
- package/src/models/CertificationNicheNicheItemsInner.ts +73 -0
- package/src/models/CertificationStatus.ts +94 -0
- package/src/models/CompanyDocumentMetrics.ts +111 -0
- package/src/models/CompanyDocumentMetricsGroupByStatusInner.ts +81 -0
- package/src/models/CompanyDocumentMetricsGroupByStatusInnerCount.ts +65 -0
- package/src/models/CompanyDocumentMetricsMainBusiness.ts +81 -0
- package/src/models/CompanyDocumentMetricsTotals.ts +73 -0
- package/src/models/CompanyMetrics.ts +137 -0
- package/src/models/CompanyMetricsDocumentsStatus.ts +81 -0
- package/src/models/CreateAssociatedCompany201Response.ts +3 -3
- package/src/models/CreateTaxSequence201Response.ts +81 -0
- package/src/models/CreateTaxSequenceRequest.ts +46 -17
- package/src/models/DeleteAssociatedCompany200Response.ts +65 -0
- package/src/models/DiscountOrSurcharge.ts +38 -23
- package/src/models/DocumentStatsResponse.ts +89 -0
- package/src/models/DocumentStatus.ts +56 -0
- package/src/models/EcfHistoryItem.ts +153 -0
- package/src/models/EcfStatsResponse.ts +129 -0
- package/src/models/EcfStatusResponse.ts +193 -0
- package/src/models/EcfStatusResponseMensajesInner.ts +73 -0
- package/src/models/EcfSubmissionResponse.ts +96 -15
- package/src/models/EcfSubmissionResponseDgiiResponse.ts +89 -0
- package/src/models/ElectronicDocument.ts +252 -97
- package/src/models/Environment.ts +4 -8
- package/src/models/ErrorResponse.ts +15 -7
- package/src/models/GetNextNumber200Response.ts +3 -3
- package/src/models/GetNextNumber200ResponseData.ts +13 -5
- package/src/models/InvoiceType.ts +6 -14
- package/src/models/InvoiceTypeSequence.ts +61 -0
- package/src/models/Item.ts +180 -27
- package/src/models/ItemAdditionalTax.ts +8 -9
- package/src/models/ItemAlternativeCurrency.ts +89 -0
- package/src/models/ItemCodesInner.ts +73 -0
- package/src/models/ItemDiscountInner.ts +81 -0
- package/src/models/ItemMiningInfo.ts +89 -0
- package/src/models/ListTaxSequences200Response.ts +18 -3
- package/src/models/OAuthTokenRequest.ts +6 -11
- package/src/models/OAuthTokenResponse.ts +7 -9
- package/src/models/Page.ts +22 -25
- package/src/models/PaginationMeta.ts +89 -0
- package/src/models/PaymentForm.ts +85 -0
- package/src/models/PaymentMethod.ts +4 -13
- package/src/models/PrintFormat.ts +3 -7
- package/src/models/ProcessingLog.ts +94 -0
- package/src/models/RateLimitErrorResponse.ts +89 -0
- package/src/models/ReceivedDocument.ts +137 -0
- package/src/models/ReceivedDocumentListResponse.ts +96 -0
- package/src/models/ReceivedDocumentStatsResponse.ts +81 -0
- package/src/models/ReferenceInfo.ts +10 -19
- package/src/models/SentDocumentDetail.ts +185 -0
- package/src/models/SentDocumentListResponse.ts +96 -0
- package/src/models/SentDocumentSummary.ts +162 -0
- package/src/models/SentDocumentSummaryBusiness.ts +73 -0
- package/src/models/StartCertification200Response.ts +65 -0
- package/src/models/StartCertificationRequest.ts +102 -0
- package/src/models/Subquantity.ts +6 -6
- package/src/models/Subtotal.ts +23 -17
- package/src/models/TaxSequence.ts +94 -19
- package/src/models/TaxSequenceCreated.ts +122 -0
- package/src/models/Totals.ts +31 -41
- package/src/models/Transport.ts +34 -18
- package/src/models/UpdateTaxSequenceRequest.ts +122 -0
- package/src/models/UploadCertificateResponse.ts +7 -7
- package/src/models/VoidTaxSequence200Response.ts +81 -0
- package/src/models/VoidTaxSequence200ResponseData.ts +81 -0
- package/src/models/VoidTaxSequenceRequest.ts +93 -0
- package/src/models/WebhookConfigDetail.ts +137 -0
- package/src/models/WebhookConfigResponse.ts +25 -9
- package/src/models/WebhookEventType.ts +9 -8
- package/src/models/WebhookNotificationPayload.ts +10 -9
- package/src/models/WebhookStats.ts +89 -0
- package/src/models/WebhookStatsStats.ts +105 -0
- package/src/models/index.ts +47 -1
- package/src/runtime.ts +3 -3
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* eCF-Pronesoft Integration API
|
|
3
|
-
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform
|
|
3
|
+
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform. ## Authentication — OAuth 2.0 Client Credentials ### Steps 1. Get credentials from the portal: - Sandbox: https://ecf.sandbox.pronesoft.com -> Apps -> Default Sandbox App - Production: https://ecf.pronesoft.com -> Integrations -> Apps -> Create App 2. Request a token via POST /oauth/token — valid for 24 hours (86400s). 3. Use: Authorization: Bearer <accessToken> on every request. 4. Renew on HTTP 401. Best practice: renew 5 minutes before expiry. ### Multi-company delegation To act on behalf of an associated company (branch), add: x-tenant-id: <business-uuid> Do NOT send x-tenant-id when acting as the main company. ### Sandbox specifics - Use any RNC starting with SBX (e.g. SBX123456) — no real certificate needed. - Sequences are automatic — no need to create them manually. - The environment field in the document body MUST be TesteCF. ### Scopes business:read, business:create, business:update, members:read, members:invite, members:revoke, certificates:read, certificates:upload, certificates:update, documents:read, documents:create, documents:send, documents:receive, documents:update, approvals:read, approvals:commercial, sequences:read, sequences:create, sequences:update, sequences:cancel, business_info:read, certification:read, certification:write, reports:read
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
* Contact:
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
|
+
* Contact: support@pronesoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
*
|
|
14
14
|
* @export
|
|
15
15
|
*/
|
|
16
16
|
export declare const WebhookEventType: {
|
|
@@ -18,18 +18,19 @@ export declare const WebhookEventType: {
|
|
|
18
18
|
readonly DocumentStatusChanged: "document.status_changed";
|
|
19
19
|
readonly DocumentValidationError: "document.validation_error";
|
|
20
20
|
readonly DocumentContingencyActivated: "document.contingency_activated";
|
|
21
|
-
readonly
|
|
22
|
-
readonly
|
|
21
|
+
readonly SequenceDepleted: "sequence.depleted";
|
|
22
|
+
readonly SequenceVoided: "sequence.voided";
|
|
23
23
|
readonly PlanUsageAlert: "plan.usage_alert";
|
|
24
24
|
readonly PlanPaymentFailed: "plan.payment_failed";
|
|
25
25
|
readonly BillingInvoiceReady: "billing.invoice_ready";
|
|
26
|
-
readonly SequenceDepleted: "sequence.depleted";
|
|
27
|
-
readonly SequenceVoided: "sequence.voided";
|
|
28
26
|
readonly BranchCreated: "branch.created";
|
|
29
27
|
readonly BranchStatusChanged: "branch.status_changed";
|
|
28
|
+
readonly SecurityNewLogin: "security.new_login";
|
|
30
29
|
readonly MemberInvited: "member.invited";
|
|
31
30
|
readonly MemberJoined: "member.joined";
|
|
32
31
|
readonly MemberRemoved: "member.removed";
|
|
32
|
+
readonly CertificateExpiring: "certificate.expiring";
|
|
33
|
+
readonly CommercialApproval: "commercial.approval";
|
|
33
34
|
readonly CertificationCompleted: "certification.completed";
|
|
34
35
|
};
|
|
35
36
|
export type WebhookEventType = typeof WebhookEventType[keyof typeof WebhookEventType];
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* eCF-Pronesoft Integration API
|
|
6
|
-
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform
|
|
6
|
+
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform. ## Authentication — OAuth 2.0 Client Credentials ### Steps 1. Get credentials from the portal: - Sandbox: https://ecf.sandbox.pronesoft.com -> Apps -> Default Sandbox App - Production: https://ecf.pronesoft.com -> Integrations -> Apps -> Create App 2. Request a token via POST /oauth/token — valid for 24 hours (86400s). 3. Use: Authorization: Bearer <accessToken> on every request. 4. Renew on HTTP 401. Best practice: renew 5 minutes before expiry. ### Multi-company delegation To act on behalf of an associated company (branch), add: x-tenant-id: <business-uuid> Do NOT send x-tenant-id when acting as the main company. ### Sandbox specifics - Use any RNC starting with SBX (e.g. SBX123456) — no real certificate needed. - Sequences are automatic — no need to create them manually. - The environment field in the document body MUST be TesteCF. ### Scopes business:read, business:create, business:update, members:read, members:invite, members:revoke, certificates:read, certificates:upload, certificates:update, documents:read, documents:create, documents:send, documents:receive, documents:update, approvals:read, approvals:commercial, sequences:read, sequences:create, sequences:update, sequences:cancel, business_info:read, certification:read, certification:write, reports:read
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
9
|
-
* Contact:
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
|
+
* Contact: support@pronesoft.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -20,7 +20,7 @@ exports.WebhookEventTypeFromJSONTyped = WebhookEventTypeFromJSONTyped;
|
|
|
20
20
|
exports.WebhookEventTypeToJSON = WebhookEventTypeToJSON;
|
|
21
21
|
exports.WebhookEventTypeToJSONTyped = WebhookEventTypeToJSONTyped;
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
*
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
26
26
|
exports.WebhookEventType = {
|
|
@@ -28,18 +28,19 @@ exports.WebhookEventType = {
|
|
|
28
28
|
DocumentStatusChanged: 'document.status_changed',
|
|
29
29
|
DocumentValidationError: 'document.validation_error',
|
|
30
30
|
DocumentContingencyActivated: 'document.contingency_activated',
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
SequenceDepleted: 'sequence.depleted',
|
|
32
|
+
SequenceVoided: 'sequence.voided',
|
|
33
33
|
PlanUsageAlert: 'plan.usage_alert',
|
|
34
34
|
PlanPaymentFailed: 'plan.payment_failed',
|
|
35
35
|
BillingInvoiceReady: 'billing.invoice_ready',
|
|
36
|
-
SequenceDepleted: 'sequence.depleted',
|
|
37
|
-
SequenceVoided: 'sequence.voided',
|
|
38
36
|
BranchCreated: 'branch.created',
|
|
39
37
|
BranchStatusChanged: 'branch.status_changed',
|
|
38
|
+
SecurityNewLogin: 'security.new_login',
|
|
40
39
|
MemberInvited: 'member.invited',
|
|
41
40
|
MemberJoined: 'member.joined',
|
|
42
41
|
MemberRemoved: 'member.removed',
|
|
42
|
+
CertificateExpiring: 'certificate.expiring',
|
|
43
|
+
CommercialApproval: 'commercial.approval',
|
|
43
44
|
CertificationCompleted: 'certification.completed'
|
|
44
45
|
};
|
|
45
46
|
function instanceOfWebhookEventType(value) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* eCF-Pronesoft Integration API
|
|
3
|
-
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform
|
|
3
|
+
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform. ## Authentication — OAuth 2.0 Client Credentials ### Steps 1. Get credentials from the portal: - Sandbox: https://ecf.sandbox.pronesoft.com -> Apps -> Default Sandbox App - Production: https://ecf.pronesoft.com -> Integrations -> Apps -> Create App 2. Request a token via POST /oauth/token — valid for 24 hours (86400s). 3. Use: Authorization: Bearer <accessToken> on every request. 4. Renew on HTTP 401. Best practice: renew 5 minutes before expiry. ### Multi-company delegation To act on behalf of an associated company (branch), add: x-tenant-id: <business-uuid> Do NOT send x-tenant-id when acting as the main company. ### Sandbox specifics - Use any RNC starting with SBX (e.g. SBX123456) — no real certificate needed. - Sequences are automatic — no need to create them manually. - The environment field in the document body MUST be TesteCF. ### Scopes business:read, business:create, business:update, members:read, members:invite, members:revoke, certificates:read, certificates:upload, certificates:update, documents:read, documents:create, documents:send, documents:receive, documents:update, approvals:read, approvals:commercial, sequences:read, sequences:create, sequences:update, sequences:cancel, business_info:read, certification:read, certification:write, reports:read
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
6
|
-
* Contact:
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
|
+
* Contact: support@pronesoft.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -11,15 +11,16 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { WebhookEventType } from './WebhookEventType';
|
|
13
13
|
/**
|
|
14
|
-
* Payload sent to your
|
|
15
|
-
*
|
|
14
|
+
* Payload sent to your webhook URL when an event occurs.
|
|
15
|
+
* Validate using header X-Webhook-Signature: sha256=<hmac>.
|
|
16
|
+
* Other headers: X-Webhook-Event, X-Webhook-ID, X-Webhook-Timestamp.
|
|
16
17
|
*
|
|
17
18
|
* @export
|
|
18
19
|
* @interface WebhookNotificationPayload
|
|
19
20
|
*/
|
|
20
21
|
export interface WebhookNotificationPayload {
|
|
21
22
|
/**
|
|
22
|
-
* Unique notification
|
|
23
|
+
* Unique notification ID (evt_xxx format). Use for deduplication.
|
|
23
24
|
* @type {string}
|
|
24
25
|
* @memberof WebhookNotificationPayload
|
|
25
26
|
*/
|
|
@@ -31,19 +32,19 @@ export interface WebhookNotificationPayload {
|
|
|
31
32
|
*/
|
|
32
33
|
event: WebhookEventType;
|
|
33
34
|
/**
|
|
34
|
-
*
|
|
35
|
+
*
|
|
35
36
|
* @type {Date}
|
|
36
37
|
* @memberof WebhookNotificationPayload
|
|
37
38
|
*/
|
|
38
39
|
timestamp: Date;
|
|
39
40
|
/**
|
|
40
|
-
*
|
|
41
|
+
*
|
|
41
42
|
* @type {string}
|
|
42
43
|
* @memberof WebhookNotificationPayload
|
|
43
44
|
*/
|
|
44
45
|
businessRnc: string;
|
|
45
46
|
/**
|
|
46
|
-
*
|
|
47
|
+
*
|
|
47
48
|
* @type {object}
|
|
48
49
|
* @memberof WebhookNotificationPayload
|
|
49
50
|
*/
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* eCF-Pronesoft Integration API
|
|
6
|
-
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform
|
|
6
|
+
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform. ## Authentication — OAuth 2.0 Client Credentials ### Steps 1. Get credentials from the portal: - Sandbox: https://ecf.sandbox.pronesoft.com -> Apps -> Default Sandbox App - Production: https://ecf.pronesoft.com -> Integrations -> Apps -> Create App 2. Request a token via POST /oauth/token — valid for 24 hours (86400s). 3. Use: Authorization: Bearer <accessToken> on every request. 4. Renew on HTTP 401. Best practice: renew 5 minutes before expiry. ### Multi-company delegation To act on behalf of an associated company (branch), add: x-tenant-id: <business-uuid> Do NOT send x-tenant-id when acting as the main company. ### Sandbox specifics - Use any RNC starting with SBX (e.g. SBX123456) — no real certificate needed. - Sequences are automatic — no need to create them manually. - The environment field in the document body MUST be TesteCF. ### Scopes business:read, business:create, business:update, members:read, members:invite, members:revoke, certificates:read, certificates:upload, certificates:update, documents:read, documents:create, documents:send, documents:receive, documents:update, approvals:read, approvals:commercial, sequences:read, sequences:create, sequences:update, sequences:cancel, business_info:read, certification:read, certification:write, reports:read
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document:
|
|
9
|
-
* Contact:
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
|
+
* Contact: support@pronesoft.com
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* eCF-Pronesoft Integration API
|
|
3
|
+
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform. ## Authentication — OAuth 2.0 Client Credentials ### Steps 1. Get credentials from the portal: - Sandbox: https://ecf.sandbox.pronesoft.com -> Apps -> Default Sandbox App - Production: https://ecf.pronesoft.com -> Integrations -> Apps -> Create App 2. Request a token via POST /oauth/token — valid for 24 hours (86400s). 3. Use: Authorization: Bearer <accessToken> on every request. 4. Renew on HTTP 401. Best practice: renew 5 minutes before expiry. ### Multi-company delegation To act on behalf of an associated company (branch), add: x-tenant-id: <business-uuid> Do NOT send x-tenant-id when acting as the main company. ### Sandbox specifics - Use any RNC starting with SBX (e.g. SBX123456) — no real certificate needed. - Sequences are automatic — no need to create them manually. - The environment field in the document body MUST be TesteCF. ### Scopes business:read, business:create, business:update, members:read, members:invite, members:revoke, certificates:read, certificates:upload, certificates:update, documents:read, documents:create, documents:send, documents:receive, documents:update, approvals:read, approvals:commercial, sequences:read, sequences:create, sequences:update, sequences:cancel, business_info:read, certification:read, certification:write, reports:read
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
|
+
* Contact: support@pronesoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { WebhookStatsStats } from './WebhookStatsStats';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WebhookStats
|
|
17
|
+
*/
|
|
18
|
+
export interface WebhookStats {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WebhookStats
|
|
23
|
+
*/
|
|
24
|
+
webhookId?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WebhookStats
|
|
29
|
+
*/
|
|
30
|
+
period?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {WebhookStatsStats}
|
|
34
|
+
* @memberof WebhookStats
|
|
35
|
+
*/
|
|
36
|
+
stats?: WebhookStatsStats;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the WebhookStats interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfWebhookStats(value: object): value is WebhookStats;
|
|
42
|
+
export declare function WebhookStatsFromJSON(json: any): WebhookStats;
|
|
43
|
+
export declare function WebhookStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookStats;
|
|
44
|
+
export declare function WebhookStatsToJSON(json: any): WebhookStats;
|
|
45
|
+
export declare function WebhookStatsToJSONTyped(value?: WebhookStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* eCF-Pronesoft Integration API
|
|
6
|
+
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform. ## Authentication — OAuth 2.0 Client Credentials ### Steps 1. Get credentials from the portal: - Sandbox: https://ecf.sandbox.pronesoft.com -> Apps -> Default Sandbox App - Production: https://ecf.pronesoft.com -> Integrations -> Apps -> Create App 2. Request a token via POST /oauth/token — valid for 24 hours (86400s). 3. Use: Authorization: Bearer <accessToken> on every request. 4. Renew on HTTP 401. Best practice: renew 5 minutes before expiry. ### Multi-company delegation To act on behalf of an associated company (branch), add: x-tenant-id: <business-uuid> Do NOT send x-tenant-id when acting as the main company. ### Sandbox specifics - Use any RNC starting with SBX (e.g. SBX123456) — no real certificate needed. - Sequences are automatic — no need to create them manually. - The environment field in the document body MUST be TesteCF. ### Scopes business:read, business:create, business:update, members:read, members:invite, members:revoke, certificates:read, certificates:upload, certificates:update, documents:read, documents:create, documents:send, documents:receive, documents:update, approvals:read, approvals:commercial, sequences:read, sequences:create, sequences:update, sequences:cancel, business_info:read, certification:read, certification:write, reports:read
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
|
+
* Contact: support@pronesoft.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfWebhookStats = instanceOfWebhookStats;
|
|
17
|
+
exports.WebhookStatsFromJSON = WebhookStatsFromJSON;
|
|
18
|
+
exports.WebhookStatsFromJSONTyped = WebhookStatsFromJSONTyped;
|
|
19
|
+
exports.WebhookStatsToJSON = WebhookStatsToJSON;
|
|
20
|
+
exports.WebhookStatsToJSONTyped = WebhookStatsToJSONTyped;
|
|
21
|
+
const WebhookStatsStats_1 = require("./WebhookStatsStats");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the WebhookStats interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfWebhookStats(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function WebhookStatsFromJSON(json) {
|
|
29
|
+
return WebhookStatsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function WebhookStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'webhookId': json['webhookId'] == null ? undefined : json['webhookId'],
|
|
37
|
+
'period': json['period'] == null ? undefined : json['period'],
|
|
38
|
+
'stats': json['stats'] == null ? undefined : (0, WebhookStatsStats_1.WebhookStatsStatsFromJSON)(json['stats']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function WebhookStatsToJSON(json) {
|
|
42
|
+
return WebhookStatsToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function WebhookStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'webhookId': value['webhookId'],
|
|
50
|
+
'period': value['period'],
|
|
51
|
+
'stats': (0, WebhookStatsStats_1.WebhookStatsStatsToJSON)(value['stats']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* eCF-Pronesoft Integration API
|
|
3
|
+
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform. ## Authentication — OAuth 2.0 Client Credentials ### Steps 1. Get credentials from the portal: - Sandbox: https://ecf.sandbox.pronesoft.com -> Apps -> Default Sandbox App - Production: https://ecf.pronesoft.com -> Integrations -> Apps -> Create App 2. Request a token via POST /oauth/token — valid for 24 hours (86400s). 3. Use: Authorization: Bearer <accessToken> on every request. 4. Renew on HTTP 401. Best practice: renew 5 minutes before expiry. ### Multi-company delegation To act on behalf of an associated company (branch), add: x-tenant-id: <business-uuid> Do NOT send x-tenant-id when acting as the main company. ### Sandbox specifics - Use any RNC starting with SBX (e.g. SBX123456) — no real certificate needed. - Sequences are automatic — no need to create them manually. - The environment field in the document body MUST be TesteCF. ### Scopes business:read, business:create, business:update, members:read, members:invite, members:revoke, certificates:read, certificates:upload, certificates:update, documents:read, documents:create, documents:send, documents:receive, documents:update, approvals:read, approvals:commercial, sequences:read, sequences:create, sequences:update, sequences:cancel, business_info:read, certification:read, certification:write, reports:read
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.1.0
|
|
6
|
+
* Contact: support@pronesoft.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface WebhookStatsStats
|
|
16
|
+
*/
|
|
17
|
+
export interface WebhookStatsStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof WebhookStatsStats
|
|
22
|
+
*/
|
|
23
|
+
totalAttempts?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof WebhookStatsStats
|
|
28
|
+
*/
|
|
29
|
+
successful?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof WebhookStatsStats
|
|
34
|
+
*/
|
|
35
|
+
failed?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof WebhookStatsStats
|
|
40
|
+
*/
|
|
41
|
+
successRate?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof WebhookStatsStats
|
|
46
|
+
*/
|
|
47
|
+
averageResponseTime?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof WebhookStatsStats
|
|
52
|
+
*/
|
|
53
|
+
lastAttempt?: Date;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the WebhookStatsStats interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfWebhookStatsStats(value: object): value is WebhookStatsStats;
|
|
59
|
+
export declare function WebhookStatsStatsFromJSON(json: any): WebhookStatsStats;
|
|
60
|
+
export declare function WebhookStatsStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebhookStatsStats;
|
|
61
|
+
export declare function WebhookStatsStatsToJSON(json: any): WebhookStatsStats;
|
|
62
|
+
export declare function WebhookStatsStatsToJSONTyped(value?: WebhookStatsStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* eCF-Pronesoft Integration API
|
|
6
|
+
* ## Overview Production-grade API for issuing Electronic Tax Receipts (e-CF) in the Dominican Republic through the Pronesoft platform. ## Authentication — OAuth 2.0 Client Credentials ### Steps 1. Get credentials from the portal: - Sandbox: https://ecf.sandbox.pronesoft.com -> Apps -> Default Sandbox App - Production: https://ecf.pronesoft.com -> Integrations -> Apps -> Create App 2. Request a token via POST /oauth/token — valid for 24 hours (86400s). 3. Use: Authorization: Bearer <accessToken> on every request. 4. Renew on HTTP 401. Best practice: renew 5 minutes before expiry. ### Multi-company delegation To act on behalf of an associated company (branch), add: x-tenant-id: <business-uuid> Do NOT send x-tenant-id when acting as the main company. ### Sandbox specifics - Use any RNC starting with SBX (e.g. SBX123456) — no real certificate needed. - Sequences are automatic — no need to create them manually. - The environment field in the document body MUST be TesteCF. ### Scopes business:read, business:create, business:update, members:read, members:invite, members:revoke, certificates:read, certificates:upload, certificates:update, documents:read, documents:create, documents:send, documents:receive, documents:update, approvals:read, approvals:commercial, sequences:read, sequences:create, sequences:update, sequences:cancel, business_info:read, certification:read, certification:write, reports:read
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.1.0
|
|
9
|
+
* Contact: support@pronesoft.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfWebhookStatsStats = instanceOfWebhookStatsStats;
|
|
17
|
+
exports.WebhookStatsStatsFromJSON = WebhookStatsStatsFromJSON;
|
|
18
|
+
exports.WebhookStatsStatsFromJSONTyped = WebhookStatsStatsFromJSONTyped;
|
|
19
|
+
exports.WebhookStatsStatsToJSON = WebhookStatsStatsToJSON;
|
|
20
|
+
exports.WebhookStatsStatsToJSONTyped = WebhookStatsStatsToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WebhookStatsStats interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfWebhookStatsStats(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function WebhookStatsStatsFromJSON(json) {
|
|
28
|
+
return WebhookStatsStatsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function WebhookStatsStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'totalAttempts': json['totalAttempts'] == null ? undefined : json['totalAttempts'],
|
|
36
|
+
'successful': json['successful'] == null ? undefined : json['successful'],
|
|
37
|
+
'failed': json['failed'] == null ? undefined : json['failed'],
|
|
38
|
+
'successRate': json['successRate'] == null ? undefined : json['successRate'],
|
|
39
|
+
'averageResponseTime': json['averageResponseTime'] == null ? undefined : json['averageResponseTime'],
|
|
40
|
+
'lastAttempt': json['lastAttempt'] == null ? undefined : (new Date(json['lastAttempt'])),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function WebhookStatsStatsToJSON(json) {
|
|
44
|
+
return WebhookStatsStatsToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function WebhookStatsStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'totalAttempts': value['totalAttempts'],
|
|
52
|
+
'successful': value['successful'],
|
|
53
|
+
'failed': value['failed'],
|
|
54
|
+
'successRate': value['successRate'],
|
|
55
|
+
'averageResponseTime': value['averageResponseTime'],
|
|
56
|
+
'lastAttempt': value['lastAttempt'] == null ? value['lastAttempt'] : value['lastAttempt'].toISOString(),
|
|
57
|
+
};
|
|
58
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,37 +1,83 @@
|
|
|
1
1
|
export * from './AccountType';
|
|
2
2
|
export * from './AdditionalInfo';
|
|
3
3
|
export * from './AlternativeCurrency';
|
|
4
|
+
export * from './ApprovalItem';
|
|
5
|
+
export * from './ApprovalListResponse';
|
|
4
6
|
export * from './AssociatedCompany';
|
|
5
7
|
export * from './AssociatedCompanySubscription';
|
|
6
8
|
export * from './AssociatedCompanySubscriptionPlan';
|
|
7
9
|
export * from './BillingIndicator';
|
|
8
10
|
export * from './Buyer';
|
|
11
|
+
export * from './CertificationNiche';
|
|
12
|
+
export * from './CertificationNicheNicheItemsInner';
|
|
13
|
+
export * from './CertificationStatus';
|
|
14
|
+
export * from './CompanyDocumentMetrics';
|
|
15
|
+
export * from './CompanyDocumentMetricsGroupByStatusInner';
|
|
16
|
+
export * from './CompanyDocumentMetricsGroupByStatusInnerCount';
|
|
17
|
+
export * from './CompanyDocumentMetricsMainBusiness';
|
|
18
|
+
export * from './CompanyDocumentMetricsTotals';
|
|
19
|
+
export * from './CompanyMetrics';
|
|
20
|
+
export * from './CompanyMetricsDocumentsStatus';
|
|
9
21
|
export * from './CreateAssociatedCompany201Response';
|
|
22
|
+
export * from './CreateTaxSequence201Response';
|
|
10
23
|
export * from './CreateTaxSequenceRequest';
|
|
11
|
-
export * from './
|
|
24
|
+
export * from './DeleteAssociatedCompany200Response';
|
|
12
25
|
export * from './DiscountOrSurcharge';
|
|
26
|
+
export * from './DocumentStatsResponse';
|
|
27
|
+
export * from './DocumentStatus';
|
|
28
|
+
export * from './EcfHistoryItem';
|
|
29
|
+
export * from './EcfStatsResponse';
|
|
30
|
+
export * from './EcfStatusResponse';
|
|
31
|
+
export * from './EcfStatusResponseMensajesInner';
|
|
13
32
|
export * from './EcfSubmissionResponse';
|
|
33
|
+
export * from './EcfSubmissionResponseDgiiResponse';
|
|
14
34
|
export * from './ElectronicDocument';
|
|
15
35
|
export * from './Environment';
|
|
16
36
|
export * from './ErrorResponse';
|
|
17
37
|
export * from './GetNextNumber200Response';
|
|
18
38
|
export * from './GetNextNumber200ResponseData';
|
|
19
39
|
export * from './InvoiceType';
|
|
40
|
+
export * from './InvoiceTypeSequence';
|
|
20
41
|
export * from './Item';
|
|
21
42
|
export * from './ItemAdditionalTax';
|
|
43
|
+
export * from './ItemAlternativeCurrency';
|
|
44
|
+
export * from './ItemCodesInner';
|
|
45
|
+
export * from './ItemDiscountInner';
|
|
46
|
+
export * from './ItemMiningInfo';
|
|
22
47
|
export * from './ListTaxSequences200Response';
|
|
23
48
|
export * from './OAuthTokenRequest';
|
|
24
49
|
export * from './OAuthTokenResponse';
|
|
25
50
|
export * from './Page';
|
|
51
|
+
export * from './PaginationMeta';
|
|
52
|
+
export * from './PaymentForm';
|
|
26
53
|
export * from './PaymentMethod';
|
|
27
54
|
export * from './PrintFormat';
|
|
55
|
+
export * from './ProcessingLog';
|
|
56
|
+
export * from './RateLimitErrorResponse';
|
|
57
|
+
export * from './ReceivedDocument';
|
|
58
|
+
export * from './ReceivedDocumentListResponse';
|
|
59
|
+
export * from './ReceivedDocumentStatsResponse';
|
|
28
60
|
export * from './ReferenceInfo';
|
|
61
|
+
export * from './SentDocumentDetail';
|
|
62
|
+
export * from './SentDocumentListResponse';
|
|
63
|
+
export * from './SentDocumentSummary';
|
|
64
|
+
export * from './SentDocumentSummaryBusiness';
|
|
65
|
+
export * from './StartCertification200Response';
|
|
66
|
+
export * from './StartCertificationRequest';
|
|
29
67
|
export * from './Subquantity';
|
|
30
68
|
export * from './Subtotal';
|
|
31
69
|
export * from './TaxSequence';
|
|
70
|
+
export * from './TaxSequenceCreated';
|
|
32
71
|
export * from './Totals';
|
|
33
72
|
export * from './Transport';
|
|
73
|
+
export * from './UpdateTaxSequenceRequest';
|
|
34
74
|
export * from './UploadCertificateResponse';
|
|
75
|
+
export * from './VoidTaxSequence200Response';
|
|
76
|
+
export * from './VoidTaxSequence200ResponseData';
|
|
77
|
+
export * from './VoidTaxSequenceRequest';
|
|
78
|
+
export * from './WebhookConfigDetail';
|
|
35
79
|
export * from './WebhookConfigResponse';
|
|
36
80
|
export * from './WebhookEventType';
|
|
37
81
|
export * from './WebhookNotificationPayload';
|
|
82
|
+
export * from './WebhookStats';
|
|
83
|
+
export * from './WebhookStatsStats';
|
package/dist/models/index.js
CHANGED
|
@@ -19,37 +19,83 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
__exportStar(require("./AccountType"), exports);
|
|
20
20
|
__exportStar(require("./AdditionalInfo"), exports);
|
|
21
21
|
__exportStar(require("./AlternativeCurrency"), exports);
|
|
22
|
+
__exportStar(require("./ApprovalItem"), exports);
|
|
23
|
+
__exportStar(require("./ApprovalListResponse"), exports);
|
|
22
24
|
__exportStar(require("./AssociatedCompany"), exports);
|
|
23
25
|
__exportStar(require("./AssociatedCompanySubscription"), exports);
|
|
24
26
|
__exportStar(require("./AssociatedCompanySubscriptionPlan"), exports);
|
|
25
27
|
__exportStar(require("./BillingIndicator"), exports);
|
|
26
28
|
__exportStar(require("./Buyer"), exports);
|
|
29
|
+
__exportStar(require("./CertificationNiche"), exports);
|
|
30
|
+
__exportStar(require("./CertificationNicheNicheItemsInner"), exports);
|
|
31
|
+
__exportStar(require("./CertificationStatus"), exports);
|
|
32
|
+
__exportStar(require("./CompanyDocumentMetrics"), exports);
|
|
33
|
+
__exportStar(require("./CompanyDocumentMetricsGroupByStatusInner"), exports);
|
|
34
|
+
__exportStar(require("./CompanyDocumentMetricsGroupByStatusInnerCount"), exports);
|
|
35
|
+
__exportStar(require("./CompanyDocumentMetricsMainBusiness"), exports);
|
|
36
|
+
__exportStar(require("./CompanyDocumentMetricsTotals"), exports);
|
|
37
|
+
__exportStar(require("./CompanyMetrics"), exports);
|
|
38
|
+
__exportStar(require("./CompanyMetricsDocumentsStatus"), exports);
|
|
27
39
|
__exportStar(require("./CreateAssociatedCompany201Response"), exports);
|
|
40
|
+
__exportStar(require("./CreateTaxSequence201Response"), exports);
|
|
28
41
|
__exportStar(require("./CreateTaxSequenceRequest"), exports);
|
|
29
|
-
__exportStar(require("./
|
|
42
|
+
__exportStar(require("./DeleteAssociatedCompany200Response"), exports);
|
|
30
43
|
__exportStar(require("./DiscountOrSurcharge"), exports);
|
|
44
|
+
__exportStar(require("./DocumentStatsResponse"), exports);
|
|
45
|
+
__exportStar(require("./DocumentStatus"), exports);
|
|
46
|
+
__exportStar(require("./EcfHistoryItem"), exports);
|
|
47
|
+
__exportStar(require("./EcfStatsResponse"), exports);
|
|
48
|
+
__exportStar(require("./EcfStatusResponse"), exports);
|
|
49
|
+
__exportStar(require("./EcfStatusResponseMensajesInner"), exports);
|
|
31
50
|
__exportStar(require("./EcfSubmissionResponse"), exports);
|
|
51
|
+
__exportStar(require("./EcfSubmissionResponseDgiiResponse"), exports);
|
|
32
52
|
__exportStar(require("./ElectronicDocument"), exports);
|
|
33
53
|
__exportStar(require("./Environment"), exports);
|
|
34
54
|
__exportStar(require("./ErrorResponse"), exports);
|
|
35
55
|
__exportStar(require("./GetNextNumber200Response"), exports);
|
|
36
56
|
__exportStar(require("./GetNextNumber200ResponseData"), exports);
|
|
37
57
|
__exportStar(require("./InvoiceType"), exports);
|
|
58
|
+
__exportStar(require("./InvoiceTypeSequence"), exports);
|
|
38
59
|
__exportStar(require("./Item"), exports);
|
|
39
60
|
__exportStar(require("./ItemAdditionalTax"), exports);
|
|
61
|
+
__exportStar(require("./ItemAlternativeCurrency"), exports);
|
|
62
|
+
__exportStar(require("./ItemCodesInner"), exports);
|
|
63
|
+
__exportStar(require("./ItemDiscountInner"), exports);
|
|
64
|
+
__exportStar(require("./ItemMiningInfo"), exports);
|
|
40
65
|
__exportStar(require("./ListTaxSequences200Response"), exports);
|
|
41
66
|
__exportStar(require("./OAuthTokenRequest"), exports);
|
|
42
67
|
__exportStar(require("./OAuthTokenResponse"), exports);
|
|
43
68
|
__exportStar(require("./Page"), exports);
|
|
69
|
+
__exportStar(require("./PaginationMeta"), exports);
|
|
70
|
+
__exportStar(require("./PaymentForm"), exports);
|
|
44
71
|
__exportStar(require("./PaymentMethod"), exports);
|
|
45
72
|
__exportStar(require("./PrintFormat"), exports);
|
|
73
|
+
__exportStar(require("./ProcessingLog"), exports);
|
|
74
|
+
__exportStar(require("./RateLimitErrorResponse"), exports);
|
|
75
|
+
__exportStar(require("./ReceivedDocument"), exports);
|
|
76
|
+
__exportStar(require("./ReceivedDocumentListResponse"), exports);
|
|
77
|
+
__exportStar(require("./ReceivedDocumentStatsResponse"), exports);
|
|
46
78
|
__exportStar(require("./ReferenceInfo"), exports);
|
|
79
|
+
__exportStar(require("./SentDocumentDetail"), exports);
|
|
80
|
+
__exportStar(require("./SentDocumentListResponse"), exports);
|
|
81
|
+
__exportStar(require("./SentDocumentSummary"), exports);
|
|
82
|
+
__exportStar(require("./SentDocumentSummaryBusiness"), exports);
|
|
83
|
+
__exportStar(require("./StartCertification200Response"), exports);
|
|
84
|
+
__exportStar(require("./StartCertificationRequest"), exports);
|
|
47
85
|
__exportStar(require("./Subquantity"), exports);
|
|
48
86
|
__exportStar(require("./Subtotal"), exports);
|
|
49
87
|
__exportStar(require("./TaxSequence"), exports);
|
|
88
|
+
__exportStar(require("./TaxSequenceCreated"), exports);
|
|
50
89
|
__exportStar(require("./Totals"), exports);
|
|
51
90
|
__exportStar(require("./Transport"), exports);
|
|
91
|
+
__exportStar(require("./UpdateTaxSequenceRequest"), exports);
|
|
52
92
|
__exportStar(require("./UploadCertificateResponse"), exports);
|
|
93
|
+
__exportStar(require("./VoidTaxSequence200Response"), exports);
|
|
94
|
+
__exportStar(require("./VoidTaxSequence200ResponseData"), exports);
|
|
95
|
+
__exportStar(require("./VoidTaxSequenceRequest"), exports);
|
|
96
|
+
__exportStar(require("./WebhookConfigDetail"), exports);
|
|
53
97
|
__exportStar(require("./WebhookConfigResponse"), exports);
|
|
54
98
|
__exportStar(require("./WebhookEventType"), exports);
|
|
55
99
|
__exportStar(require("./WebhookNotificationPayload"), exports);
|
|
100
|
+
__exportStar(require("./WebhookStats"), exports);
|
|
101
|
+
__exportStar(require("./WebhookStatsStats"), exports);
|