@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.
@@ -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
- stopDebitOrder(debitOrderReference: string): Promise<void>;
13
- disputeDebitOrder(debitOrderReference: string): Promise<void>;
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 DisputeDebitOrderRequest {
511
- /** The debit order reference to dispute. */
512
- debitOrderReference: string;
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 StopDebitOrderRequest {
590
- /** The debit order reference to stop. */
591
- debitOrderReference: string;
585
+ export declare class StopDebitOrdersRequest {
586
+ /** The debit order references to stop. */
587
+ debitOrderReferences: string[];
592
588
  }