@portone/server-sdk
Version:
PortOne JavaScript SDK for server-side usage
158 lines (157 loc) • 29.1 kB
TypeScript
import type { Unrecognized } from "../utils/unrecognized.js";
import { PortOneError } from "../PortOneError.js";
import type { AlreadyPaidError } from "./payment/AlreadyPaidError.js";
import type { AlreadyPaidOrWaitingError } from "./payment/paymentSchedule/AlreadyPaidOrWaitingError.js";
import type { B2BCannotChangeTaxTypeError } from "./b2b/taxInvoice/B2BCannotChangeTaxTypeError.js";
import type { B2BTaxInvoiceStatusNotSendingCompletedError } from "./b2b/taxInvoice/B2BTaxInvoiceStatusNotSendingCompletedError.js";
import type { B2bBulkTaxInvoiceNotFoundError } from "./b2b/taxInvoice/B2bBulkTaxInvoiceNotFoundError.js";
import type { B2bDocumentKeyCannotBeChangedError } from "./b2b/taxInvoice/B2bDocumentKeyCannotBeChangedError.js";
import type { B2bExternalServiceError } from "./common/B2bExternalServiceError.js";
import type { B2bFileNotFoundError } from "./b2b/taxInvoice/B2bFileNotFoundError.js";
import type { B2bIdAlreadyExistsError } from "./b2b/taxInvoice/B2bIdAlreadyExistsError.js";
import type { B2bIssuanceTypeMismatchError } from "./b2b/taxInvoice/B2bIssuanceTypeMismatchError.js";
import type { B2bModificationNotProvidedError } from "./b2b/taxInvoice/B2bModificationNotProvidedError.js";
import type { B2bNotEnabledError } from "./common/B2bNotEnabledError.js";
import type { B2bOriginalTaxInvoiceNotFoundError } from "./b2b/taxInvoice/B2bOriginalTaxInvoiceNotFoundError.js";
import type { B2bRecipientNotFoundError } from "./b2b/taxInvoice/B2bRecipientNotFoundError.js";
import type { B2bSupplierNotFoundError } from "./b2b/taxInvoice/B2bSupplierNotFoundError.js";
import type { B2bTaxInvoiceAttachmentNotFoundError } from "./b2b/taxInvoice/B2bTaxInvoiceAttachmentNotFoundError.js";
import type { B2bTaxInvoiceNoRecipientDocumentKeyError } from "./b2b/taxInvoice/B2bTaxInvoiceNoRecipientDocumentKeyError.js";
import type { B2bTaxInvoiceNoSupplierDocumentKeyError } from "./b2b/taxInvoice/B2bTaxInvoiceNoSupplierDocumentKeyError.js";
import type { B2bTaxInvoiceNonDeletableStatusError } from "./b2b/taxInvoice/B2bTaxInvoiceNonDeletableStatusError.js";
import type { B2bTaxInvoiceNotDraftedStatusError } from "./b2b/taxInvoice/B2bTaxInvoiceNotDraftedStatusError.js";
import type { B2bTaxInvoiceNotFoundError } from "./b2b/taxInvoice/B2bTaxInvoiceNotFoundError.js";
import type { B2bTaxInvoiceNotIssuedStatusError } from "./b2b/taxInvoice/B2bTaxInvoiceNotIssuedStatusError.js";
import type { B2bTaxInvoiceNotRequestedStatusError } from "./b2b/taxInvoice/B2bTaxInvoiceNotRequestedStatusError.js";
import type { B2bTaxInvoiceRecipientDocumentKeyAlreadyUsedError } from "./b2b/taxInvoice/B2bTaxInvoiceRecipientDocumentKeyAlreadyUsedError.js";
import type { B2bTaxInvoiceSupplierDocumentKeyAlreadyUsedError } from "./b2b/taxInvoice/B2bTaxInvoiceSupplierDocumentKeyAlreadyUsedError.js";
import type { BillingKeyAlreadyDeletedError } from "./common/BillingKeyAlreadyDeletedError.js";
import type { BillingKeyAlreadyIssuedError } from "./payment/billingKey/BillingKeyAlreadyIssuedError.js";
import type { BillingKeyNotFoundError } from "./common/BillingKeyNotFoundError.js";
import type { BillingKeyNotIssuedError } from "./payment/billingKey/BillingKeyNotIssuedError.js";
import type { CancelAmountExceedsCancellableAmountError } from "./payment/CancelAmountExceedsCancellableAmountError.js";
import type { CancelTaxAmountExceedsCancellableTaxAmountError } from "./payment/CancelTaxAmountExceedsCancellableTaxAmountError.js";
import type { CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError } from "./payment/CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError.js";
import type { CancellableAmountConsistencyBrokenError } from "./payment/CancellableAmountConsistencyBrokenError.js";
import type { CashReceiptAlreadyIssuedError } from "./payment/cashReceipt/CashReceiptAlreadyIssuedError.js";
import type { CashReceiptNotFoundError } from "./payment/cashReceipt/CashReceiptNotFoundError.js";
import type { CashReceiptNotIssuedError } from "./payment/cashReceipt/CashReceiptNotIssuedError.js";
import type { ChannelNotFoundError } from "./common/ChannelNotFoundError.js";
import type { ChannelSpecificError } from "./payment/billingKey/ChannelSpecificError.js";
import type { DiscountAmountExceedsTotalAmountError } from "./payment/DiscountAmountExceedsTotalAmountError.js";
import type { ForbiddenError } from "./common/ForbiddenError.js";
import type { IdentityVerificationAlreadySentError } from "./identityVerification/IdentityVerificationAlreadySentError.js";
import type { IdentityVerificationAlreadyVerifiedError } from "./identityVerification/IdentityVerificationAlreadyVerifiedError.js";
import type { IdentityVerificationNotFoundError } from "./identityVerification/IdentityVerificationNotFoundError.js";
import type { IdentityVerificationNotSentError } from "./identityVerification/IdentityVerificationNotSentError.js";
import type { InformationMismatchError } from "./common/InformationMismatchError.js";
import type { InvalidPaymentTokenError } from "./payment/InvalidPaymentTokenError.js";
import type { InvalidRequestError } from "./common/InvalidRequestError.js";
import type { MaxTransactionCountReachedError } from "./common/MaxTransactionCountReachedError.js";
import type { MaxWebhookRetryCountReachedError } from "./payment/MaxWebhookRetryCountReachedError.js";
import type { NegativePromotionAdjustedCancelAmountError } from "./payment/NegativePromotionAdjustedCancelAmountError.js";
import type { PaymentAlreadyCancelledError } from "./payment/PaymentAlreadyCancelledError.js";
import type { PaymentCancellationNotFoundError } from "./payment/PaymentCancellationNotFoundError.js";
import type { PaymentCancellationNotPendingError } from "./payment/PaymentCancellationNotPendingError.js";
import type { PaymentNotFoundError } from "./payment/PaymentNotFoundError.js";
import type { PaymentNotPaidError } from "./payment/PaymentNotPaidError.js";
import type { PaymentNotWaitingForDepositError } from "./payment/PaymentNotWaitingForDepositError.js";
import type { PaymentScheduleAlreadyExistsError } from "./common/PaymentScheduleAlreadyExistsError.js";
import type { PaymentScheduleAlreadyProcessedError } from "./payment/paymentSchedule/PaymentScheduleAlreadyProcessedError.js";
import type { PaymentScheduleAlreadyRevokedError } from "./payment/paymentSchedule/PaymentScheduleAlreadyRevokedError.js";
import type { PaymentScheduleNotFoundError } from "./payment/paymentSchedule/PaymentScheduleNotFoundError.js";
import type { PgProviderError } from "./common/PgProviderError.js";
import type { PlatformAccountVerificationAlreadyUsedError } from "./platform/PlatformAccountVerificationAlreadyUsedError.js";
import type { PlatformAccountVerificationFailedError } from "./platform/PlatformAccountVerificationFailedError.js";
import type { PlatformAccountVerificationNotFoundError } from "./platform/PlatformAccountVerificationNotFoundError.js";
import type { PlatformAdditionalFeePoliciesNotFoundError } from "./platform/transfer/PlatformAdditionalFeePoliciesNotFoundError.js";
import type { PlatformAdditionalFeePolicyAlreadyExistsError } from "./platform/policy/PlatformAdditionalFeePolicyAlreadyExistsError.js";
import type { PlatformAdditionalFeePolicyNotFoundError } from "./platform/PlatformAdditionalFeePolicyNotFoundError.js";
import type { PlatformAdditionalFeePolicyScheduleAlreadyExistsError } from "./platform/PlatformAdditionalFeePolicyScheduleAlreadyExistsError.js";
import type { PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError } from "./platform/transfer/PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError.js";
import type { PlatformArchivedAdditionalFeePolicyError } from "./platform/PlatformArchivedAdditionalFeePolicyError.js";
import type { PlatformArchivedContractError } from "./platform/PlatformArchivedContractError.js";
import type { PlatformArchivedDiscountSharePolicyError } from "./platform/PlatformArchivedDiscountSharePolicyError.js";
import type { PlatformArchivedPartnerError } from "./platform/PlatformArchivedPartnerError.js";
import type { PlatformArchivedPartnersCannotBeScheduledError } from "./platform/PlatformArchivedPartnersCannotBeScheduledError.js";
import type { PlatformBtxNotEnabledError } from "./platform/partner/PlatformBtxNotEnabledError.js";
import type { PlatformCancelOrderTransfersExistsError } from "./platform/transfer/PlatformCancelOrderTransfersExistsError.js";
import type { PlatformCancellableAmountExceededError } from "./platform/transfer/PlatformCancellableAmountExceededError.js";
import type { PlatformCancellableDiscountAmountExceededError } from "./platform/transfer/PlatformCancellableDiscountAmountExceededError.js";
import type { PlatformCancellableDiscountTaxFreeAmountExceededError } from "./platform/transfer/PlatformCancellableDiscountTaxFreeAmountExceededError.js";
import type { PlatformCancellableProductQuantityExceededError } from "./platform/transfer/PlatformCancellableProductQuantityExceededError.js";
import type { PlatformCancellationAndPaymentTypeMismatchedError } from "./platform/transfer/PlatformCancellationAndPaymentTypeMismatchedError.js";
import type { PlatformCancellationNotFoundError } from "./platform/transfer/PlatformCancellationNotFoundError.js";
import type { PlatformCannotArchiveScheduledAdditionalFeePolicyError } from "./platform/policy/PlatformCannotArchiveScheduledAdditionalFeePolicyError.js";
import type { PlatformCannotArchiveScheduledContractError } from "./platform/policy/PlatformCannotArchiveScheduledContractError.js";
import type { PlatformCannotArchiveScheduledDiscountSharePolicyError } from "./platform/policy/PlatformCannotArchiveScheduledDiscountSharePolicyError.js";
import type { PlatformCannotArchiveScheduledPartnerError } from "./platform/partner/PlatformCannotArchiveScheduledPartnerError.js";
import type { PlatformCannotSpecifyTransferError } from "./platform/transfer/PlatformCannotSpecifyTransferError.js";
import type { PlatformCompanyNotFoundError } from "./platform/company/PlatformCompanyNotFoundError.js";
import type { PlatformCompanyVerificationAlreadyUsedError } from "./platform/PlatformCompanyVerificationAlreadyUsedError.js";
import type { PlatformContractAlreadyExistsError } from "./platform/policy/PlatformContractAlreadyExistsError.js";
import type { PlatformContractNotFoundError } from "./platform/PlatformContractNotFoundError.js";
import type { PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError } from "./platform/transfer/PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError.js";
import type { PlatformContractScheduleAlreadyExistsError } from "./platform/PlatformContractScheduleAlreadyExistsError.js";
import type { PlatformContractsNotFoundError } from "./platform/partner/PlatformContractsNotFoundError.js";
import type { PlatformCurrencyNotSupportedError } from "./platform/PlatformCurrencyNotSupportedError.js";
import type { PlatformDiscountSharePoliciesNotFoundError } from "./platform/transfer/PlatformDiscountSharePoliciesNotFoundError.js";
import type { PlatformDiscountSharePolicyAlreadyExistsError } from "./platform/policy/PlatformDiscountSharePolicyAlreadyExistsError.js";
import type { PlatformDiscountSharePolicyIdDuplicatedError } from "./platform/transfer/PlatformDiscountSharePolicyIdDuplicatedError.js";
import type { PlatformDiscountSharePolicyNotFoundError } from "./platform/PlatformDiscountSharePolicyNotFoundError.js";
import type { PlatformDiscountSharePolicyScheduleAlreadyExistsError } from "./platform/PlatformDiscountSharePolicyScheduleAlreadyExistsError.js";
import type { PlatformExternalApiFailedError } from "./platform/PlatformExternalApiFailedError.js";
import type { PlatformExternalApiTemporarilyFailedError } from "./platform/account/PlatformExternalApiTemporarilyFailedError.js";
import type { PlatformInsufficientDataToChangePartnerTypeError } from "./platform/PlatformInsufficientDataToChangePartnerTypeError.js";
import type { PlatformMemberCompanyConnectedPartnerBrnUnchangeableError } from "./platform/PlatformMemberCompanyConnectedPartnerBrnUnchangeableError.js";
import type { PlatformMemberCompanyConnectedPartnerCannotBeScheduledError } from "./platform/PlatformMemberCompanyConnectedPartnerCannotBeScheduledError.js";
import type { PlatformMemberCompanyConnectedPartnerTypeUnchangeableError } from "./platform/PlatformMemberCompanyConnectedPartnerTypeUnchangeableError.js";
import type { PlatformMemberCompanyConnectedPartnersCannotBeScheduledError } from "./platform/PlatformMemberCompanyConnectedPartnersCannotBeScheduledError.js";
import type { PlatformMemberCompanyNotConnectableStatusError } from "./platform/partner/PlatformMemberCompanyNotConnectableStatusError.js";
import type { PlatformMemberCompanyNotConnectedError } from "./platform/partner/PlatformMemberCompanyNotConnectedError.js";
import type { PlatformNotEnabledError } from "./platform/PlatformNotEnabledError.js";
import type { PlatformNotSupportedBankError } from "./platform/account/PlatformNotSupportedBankError.js";
import type { PlatformOngoingTaxInvoiceExistsError } from "./platform/partner/PlatformOngoingTaxInvoiceExistsError.js";
import type { PlatformOrderDetailMismatchedError } from "./platform/transfer/PlatformOrderDetailMismatchedError.js";
import type { PlatformOrderTransferAlreadyCancelledError } from "./platform/transfer/PlatformOrderTransferAlreadyCancelledError.js";
import type { PlatformPartnerIdAlreadyExistsError } from "./platform/partner/PlatformPartnerIdAlreadyExistsError.js";
import type { PlatformPartnerIdsAlreadyExistError } from "./platform/partner/PlatformPartnerIdsAlreadyExistError.js";
import type { PlatformPartnerIdsDuplicatedError } from "./platform/partner/PlatformPartnerIdsDuplicatedError.js";
import type { PlatformPartnerNotFoundError } from "./platform/PlatformPartnerNotFoundError.js";
import type { PlatformPartnerScheduleAlreadyExistsError } from "./platform/PlatformPartnerScheduleAlreadyExistsError.js";
import type { PlatformPartnerScheduleExistsError } from "./platform/partner/PlatformPartnerScheduleExistsError.js";
import type { PlatformPartnerSchedulesAlreadyExistError } from "./platform/PlatformPartnerSchedulesAlreadyExistError.js";
import type { PlatformPartnerTaxationTypeIsSimpleError } from "./platform/partner/PlatformPartnerTaxationTypeIsSimpleError.js";
import type { PlatformPartnerTypeIsNotBusinessError } from "./platform/partner/PlatformPartnerTypeIsNotBusinessError.js";
import type { PlatformPaymentNotFoundError } from "./platform/transfer/PlatformPaymentNotFoundError.js";
import type { PlatformProductIdDuplicatedError } from "./platform/transfer/PlatformProductIdDuplicatedError.js";
import type { PlatformProductIdNotFoundError } from "./platform/transfer/PlatformProductIdNotFoundError.js";
import type { PlatformSettlementAmountExceededError } from "./platform/transfer/PlatformSettlementAmountExceededError.js";
import type { PlatformSettlementCancelAmountExceededPortOneCancelError } from "./platform/transfer/PlatformSettlementCancelAmountExceededPortOneCancelError.js";
import type { PlatformSettlementDateEarlierThanSettlementStartDateError } from "./platform/transfer/PlatformSettlementDateEarlierThanSettlementStartDateError.js";
import type { PlatformSettlementParameterNotFoundError } from "./platform/transfer/PlatformSettlementParameterNotFoundError.js";
import type { PlatformSettlementPaymentAmountExceededPortOnePaymentError } from "./platform/transfer/PlatformSettlementPaymentAmountExceededPortOnePaymentError.js";
import type { PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError } from "./platform/transfer/PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError.js";
import type { PlatformSettlementTaxFreeAmountExceededPortOnePaymentError } from "./platform/transfer/PlatformSettlementTaxFreeAmountExceededPortOnePaymentError.js";
import type { PlatformTargetPartnerNotFoundError } from "./platform/partner/PlatformTargetPartnerNotFoundError.js";
import type { PlatformTransferAlreadyExistsError } from "./platform/transfer/PlatformTransferAlreadyExistsError.js";
import type { PlatformTransferDiscountSharePolicyNotFoundError } from "./platform/transfer/PlatformTransferDiscountSharePolicyNotFoundError.js";
import type { PlatformTransferNonDeletableStatusError } from "./platform/transfer/PlatformTransferNonDeletableStatusError.js";
import type { PlatformTransferNotFoundError } from "./platform/transfer/PlatformTransferNotFoundError.js";
import type { PlatformUserDefinedPropertyNotFoundError } from "./platform/PlatformUserDefinedPropertyNotFoundError.js";
import type { PromotionDiscountRetainOptionShouldNotBeChangedError } from "./payment/PromotionDiscountRetainOptionShouldNotBeChangedError.js";
import type { PromotionNotFoundError } from "./payment/promotion/PromotionNotFoundError.js";
import type { PromotionPayMethodDoesNotMatchError } from "./payment/PromotionPayMethodDoesNotMatchError.js";
import type { SumOfPartsExceedsCancelAmountError } from "./payment/SumOfPartsExceedsCancelAmountError.js";
import type { SumOfPartsExceedsTotalAmountError } from "./common/SumOfPartsExceedsTotalAmountError.js";
import type { UnauthorizedError } from "./common/UnauthorizedError.js";
import type { WebhookNotFoundError } from "./payment/WebhookNotFoundError.js";
export declare abstract class RestError extends PortOneError {
readonly data: AlreadyPaidError | AlreadyPaidOrWaitingError | B2BCannotChangeTaxTypeError | B2BTaxInvoiceStatusNotSendingCompletedError | B2bBulkTaxInvoiceNotFoundError | B2bDocumentKeyCannotBeChangedError | B2bExternalServiceError | B2bFileNotFoundError | B2bIdAlreadyExistsError | B2bIssuanceTypeMismatchError | B2bModificationNotProvidedError | B2bNotEnabledError | B2bOriginalTaxInvoiceNotFoundError | B2bRecipientNotFoundError | B2bSupplierNotFoundError | B2bTaxInvoiceAttachmentNotFoundError | B2bTaxInvoiceNoRecipientDocumentKeyError | B2bTaxInvoiceNoSupplierDocumentKeyError | B2bTaxInvoiceNonDeletableStatusError | B2bTaxInvoiceNotDraftedStatusError | B2bTaxInvoiceNotFoundError | B2bTaxInvoiceNotIssuedStatusError | B2bTaxInvoiceNotRequestedStatusError | B2bTaxInvoiceRecipientDocumentKeyAlreadyUsedError | B2bTaxInvoiceSupplierDocumentKeyAlreadyUsedError | BillingKeyAlreadyDeletedError | BillingKeyAlreadyIssuedError | BillingKeyNotFoundError | BillingKeyNotIssuedError | CancelAmountExceedsCancellableAmountError | CancelTaxAmountExceedsCancellableTaxAmountError | CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError | CancellableAmountConsistencyBrokenError | CashReceiptAlreadyIssuedError | CashReceiptNotFoundError | CashReceiptNotIssuedError | ChannelNotFoundError | ChannelSpecificError | DiscountAmountExceedsTotalAmountError | ForbiddenError | IdentityVerificationAlreadySentError | IdentityVerificationAlreadyVerifiedError | IdentityVerificationNotFoundError | IdentityVerificationNotSentError | InformationMismatchError | InvalidPaymentTokenError | InvalidRequestError | MaxTransactionCountReachedError | MaxWebhookRetryCountReachedError | NegativePromotionAdjustedCancelAmountError | PaymentAlreadyCancelledError | PaymentCancellationNotFoundError | PaymentCancellationNotPendingError | PaymentNotFoundError | PaymentNotPaidError | PaymentNotWaitingForDepositError | PaymentScheduleAlreadyExistsError | PaymentScheduleAlreadyProcessedError | PaymentScheduleAlreadyRevokedError | PaymentScheduleNotFoundError | PgProviderError | PlatformAccountVerificationAlreadyUsedError | PlatformAccountVerificationFailedError | PlatformAccountVerificationNotFoundError | PlatformAdditionalFeePoliciesNotFoundError | PlatformAdditionalFeePolicyAlreadyExistsError | PlatformAdditionalFeePolicyNotFoundError | PlatformAdditionalFeePolicyScheduleAlreadyExistsError | PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError | PlatformArchivedAdditionalFeePolicyError | PlatformArchivedContractError | PlatformArchivedDiscountSharePolicyError | PlatformArchivedPartnerError | PlatformArchivedPartnersCannotBeScheduledError | PlatformBtxNotEnabledError | PlatformCancelOrderTransfersExistsError | PlatformCancellableAmountExceededError | PlatformCancellableDiscountAmountExceededError | PlatformCancellableDiscountTaxFreeAmountExceededError | PlatformCancellableProductQuantityExceededError | PlatformCancellationAndPaymentTypeMismatchedError | PlatformCancellationNotFoundError | PlatformCannotArchiveScheduledAdditionalFeePolicyError | PlatformCannotArchiveScheduledContractError | PlatformCannotArchiveScheduledDiscountSharePolicyError | PlatformCannotArchiveScheduledPartnerError | PlatformCannotSpecifyTransferError | PlatformCompanyNotFoundError | PlatformCompanyVerificationAlreadyUsedError | PlatformContractAlreadyExistsError | PlatformContractNotFoundError | PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError | PlatformContractScheduleAlreadyExistsError | PlatformContractsNotFoundError | PlatformCurrencyNotSupportedError | PlatformDiscountSharePoliciesNotFoundError | PlatformDiscountSharePolicyAlreadyExistsError | PlatformDiscountSharePolicyIdDuplicatedError | PlatformDiscountSharePolicyNotFoundError | PlatformDiscountSharePolicyScheduleAlreadyExistsError | PlatformExternalApiFailedError | PlatformExternalApiTemporarilyFailedError | PlatformInsufficientDataToChangePartnerTypeError | PlatformMemberCompanyConnectedPartnerBrnUnchangeableError | PlatformMemberCompanyConnectedPartnerCannotBeScheduledError | PlatformMemberCompanyConnectedPartnerTypeUnchangeableError | PlatformMemberCompanyConnectedPartnersCannotBeScheduledError | PlatformMemberCompanyNotConnectableStatusError | PlatformMemberCompanyNotConnectedError | PlatformNotEnabledError | PlatformNotSupportedBankError | PlatformOngoingTaxInvoiceExistsError | PlatformOrderDetailMismatchedError | PlatformOrderTransferAlreadyCancelledError | PlatformPartnerIdAlreadyExistsError | PlatformPartnerIdsAlreadyExistError | PlatformPartnerIdsDuplicatedError | PlatformPartnerNotFoundError | PlatformPartnerScheduleAlreadyExistsError | PlatformPartnerScheduleExistsError | PlatformPartnerSchedulesAlreadyExistError | PlatformPartnerTaxationTypeIsSimpleError | PlatformPartnerTypeIsNotBusinessError | PlatformPaymentNotFoundError | PlatformProductIdDuplicatedError | PlatformProductIdNotFoundError | PlatformSettlementAmountExceededError | PlatformSettlementCancelAmountExceededPortOneCancelError | PlatformSettlementDateEarlierThanSettlementStartDateError | PlatformSettlementParameterNotFoundError | PlatformSettlementPaymentAmountExceededPortOnePaymentError | PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError | PlatformSettlementTaxFreeAmountExceededPortOnePaymentError | PlatformTargetPartnerNotFoundError | PlatformTransferAlreadyExistsError | PlatformTransferDiscountSharePolicyNotFoundError | PlatformTransferNonDeletableStatusError | PlatformTransferNotFoundError | PlatformUserDefinedPropertyNotFoundError | PromotionDiscountRetainOptionShouldNotBeChangedError | PromotionNotFoundError | PromotionPayMethodDoesNotMatchError | SumOfPartsExceedsCancelAmountError | SumOfPartsExceedsTotalAmountError | UnauthorizedError | WebhookNotFoundError | {
readonly type: Unrecognized;
};
/** @ignore */
constructor(data: AlreadyPaidError | AlreadyPaidOrWaitingError | B2BCannotChangeTaxTypeError | B2BTaxInvoiceStatusNotSendingCompletedError | B2bBulkTaxInvoiceNotFoundError | B2bDocumentKeyCannotBeChangedError | B2bExternalServiceError | B2bFileNotFoundError | B2bIdAlreadyExistsError | B2bIssuanceTypeMismatchError | B2bModificationNotProvidedError | B2bNotEnabledError | B2bOriginalTaxInvoiceNotFoundError | B2bRecipientNotFoundError | B2bSupplierNotFoundError | B2bTaxInvoiceAttachmentNotFoundError | B2bTaxInvoiceNoRecipientDocumentKeyError | B2bTaxInvoiceNoSupplierDocumentKeyError | B2bTaxInvoiceNonDeletableStatusError | B2bTaxInvoiceNotDraftedStatusError | B2bTaxInvoiceNotFoundError | B2bTaxInvoiceNotIssuedStatusError | B2bTaxInvoiceNotRequestedStatusError | B2bTaxInvoiceRecipientDocumentKeyAlreadyUsedError | B2bTaxInvoiceSupplierDocumentKeyAlreadyUsedError | BillingKeyAlreadyDeletedError | BillingKeyAlreadyIssuedError | BillingKeyNotFoundError | BillingKeyNotIssuedError | CancelAmountExceedsCancellableAmountError | CancelTaxAmountExceedsCancellableTaxAmountError | CancelTaxFreeAmountExceedsCancellableTaxFreeAmountError | CancellableAmountConsistencyBrokenError | CashReceiptAlreadyIssuedError | CashReceiptNotFoundError | CashReceiptNotIssuedError | ChannelNotFoundError | ChannelSpecificError | DiscountAmountExceedsTotalAmountError | ForbiddenError | IdentityVerificationAlreadySentError | IdentityVerificationAlreadyVerifiedError | IdentityVerificationNotFoundError | IdentityVerificationNotSentError | InformationMismatchError | InvalidPaymentTokenError | InvalidRequestError | MaxTransactionCountReachedError | MaxWebhookRetryCountReachedError | NegativePromotionAdjustedCancelAmountError | PaymentAlreadyCancelledError | PaymentCancellationNotFoundError | PaymentCancellationNotPendingError | PaymentNotFoundError | PaymentNotPaidError | PaymentNotWaitingForDepositError | PaymentScheduleAlreadyExistsError | PaymentScheduleAlreadyProcessedError | PaymentScheduleAlreadyRevokedError | PaymentScheduleNotFoundError | PgProviderError | PlatformAccountVerificationAlreadyUsedError | PlatformAccountVerificationFailedError | PlatformAccountVerificationNotFoundError | PlatformAdditionalFeePoliciesNotFoundError | PlatformAdditionalFeePolicyAlreadyExistsError | PlatformAdditionalFeePolicyNotFoundError | PlatformAdditionalFeePolicyScheduleAlreadyExistsError | PlatformAdditionalFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError | PlatformArchivedAdditionalFeePolicyError | PlatformArchivedContractError | PlatformArchivedDiscountSharePolicyError | PlatformArchivedPartnerError | PlatformArchivedPartnersCannotBeScheduledError | PlatformBtxNotEnabledError | PlatformCancelOrderTransfersExistsError | PlatformCancellableAmountExceededError | PlatformCancellableDiscountAmountExceededError | PlatformCancellableDiscountTaxFreeAmountExceededError | PlatformCancellableProductQuantityExceededError | PlatformCancellationAndPaymentTypeMismatchedError | PlatformCancellationNotFoundError | PlatformCannotArchiveScheduledAdditionalFeePolicyError | PlatformCannotArchiveScheduledContractError | PlatformCannotArchiveScheduledDiscountSharePolicyError | PlatformCannotArchiveScheduledPartnerError | PlatformCannotSpecifyTransferError | PlatformCompanyNotFoundError | PlatformCompanyVerificationAlreadyUsedError | PlatformContractAlreadyExistsError | PlatformContractNotFoundError | PlatformContractPlatformFixedAmountFeeCurrencyAndSettlementCurrencyMismatchedError | PlatformContractScheduleAlreadyExistsError | PlatformContractsNotFoundError | PlatformCurrencyNotSupportedError | PlatformDiscountSharePoliciesNotFoundError | PlatformDiscountSharePolicyAlreadyExistsError | PlatformDiscountSharePolicyIdDuplicatedError | PlatformDiscountSharePolicyNotFoundError | PlatformDiscountSharePolicyScheduleAlreadyExistsError | PlatformExternalApiFailedError | PlatformExternalApiTemporarilyFailedError | PlatformInsufficientDataToChangePartnerTypeError | PlatformMemberCompanyConnectedPartnerBrnUnchangeableError | PlatformMemberCompanyConnectedPartnerCannotBeScheduledError | PlatformMemberCompanyConnectedPartnerTypeUnchangeableError | PlatformMemberCompanyConnectedPartnersCannotBeScheduledError | PlatformMemberCompanyNotConnectableStatusError | PlatformMemberCompanyNotConnectedError | PlatformNotEnabledError | PlatformNotSupportedBankError | PlatformOngoingTaxInvoiceExistsError | PlatformOrderDetailMismatchedError | PlatformOrderTransferAlreadyCancelledError | PlatformPartnerIdAlreadyExistsError | PlatformPartnerIdsAlreadyExistError | PlatformPartnerIdsDuplicatedError | PlatformPartnerNotFoundError | PlatformPartnerScheduleAlreadyExistsError | PlatformPartnerScheduleExistsError | PlatformPartnerSchedulesAlreadyExistError | PlatformPartnerTaxationTypeIsSimpleError | PlatformPartnerTypeIsNotBusinessError | PlatformPaymentNotFoundError | PlatformProductIdDuplicatedError | PlatformProductIdNotFoundError | PlatformSettlementAmountExceededError | PlatformSettlementCancelAmountExceededPortOneCancelError | PlatformSettlementDateEarlierThanSettlementStartDateError | PlatformSettlementParameterNotFoundError | PlatformSettlementPaymentAmountExceededPortOnePaymentError | PlatformSettlementSupplyWithVatAmountExceededPortOnePaymentError | PlatformSettlementTaxFreeAmountExceededPortOnePaymentError | PlatformTargetPartnerNotFoundError | PlatformTransferAlreadyExistsError | PlatformTransferDiscountSharePolicyNotFoundError | PlatformTransferNonDeletableStatusError | PlatformTransferNotFoundError | PlatformUserDefinedPropertyNotFoundError | PromotionDiscountRetainOptionShouldNotBeChangedError | PromotionNotFoundError | PromotionPayMethodDoesNotMatchError | SumOfPartsExceedsCancelAmountError | SumOfPartsExceedsTotalAmountError | UnauthorizedError | WebhookNotFoundError | {
readonly type: Unrecognized;
});
}