cybersource-rest-client-typescript
Version:
NodeJS client for cybersource-rest-client-typescript
528 lines (527 loc) • 34.7 kB
TypeScript
import ApiClient, { ApiCallback } from '../ApiClient';
import MerchantConfig from '../authentication/core/MerchantConfig';
import { AccessTokenResponse, AddNegativeListRequest, AuthReversalRequest, Body, CapturePaymentRequest, CheckPayerAuthEnrollmentRequest, CreateAccessTokenRequest, CreateAdhocReportRequest, CreateBundledDecisionManagerCaseRequest, CreateCreditRequest, CreateInvoiceRequest, CreateP12KeysRequest, CreatePaymentRequest, CreatePlanRequest, CreateReportSubscriptionRequest, CreateSearchRequest, CreateSharedSecretKeysRequest, CreateSharedSecretKeysVerifiRequest, CreateSubscriptionRequest, DeleteBulkP12KeysRequest, DeleteBulkSymmetricKeysRequest, FraudMarkingActionRequest, GenerateCaptureContextRequest, GenerateUnifiedCheckoutCaptureContextRequest, IncrementAuthRequest, InlineResponse200, InlineResponse2001, InlineResponse20010, InlineResponse20011, InlineResponse20012, InlineResponse20013, InlineResponse20014, InlineResponse2002, InlineResponse2003, InlineResponse2004, InlineResponse2005, InlineResponse2006, InlineResponse2007, InlineResponse2008, InlineResponse2009, InlineResponse201, InlineResponse2011, InlineResponse202, InlineResponse2021, InlineResponse2022, InvoiceSettingsRequest, InvoicingV2InvoicesAllGet200Response, InvoicingV2InvoiceSettingsGet200Response, InvoicingV2InvoicesGet200Response, InvoicingV2InvoicesPost201Response, KmsV2KeysAsymDeletesPost200Response, KmsV2KeysAsymGet200Response, KmsV2KeysAsymPost201Response, KmsV2KeysSymDeletesPost200Response, KmsV2KeysSymGet200Response, KmsV2KeysSymPost201Response, MitReversalRequest, MitVoidRequest, OctCreatePaymentRequest, PatchCustomerPaymentInstrumentRequest, PatchCustomerRequest, PatchCustomerShippingAddressRequest, PatchInstrumentIdentifierRequest, PatchPaymentInstrumentRequest, PayerAuthSetupRequest, PaymentInstrumentList, PaymentInstrumentList1, PostCustomerPaymentInstrumentRequest, PostCustomerRequest, PostCustomerShippingAddressRequest, PostInstrumentIdentifierEnrollmentRequest, PostInstrumentIdentifierRequest, PostPaymentInstrumentRequest, PredefinedSubscriptionRequestBean, PtsV1TransactionBatchesGet200Response, PtsV1TransactionBatchesIdGet200Response, PtsV2CreditsPost201Response, PtsV2IncrementalAuthorizationPatch201Response, PtsV2PaymentsCapturesPost201Response, PtsV2PaymentsPost201Response, PtsV2PaymentsPost201Response1, PtsV2PaymentsRefundPost201Response, PtsV2PaymentsReversalsPost201Response, PtsV2PaymentsVoidsPost201Response, PtsV2PayoutsPost201Response, PushFunds201Response, PushFundsRequest, RefreshPaymentStatusRequest, RefundCaptureRequest, RefundPaymentRequest, ReportingV3ChargebackDetailsGet200Response, ReportingV3ChargebackSummariesGet200Response, ReportingV3ConversionDetailsGet200Response, ReportingV3InterchangeClearingLevelDetailsGet200Response, ReportingV3NetFundingsGet200Response, ReportingV3NotificationofChangesGet200Response, ReportingV3PaymentBatchSummariesGet200Response, ReportingV3PurchaseRefundDetailsGet200Response, ReportingV3ReportDefinitionsGet200Response, ReportingV3ReportDefinitionsNameGet200Response, ReportingV3ReportsGet200Response, ReportingV3ReportsIdGet200Response, ReportingV3ReportSubscriptionsGet200Response, ReportingV3ReportSubscriptionsGet200ResponseSubscriptions, ReportingV3RetrievalDetailsGet200Response, ReportingV3RetrievalSummariesGet200Response, RiskV1AddressVerificationsPost201Response, RiskV1AuthenticationResultsPost201Response, RiskV1AuthenticationSetupsPost201Response, RiskV1AuthenticationsPost201Response, RiskV1DecisionsPost201Response, RiskV1ExportComplianceInquiriesPost201Response, RiskV1UpdatePost201Response, SearchRequest, ShippingAddressListForCustomer, TaxRequest, TssV2GetEmvTags200Response, TssV2PostEmvTags200Response, TssV2TransactionsGet200Response, TssV2TransactionsPost201Response, UmsV1UsersGet200Response, UpdateAsymKeysRequest, UpdateInvoiceRequest, UpdatePasswordKeysRequest, UpdatePGPKeysRequest, UpdatePGPKeysRequest1, UpdatePlanRequest, UpdateSubscription, V1FileDetailsGet200Response, ValidateExportComplianceRequest, ValidateRequest, VasV2PaymentsPost201Response, VasV2TaxVoid200Response, VerifyCustomerAddressRequest, VoidCaptureRequest, VoidCreditRequest, VoidPaymentRequest, VoidRefundRequest, VoidTaxRequest } from '../model';
export declare class AsymmetricKeyManagementApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
createP12Keys(createP12KeysRequest: CreateP12KeysRequest, callback: ApiCallback<KmsV2KeysAsymPost201Response>): import("superagent").Request;
deleteBulkP12Keys(deleteBulkP12KeysRequest: DeleteBulkP12KeysRequest, callback: ApiCallback<KmsV2KeysAsymDeletesPost200Response>): import("superagent").Request;
getP12KeyDetails(keyId: string, callback: ApiCallback<KmsV2KeysAsymGet200Response>): import("superagent").Request;
updateAsymKey(keyId: string, updateAsymKeysRequest: UpdateAsymKeysRequest, callback: ApiCallback<any>): import("superagent").Request;
}
export declare class BatchesApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getBatchReport(batchId: string, callback: ApiCallback<InlineResponse20014>): import("superagent").Request;
getBatchStatus(batchId: string, callback: ApiCallback<InlineResponse20013>): import("superagent").Request;
getBatchesList(opts: {
offset?: number;
limit?: number;
fromDate?: string;
toDate?: string;
}, callback: ApiCallback<InlineResponse20012>): import("superagent").Request;
postBatch(body: Body, callback: ApiCallback<InlineResponse2022>): import("superagent").Request;
}
export declare class CaptureApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
capturePayment(capturePaymentRequest: CapturePaymentRequest, id: string, callback: ApiCallback<PtsV2PaymentsCapturesPost201Response>): import("superagent").Request;
}
export declare class ChargebackDetailsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getChargebackDetails(startTime: Date, endTime: Date, opts: {
organizationId?: string;
}, callback: ApiCallback<ReportingV3ChargebackDetailsGet200Response>): import("superagent").Request;
}
export declare class ChargebackSummariesApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getChargebackSummaries(startTime: Date, endTime: Date, opts: {
organizationId?: string;
}, callback: ApiCallback<ReportingV3ChargebackSummariesGet200Response>): import("superagent").Request;
}
export declare class ConversionDetailsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getConversionDetail(startTime: Date, endTime: Date, opts: {
organizationId?: string;
}, callback: ApiCallback<ReportingV3ConversionDetailsGet200Response>): import("superagent").Request;
}
export declare class CreditApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
createCredit(createCreditRequest: CreateCreditRequest, callback: ApiCallback<PtsV2CreditsPost201Response>): import("superagent").Request;
}
export declare class CustomerApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
deleteCustomer(customerId: string, opts: {
profileId?: string;
}, callback: ApiCallback): import("superagent").Request;
getCustomer(customerId: string, opts: {
profileId?: string;
}, callback: ApiCallback<PostCustomerRequest>): import("superagent").Request;
patchCustomer(customerId: string, patchCustomerRequest: PatchCustomerRequest, opts: {
profileId?: string;
ifMatch?: string;
}, callback: ApiCallback<PatchCustomerRequest>): import("superagent").Request;
postCustomer(postCustomerRequest: PostCustomerRequest, opts: {
profileId?: string;
}, callback: ApiCallback<PostCustomerRequest>): import("superagent").Request;
}
export declare class CustomerPaymentInstrumentApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
deleteCustomerPaymentInstrument(customerId: string, paymentInstrumentId: string, opts: {
profileId?: string;
}, callback: ApiCallback): import("superagent").Request;
getCustomerPaymentInstrument(customerId: string, paymentInstrumentId: string, opts: {
profileId?: string;
}, callback: ApiCallback<PostCustomerPaymentInstrumentRequest>): import("superagent").Request;
getCustomerPaymentInstrumentsList(customerId: string, opts: {
profileId?: string;
offset?: number;
limit?: number;
}, callback: ApiCallback<PaymentInstrumentList>): import("superagent").Request;
patchCustomersPaymentInstrument(customerId: string, paymentInstrumentId: string, patchCustomerPaymentInstrumentRequest: PatchCustomerPaymentInstrumentRequest, opts: {
profileId?: string;
ifMatch?: string;
}, callback: ApiCallback<PatchCustomerPaymentInstrumentRequest>): import("superagent").Request;
postCustomerPaymentInstrument(customerId: string, postCustomerPaymentInstrumentRequest: PostCustomerPaymentInstrumentRequest, opts: {
profileId?: string;
}, callback: ApiCallback<PostCustomerPaymentInstrumentRequest>): import("superagent").Request;
}
export declare class CustomerShippingAddressApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
deleteCustomerShippingAddress(customerId: string, shippingAddressId: string, opts: {
profileId?: string;
}, callback: ApiCallback): import("superagent").Request;
getCustomerShippingAddress(customerId: string, shippingAddressId: string, opts: {
profileId?: string;
}, callback: ApiCallback<PostCustomerShippingAddressRequest>): import("superagent").Request;
getCustomerShippingAddressesList(customerId: string, opts: {
profileId?: string;
offset?: number;
limit?: number;
}, callback: ApiCallback<ShippingAddressListForCustomer>): import("superagent").Request;
patchCustomersShippingAddress(customerId: string, shippingAddressId: string, patchCustomerShippingAddressRequest: PatchCustomerShippingAddressRequest, opts: {
profileId?: string;
ifMatch?: string;
}, callback: ApiCallback<PatchCustomerShippingAddressRequest>): import("superagent").Request;
postCustomerShippingAddress(customerId: string, postCustomerShippingAddressRequest: PostCustomerShippingAddressRequest, opts: {
profileId?: string;
}, callback: ApiCallback<PostCustomerShippingAddressRequest>): import("superagent").Request;
}
export declare class DecisionManagerApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
addNegative(type: string, addNegativeListRequest: AddNegativeListRequest, callback: ApiCallback<RiskV1UpdatePost201Response>): import("superagent").Request;
createBundledDecisionManagerCase(createBundledDecisionManagerCaseRequest: CreateBundledDecisionManagerCaseRequest, callback: ApiCallback<RiskV1DecisionsPost201Response>): import("superagent").Request;
fraudUpdate(id: string, fraudMarkingActionRequest: FraudMarkingActionRequest, callback: ApiCallback<RiskV1UpdatePost201Response>): import("superagent").Request;
}
export declare class DownloadDTDApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getDTDV2(reportDefinitionNameVersion: string, callback: ApiCallback): import("superagent").Request;
}
export declare class DownloadXSDApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getXSDV2(reportDefinitionNameVersion: string, callback: ApiCallback): import("superagent").Request;
}
export declare class EMVTagDetailsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getEmvTags(callback: ApiCallback<TssV2GetEmvTags200Response>): import("superagent").Request;
parseEmvTags(body: Body, callback: ApiCallback<TssV2PostEmvTags200Response>): import("superagent").Request;
}
export declare class InstrumentIdentifierApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
deleteInstrumentIdentifier(instrumentIdentifierId: string, opts: {
profileId?: string;
}, callback: ApiCallback): import("superagent").Request;
getInstrumentIdentifier(instrumentIdentifierId: string, opts: {
profileId?: string;
}, callback: ApiCallback<PostInstrumentIdentifierRequest>): import("superagent").Request;
getInstrumentIdentifierPaymentInstrumentsList(instrumentIdentifierId: string, opts: {
profileId?: string;
offset?: number;
limit?: number;
}, callback: ApiCallback<PaymentInstrumentList1>): import("superagent").Request;
patchInstrumentIdentifier(instrumentIdentifierId: string, patchInstrumentIdentifierRequest: PatchInstrumentIdentifierRequest, opts: {
profileId?: string;
ifMatch?: string;
}, callback: ApiCallback<PatchInstrumentIdentifierRequest>): import("superagent").Request;
postInstrumentIdentifier(postInstrumentIdentifierRequest: PostInstrumentIdentifierRequest, opts: {
profileId?: string;
}, callback: ApiCallback<PostInstrumentIdentifierRequest>): import("superagent").Request;
postInstrumentIdentifierEnrollment(instrumentIdentifierId: string, postInstrumentIdentifierEnrollmentRequest: PostInstrumentIdentifierEnrollmentRequest, opts: {
profileId?: string;
}, callback: ApiCallback): import("superagent").Request;
}
export declare class InterchangeClearingLevelDetailsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getInterchangeClearingLevelDetails(startTime: Date, endTime: Date, opts: {
organizationId?: string;
}, callback: ApiCallback<ReportingV3InterchangeClearingLevelDetailsGet200Response>): import("superagent").Request;
}
export declare class InvoiceSettingsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getInvoiceSettings(callback: ApiCallback<InvoicingV2InvoiceSettingsGet200Response>): import("superagent").Request;
updateInvoiceSettings(invoiceSettingsRequest: InvoiceSettingsRequest, callback: ApiCallback<InvoicingV2InvoiceSettingsGet200Response>): import("superagent").Request;
}
export declare class InvoicesApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
createInvoice(createInvoiceRequest: CreateInvoiceRequest, callback: ApiCallback<InvoicingV2InvoicesPost201Response>): import("superagent").Request;
getAllInvoices(offset: number, limit: number, opts: {
status?: string;
}, callback: ApiCallback<InvoicingV2InvoicesAllGet200Response>): import("superagent").Request;
getInvoice(id: string, callback: ApiCallback<InvoicingV2InvoicesGet200Response>): import("superagent").Request;
performCancelAction(id: string, callback: ApiCallback<InvoicingV2InvoicesPost201Response>): import("superagent").Request;
performSendAction(id: string, callback: ApiCallback<InvoicingV2InvoicesPost201Response>): import("superagent").Request;
updateInvoice(id: string, updateInvoiceRequest: UpdateInvoiceRequest, callback: ApiCallback<InvoicingV2InvoicesPost201Response>): import("superagent").Request;
}
export declare class KeyManagementApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
searchKeys(opts: {
offset?: number;
limit?: number;
sort?: string;
organizationIds?: Array<string>;
keyIds?: Array<string>;
keyTypes?: Array<string>;
expirationStartDate?: Date;
expirationEndDate?: Date;
}, callback: ApiCallback<InlineResponse20011>): import("superagent").Request;
}
export declare class KeyManagementPasswordApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
updatePassword(keyId: string, updatePasswordKeysRequest: UpdatePasswordKeysRequest, callback: ApiCallback<any>): import("superagent").Request;
}
export declare class KeyManagementPgpApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
updatePGP(keyId: string, updatePGPKeysRequest: UpdatePGPKeysRequest, callback: ApiCallback<any>): import("superagent").Request;
}
export declare class KeyManagementScmpApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
updateSCMP(keyId: string, updatePGPKeysRequest: UpdatePGPKeysRequest1, callback: ApiCallback<any>): import("superagent").Request;
}
export declare class MicroformIntegrationApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
generateCaptureContext(generateCaptureContextRequest: GenerateCaptureContextRequest, callback: ApiCallback<string>): import("superagent").Request;
}
export declare class NetFundingsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getNetFundingDetails(startTime: Date, endTime: Date, opts: {
organizationId?: string;
groupName?: string;
}, callback: ApiCallback<ReportingV3NetFundingsGet200Response>): import("superagent").Request;
}
export declare class NotificationOfChangesApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getNotificationOfChangeReport(startTime: Date, endTime: Date, callback: ApiCallback<ReportingV3NotificationofChangesGet200Response>): import("superagent").Request;
}
export declare class PayerAuthenticationApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
checkPayerAuthEnrollment(checkPayerAuthEnrollmentRequest: CheckPayerAuthEnrollmentRequest, callback: ApiCallback<RiskV1AuthenticationsPost201Response>): import("superagent").Request;
payerAuthSetup(payerAuthSetupRequest: PayerAuthSetupRequest, callback: ApiCallback<RiskV1AuthenticationSetupsPost201Response>): import("superagent").Request;
validateAuthenticationResults(validateRequest: ValidateRequest, callback: ApiCallback<RiskV1AuthenticationResultsPost201Response>): import("superagent").Request;
}
export declare class PaymentBatchSummariesApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getPaymentBatchSummary(startTime: Date, endTime: Date, opts: {
organizationId?: string;
rollUp?: string;
breakdown?: string;
startDayOfWeek?: number;
}, callback: ApiCallback<ReportingV3PaymentBatchSummariesGet200Response>): import("superagent").Request;
}
export declare class PaymentInstrumentApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
deletePaymentInstrument(paymentInstrumentId: string, opts: {
profileId?: string;
}, callback: ApiCallback): import("superagent").Request;
getPaymentInstrument(paymentInstrumentId: string, opts: {
profileId?: string;
}, callback: ApiCallback<PostPaymentInstrumentRequest>): import("superagent").Request;
patchPaymentInstrument(paymentInstrumentId: string, patchPaymentInstrumentRequest: PatchPaymentInstrumentRequest, opts: {
profileId?: string;
ifMatch?: string;
}, callback: ApiCallback<PatchPaymentInstrumentRequest>): import("superagent").Request;
postPaymentInstrument(postPaymentInstrumentRequest: PostPaymentInstrumentRequest, opts: {
profileId?: string;
}, callback: ApiCallback<PostPaymentInstrumentRequest>): import("superagent").Request;
}
export declare class PaymentsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
createPayment(createPaymentRequest: CreatePaymentRequest, callback: ApiCallback<PtsV2PaymentsPost201Response>): import("superagent").Request;
incrementAuth(id: string, incrementAuthRequest: IncrementAuthRequest, callback: ApiCallback<PtsV2IncrementalAuthorizationPatch201Response>): import("superagent").Request;
refreshPaymentStatus(id: string, refreshPaymentStatusRequest: RefreshPaymentStatusRequest, callback: ApiCallback<PtsV2PaymentsPost201Response1>): import("superagent").Request;
}
export declare class PayoutsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
octCreatePayment(octCreatePaymentRequest: OctCreatePaymentRequest, callback: ApiCallback<PtsV2PayoutsPost201Response>): import("superagent").Request;
}
export declare class PlansApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
activatePlan(id: string, opts: {
activatePlanRequest?: any;
}, callback: ApiCallback<InlineResponse2004>): import("superagent").Request;
createPlan(createPlanRequest: CreatePlanRequest, callback: ApiCallback<InlineResponse201>): import("superagent").Request;
deactivatePlan(id: string, opts: {
deactivatePlanRequest?: any;
}, callback: ApiCallback<InlineResponse2004>): import("superagent").Request;
deletePlan(id: string, callback: ApiCallback<InlineResponse2002>): import("superagent").Request;
getPlan(id: string, callback: ApiCallback<InlineResponse2001>): import("superagent").Request;
getPlanCode(callback: ApiCallback<InlineResponse2005>): import("superagent").Request;
getPlans(opts: {
offset?: number;
limit?: number;
code?: string;
status?: string;
name?: string;
}, callback: ApiCallback<InlineResponse200>): import("superagent").Request;
updatePlan(id: string, updatePlanRequest: UpdatePlanRequest, callback: ApiCallback<InlineResponse2003>): import("superagent").Request;
}
export declare class PurchaseAndRefundDetailsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getPurchaseAndRefundDetails(startTime: Date, endTime: Date, opts: {
organizationId?: string;
paymentSubtype?: string;
viewBy?: string;
groupName?: string;
offset?: number;
limit?: number;
}, callback: ApiCallback<ReportingV3PurchaseRefundDetailsGet200Response>): import("superagent").Request;
}
export declare class PushFundsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
createPushFundsTransfer(pushFundsRequest: PushFundsRequest, contentType: string, xRequestid: string, vCMerchantId: string, vCPermissions: string, vCCorrelationId: string, vCOrganizationId: string, callback: ApiCallback<PushFunds201Response>): import("superagent").Request;
}
export declare class RefundApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
refundCapture(refundCaptureRequest: RefundCaptureRequest, id: string, callback: ApiCallback<PtsV2PaymentsRefundPost201Response>): import("superagent").Request;
refundPayment(refundPaymentRequest: RefundPaymentRequest, id: string, callback: ApiCallback<PtsV2PaymentsRefundPost201Response>): import("superagent").Request;
}
export declare class ReportDefinitionsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getResourceInfoByReportDefinition(reportDefinitionName: string, opts: {
subscriptionType?: string;
reportMimeType?: string;
organizationId?: string;
}, callback: ApiCallback<ReportingV3ReportDefinitionsNameGet200Response>): import("superagent").Request;
getResourceV2Info(opts: {
subscriptionType?: string;
organizationId?: string;
}, callback: ApiCallback<ReportingV3ReportDefinitionsGet200Response>): import("superagent").Request;
}
export declare class ReportDownloadsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
downloadReport(reportDate: string, reportName: string, opts: {
organizationId?: string;
}, callback: ApiCallback): import("superagent").Request;
}
export declare class ReportSubscriptionsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
createStandardOrClassicSubscription(predefinedSubscriptionRequestBean: PredefinedSubscriptionRequestBean, opts: {
organizationId?: string;
}, callback: ApiCallback): import("superagent").Request;
createSubscription(createReportSubscriptionRequest: CreateReportSubscriptionRequest, opts: {
organizationId?: string;
}, callback: ApiCallback): import("superagent").Request;
deleteSubscription(reportName: string, opts: {
organizationId?: string;
}, callback: ApiCallback): import("superagent").Request;
getAllSubscriptions(opts: {
organizationId?: string;
}, callback: ApiCallback<ReportingV3ReportSubscriptionsGet200Response>): import("superagent").Request;
getSubscription(reportName: string, opts: {
organizationId?: string;
}, callback: ApiCallback<ReportingV3ReportSubscriptionsGet200ResponseSubscriptions>): import("superagent").Request;
}
export declare class ReportsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
createReport(createAdhocReportRequest: CreateAdhocReportRequest, opts: {
organizationId?: string;
}, callback: ApiCallback): import("superagent").Request;
getReportByReportId(reportId: string, opts: {
organizationId?: string;
}, callback: ApiCallback<ReportingV3ReportsIdGet200Response>): import("superagent").Request;
searchReports(startTime: Date, endTime: Date, timeQueryType: string, opts: {
organizationId?: string;
reportMimeType?: string;
reportFrequency?: string;
reportName?: string;
reportDefinitionId?: number;
reportStatus?: string;
}, callback: ApiCallback<ReportingV3ReportsGet200Response>): import("superagent").Request;
}
export declare class RetrievalDetailsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getRetrievalDetails(startTime: Date, endTime: Date, opts: {
organizationId?: string;
}, callback: ApiCallback<ReportingV3RetrievalDetailsGet200Response>): import("superagent").Request;
}
export declare class RetrievalSummariesApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getRetrievalSummary(startTime: Date, endTime: Date, opts: {
organizationId?: string;
}, callback: ApiCallback<ReportingV3RetrievalSummariesGet200Response>): import("superagent").Request;
}
export declare class ReversalApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
authReversal(id: string, authReversalRequest: AuthReversalRequest, callback: ApiCallback<PtsV2PaymentsReversalsPost201Response>): import("superagent").Request;
mitReversal(mitReversalRequest: MitReversalRequest, callback: ApiCallback<PtsV2PaymentsReversalsPost201Response>): import("superagent").Request;
}
export declare class SearchTransactionsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
createSearch(createSearchRequest: CreateSearchRequest, callback: ApiCallback<TssV2TransactionsPost201Response>): import("superagent").Request;
getSearch(searchId: string, callback: ApiCallback<TssV2TransactionsPost201Response>): import("superagent").Request;
}
export declare class SecureFileShareApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getFile(fileId: string, opts: {
organizationId?: string;
}, callback: ApiCallback): import("superagent").Request;
getFileDetail(startDate: string, endDate: string, opts: {
organizationId?: string;
name?: string;
}, callback: ApiCallback<V1FileDetailsGet200Response>): import("superagent").Request;
}
export declare class SubscriptionsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
activateSubscription(id: string, opts: {
activateSubscriptionRequest?: any;
}, callback: ApiCallback<InlineResponse2009>): import("superagent").Request;
cancelSubscription(id: string, opts: {
cancelSubscriptionRequest?: any;
}, callback: ApiCallback<InlineResponse202>): import("superagent").Request;
createSubscription(createSubscriptionRequest: CreateSubscriptionRequest, callback: ApiCallback<InlineResponse2011>): import("superagent").Request;
getAllSubscriptions(opts: {
offset?: number;
limit?: number;
code?: string;
status?: string;
}, callback: ApiCallback<InlineResponse2006>): import("superagent").Request;
getSubscription(id: string, callback: ApiCallback<InlineResponse2007>): import("superagent").Request;
getSubscriptionCode(callback: ApiCallback<InlineResponse20010>): import("superagent").Request;
suspendSubscription(id: string, opts: {
suspendSubscriptionRequest?: any;
}, callback: ApiCallback<InlineResponse2021>): import("superagent").Request;
updateSubscription(id: string, updateSubscription: UpdateSubscription, callback: ApiCallback<InlineResponse2008>): import("superagent").Request;
}
export declare class SymmetricKeyManagementApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
createV2SharedSecretKeys(createSharedSecretKeysRequest: CreateSharedSecretKeysRequest, callback: ApiCallback<KmsV2KeysSymPost201Response>): import("superagent").Request;
createV2SharedSecretKeysVerifi(vIcDomain: string, createSharedSecretKeysVerifiRequest: CreateSharedSecretKeysVerifiRequest, callback: ApiCallback<KmsV2KeysSymPost201Response>): import("superagent").Request;
deleteBulkSymmetricKeys(deleteBulkSymmetricKeysRequest: DeleteBulkSymmetricKeysRequest, callback: ApiCallback<KmsV2KeysSymDeletesPost200Response>): import("superagent").Request;
getKeyDetails(keyId: string, callback: ApiCallback<KmsV2KeysSymGet200Response>): import("superagent").Request;
}
export declare class TaxesApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
calculateTax(taxRequest: TaxRequest, callback: ApiCallback<VasV2PaymentsPost201Response>): import("superagent").Request;
voidTax(voidTaxRequest: VoidTaxRequest, id: string, callback: ApiCallback<VasV2TaxVoid200Response>): import("superagent").Request;
}
export declare class TokenApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
postTokenPaymentCredentials(tokenId: string, opts: {
profileId?: string;
}, callback: ApiCallback<string>): import("superagent").Request;
}
export declare class TransactionBatchesApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getTransactionBatchDetails(id: string, opts: {
uploadDate?: string;
status?: string;
}, callback: ApiCallback): import("superagent").Request;
getTransactionBatchId(id: string, callback: ApiCallback<PtsV1TransactionBatchesIdGet200Response>): import("superagent").Request;
getTransactionBatches(startTime: Date, endTime: Date, callback: ApiCallback<PtsV1TransactionBatchesGet200Response>): import("superagent").Request;
}
export declare class TransactionDetailsApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getTransaction(id: string, callback: ApiCallback<TssV2TransactionsGet200Response>): import("superagent").Request;
}
export declare class TransientTokenDataApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getTransactionForTransientToken(transientToken: string, callback: ApiCallback): import("superagent").Request;
}
export declare class UnifiedCheckoutCaptureContextApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
generateUnifiedCheckoutCaptureContext(generateUnifiedCheckoutCaptureContextRequest: GenerateUnifiedCheckoutCaptureContextRequest, callback: ApiCallback<string>): import("superagent").Request;
}
export declare class UserManagementApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
getUsers(opts: {
organizationId?: string;
userName?: string;
permissionId?: string;
roleId?: string;
}, callback: ApiCallback<UmsV1UsersGet200Response>): import("superagent").Request;
}
export declare class UserManagementSearchApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
searchUsers(searchRequest: SearchRequest, callback: ApiCallback<UmsV1UsersGet200Response>): import("superagent").Request;
}
export declare class VerificationApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
validateExportCompliance(validateExportComplianceRequest: ValidateExportComplianceRequest, callback: ApiCallback<RiskV1ExportComplianceInquiriesPost201Response>): import("superagent").Request;
verifyCustomerAddress(verifyCustomerAddressRequest: VerifyCustomerAddressRequest, callback: ApiCallback<RiskV1AddressVerificationsPost201Response>): import("superagent").Request;
}
export declare class VoidApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
mitVoid(mitVoidRequest: MitVoidRequest, callback: ApiCallback<PtsV2PaymentsVoidsPost201Response>): import("superagent").Request;
voidCapture(voidCaptureRequest: VoidCaptureRequest, id: string, callback: ApiCallback<PtsV2PaymentsVoidsPost201Response>): import("superagent").Request;
voidCredit(voidCreditRequest: VoidCreditRequest, id: string, callback: ApiCallback<PtsV2PaymentsVoidsPost201Response>): import("superagent").Request;
voidPayment(voidPaymentRequest: VoidPaymentRequest, id: string, callback: ApiCallback<PtsV2PaymentsVoidsPost201Response>): import("superagent").Request;
voidRefund(voidRefundRequest: VoidRefundRequest, id: string, callback: ApiCallback<PtsV2PaymentsVoidsPost201Response>): import("superagent").Request;
}
export declare class OAuthApi {
apiClient: ApiClient;
constructor(config: MerchantConfig, apiClient?: ApiClient);
createAccessToken(createAccessTokenRequest: CreateAccessTokenRequest, opts: {
vCClientCorrelationId?: string;
}, callback: ApiCallback<AccessTokenResponse>): import("superagent").Request;
}