@yuno-payments/dashboard-api-mfe 1.2.4-beta.1 → 1.2.8

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.
@@ -383,6 +383,8 @@ export declare class Api extends HttpClient {
383
383
  pageSize?: number;
384
384
  }): Promise<AxiosResponse<T>>;
385
385
  changePasswordV2<T>(body: any): Promise<AxiosResponse<T>>;
386
+ workosPasswordReset<T>(body: any): Promise<AxiosResponse<T>>;
387
+ workosAdminPortal<T>(): Promise<AxiosResponse<T>>;
386
388
  getCardBrands<T>(): Promise<AxiosResponse<T>>;
387
389
  getPaymentFilters<T>(section: PaymentFiltersSection): Promise<AxiosResponse<T>>;
388
390
  getPaymentMetricsFilters<T>(): Promise<AxiosResponse<T>>;
@@ -6,6 +6,7 @@ export interface GetPaymentsParams {
6
6
  enabled?: boolean;
7
7
  account_code?: string;
8
8
  payment_link_code?: string;
9
+ recipient_id?: string;
9
10
  metadata?: Array<{
10
11
  field: string;
11
12
  formatType: 'TEXT' | 'NUMBER';
@@ -133,6 +134,7 @@ export interface GetTransactionsParams {
133
134
  page?: number;
134
135
  size?: number;
135
136
  account_code?: string;
137
+ recipient_id?: string;
136
138
  metadata?: Array<{
137
139
  field: string;
138
140
  formatType: 'TEXT' | 'NUMBER';
@@ -1,3 +1,5 @@
1
1
  import { User } from '../../types';
2
2
  import { UseMutationResult } from '@tanstack/react-query';
3
3
  export declare function useChangePasswordV2(): UseMutationResult<User.ChangePasswordResponse, User.FailureReason>;
4
+ export declare function useWorkosPasswordReset(): UseMutationResult<User.WorkosPasswordResetResponse, User.FailureReason, User.WorkosPasswordResetRequest>;
5
+ export declare function useWorkosAdminPortal(): UseMutationResult<User.WorkosAdminPortalResponse, User.FailureReason>;
@@ -108,13 +108,18 @@ export declare namespace Installments {
108
108
  }
109
109
  interface BulkCreateInstallmentsPlansResponse {
110
110
  created: InstallmentsPlan[];
111
- errors: string[];
111
+ errors?: string[];
112
112
  }
113
113
  interface BulkDeleteInstallmentsPlansRequest {
114
114
  codes: string[];
115
115
  }
116
+ interface BulkDeleteError {
117
+ code: string;
118
+ error_code: string;
119
+ message?: string;
120
+ }
116
121
  interface BulkDeleteInstallmentsPlansResponse {
117
122
  deleted: string[];
118
- errors?: string[];
123
+ errors?: BulkDeleteError[];
119
124
  }
120
125
  }
@@ -116,6 +116,15 @@ export declare namespace User {
116
116
  id_token: string;
117
117
  token_type: string;
118
118
  }
119
+ interface WorkosPasswordResetRequest {
120
+ email: string;
121
+ }
122
+ interface WorkosPasswordResetResponse {
123
+ success: boolean;
124
+ }
125
+ interface WorkosAdminPortalResponse {
126
+ link: string;
127
+ }
119
128
  interface ICustomizedApiKeysMembers {
120
129
  code: string;
121
130
  first_name: string;