@yuno-payments/dashboard-api-mfe 1.17.0 → 1.17.2

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.
@@ -521,14 +521,16 @@ export declare class Api extends HttpClient {
521
521
  putBlackListType<T>(payload: any): Promise<AxiosResponse<T, any>>;
522
522
  changeBlackListStatus<T>(payload: any): Promise<AxiosResponse<T, any>>;
523
523
  changeBlackListStatusItem<T>(payload: any): Promise<AxiosResponse<T, any>>;
524
- postBlackListItems<T>({ payload }: {
525
- payload: any;
524
+ postBlackListItems<T>({ payload, accountCode, }: {
525
+ payload: unknown;
526
+ accountCode?: string;
526
527
  }): Promise<AxiosResponse<T, any>>;
527
- postBlackListBatch<T>({ blacklist_code, expiration_days, file, handleSetProgress, }: {
528
- blacklist_code: any;
529
- expiration_days: any;
530
- file: any;
531
- handleSetProgress: any;
528
+ postBlackListBatch<T>({ blacklist_code, expiration_days, file, handleSetProgress, accountCode, }: {
529
+ blacklist_code: string;
530
+ expiration_days: number;
531
+ file: string;
532
+ handleSetProgress: (progress: number) => void;
533
+ accountCode?: string;
532
534
  }): Promise<AxiosResponse<T, any>>;
533
535
  deleteBlackListType<T>({ black_list_code, }: {
534
536
  black_list_code: any;
@@ -18,11 +18,13 @@ export type PostBlackList = {
18
18
  };
19
19
  type PostBlackListItems = {
20
20
  payload: FraudScreening.BlackListItemsPayload;
21
+ accountCode?: string;
21
22
  };
22
23
  type PostBlackListBatch = {
23
24
  blacklist_code: string;
24
25
  expiration_days: number;
25
26
  file: string;
27
+ accountCode?: string;
26
28
  };
27
29
  export type ChangePaymentsWebhook = {
28
30
  paymentCode: string;
package/build/index.d.ts CHANGED
@@ -6228,11 +6228,13 @@ type PostBlackList = {
6228
6228
  };
6229
6229
  type PostBlackListItems = {
6230
6230
  payload: FraudScreening.BlackListItemsPayload;
6231
+ accountCode?: string;
6231
6232
  };
6232
6233
  type PostBlackListBatch = {
6233
6234
  blacklist_code: string;
6234
6235
  expiration_days: number;
6235
6236
  file: string;
6237
+ accountCode?: string;
6236
6238
  };
6237
6239
  type ChangePaymentsWebhook = {
6238
6240
  paymentCode: string;
@@ -8031,14 +8033,16 @@ declare class Api extends HttpClient {
8031
8033
  putBlackListType<T>(payload: any): Promise<AxiosResponse<T, any>>;
8032
8034
  changeBlackListStatus<T>(payload: any): Promise<AxiosResponse<T, any>>;
8033
8035
  changeBlackListStatusItem<T>(payload: any): Promise<AxiosResponse<T, any>>;
8034
- postBlackListItems<T>({ payload }: {
8035
- payload: any;
8036
+ postBlackListItems<T>({ payload, accountCode, }: {
8037
+ payload: unknown;
8038
+ accountCode?: string;
8036
8039
  }): Promise<AxiosResponse<T, any>>;
8037
- postBlackListBatch<T>({ blacklist_code, expiration_days, file, handleSetProgress, }: {
8038
- blacklist_code: any;
8039
- expiration_days: any;
8040
- file: any;
8041
- handleSetProgress: any;
8040
+ postBlackListBatch<T>({ blacklist_code, expiration_days, file, handleSetProgress, accountCode, }: {
8041
+ blacklist_code: string;
8042
+ expiration_days: number;
8043
+ file: string;
8044
+ handleSetProgress: (progress: number) => void;
8045
+ accountCode?: string;
8042
8046
  }): Promise<AxiosResponse<T, any>>;
8043
8047
  deleteBlackListType<T>({ black_list_code, }: {
8044
8048
  black_list_code: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuno-payments/dashboard-api-mfe",
3
- "version": "1.17.0",
3
+ "version": "1.17.2",
4
4
  "types": "build/index.d.ts",
5
5
  "main": "build/cjs/index.js",
6
6
  "module": "build/esm/index.js",