@vantagepay/vantagepay 0.17.2 → 0.17.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/dist/consumers/index.d.ts +2 -2
- package/dist/consumers/types.d.ts +6 -10
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/index.modern.mjs +1 -1
- package/dist/index.modern.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,8 +9,8 @@ export declare class Consumers extends BaseApi {
|
|
|
9
9
|
getConsumerAgreement(): Promise<string>;
|
|
10
10
|
acceptConsumerAgreement(): Promise<void>;
|
|
11
11
|
stopCard(cardReference: string, reason?: string): Promise<void>;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
stopDebitOrders(debitOrderReferences: string[]): Promise<void>;
|
|
13
|
+
disputeDebitOrders(debitOrderReferences: string[]): Promise<void>;
|
|
14
14
|
getBankAccountBalance(bankAccountReference: string): Promise<Balance>;
|
|
15
15
|
downloadFile(fileReference: string, queryParameters?: Record<string, string>): Promise<ConsumerFile | null>;
|
|
16
16
|
submitFeedback(description: string): Promise<void>;
|
|
@@ -501,15 +501,11 @@ export declare class DebitOrder {
|
|
|
501
501
|
disputedDate?: Date;
|
|
502
502
|
/** Whether the debit order action date is in the future. */
|
|
503
503
|
isFuture: boolean;
|
|
504
|
-
/** Provider-specific metadata (not serialized to clients). */
|
|
505
|
-
metadata: {
|
|
506
|
-
[key: string]: string;
|
|
507
|
-
};
|
|
508
504
|
}
|
|
509
505
|
/** Request to dispute a debit order. */
|
|
510
|
-
export declare class
|
|
511
|
-
/** The debit order
|
|
512
|
-
|
|
506
|
+
export declare class DisputeDebitOrdersRequest {
|
|
507
|
+
/** The debit order references to dispute. */
|
|
508
|
+
debitOrderReferences: string[];
|
|
513
509
|
}
|
|
514
510
|
export declare class Feedback {
|
|
515
511
|
description?: string;
|
|
@@ -586,7 +582,7 @@ export declare class StopCardRequest {
|
|
|
586
582
|
reason?: string;
|
|
587
583
|
}
|
|
588
584
|
/** Request to stop a debit order. */
|
|
589
|
-
export declare class
|
|
590
|
-
/** The debit order
|
|
591
|
-
|
|
585
|
+
export declare class StopDebitOrdersRequest {
|
|
586
|
+
/** The debit order references to stop. */
|
|
587
|
+
debitOrderReferences: string[];
|
|
592
588
|
}
|