@yuno-payments/dashboard-api-mfe 1.12.0 → 1.13.0

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.
@@ -352,6 +352,14 @@ export declare class Api extends HttpClient {
352
352
  putAccountPrincipal<T>({ account_code }: {
353
353
  account_code: any;
354
354
  }): Promise<AxiosResponse<T>>;
355
+ bulkDisableAccounts(payload: Organization.BulkToggleAccountsRequest): Promise<AxiosResponse<Organization.BulkToggleAccountsResponse>>;
356
+ bulkEnableAccounts(payload: Organization.BulkToggleAccountsRequest): Promise<AxiosResponse<Organization.BulkToggleAccountsResponse>>;
357
+ getAccountsByOrganization<T>(params?: {
358
+ includeDisabled?: boolean;
359
+ }): Promise<AxiosResponse<T, any>>;
360
+ getAccountsByOrganizationCode<T>(organizationCode: string, params?: {
361
+ includeDisabled?: boolean;
362
+ }): Promise<AxiosResponse<T, any>>;
355
363
  getMergedNotifications<T>(): Promise<AxiosResponse<T>>;
356
364
  getNotificationsCustomer<T>(customer: any): Promise<AxiosResponse<T>>;
357
365
  getValidateOpsgenieKey<T>(key: any): Promise<AxiosResponse<T>>;
@@ -416,6 +424,7 @@ export declare class Api extends HttpClient {
416
424
  workosAdminPortal<T>(): Promise<AxiosResponse<T>>;
417
425
  workosDomainVerificationPortal<T>(): Promise<AxiosResponse<T>>;
418
426
  workosDomainStatus<T>(): Promise<AxiosResponse<T>>;
427
+ workosSsoConfigStatus<T>(): Promise<AxiosResponse<T>>;
419
428
  workosVerifyMfa<T>(body: any): Promise<AxiosResponse<T>>;
420
429
  getCardBrands<T>(): Promise<AxiosResponse<T>>;
421
430
  getPaymentFilters<T>(section: PaymentFiltersSection): Promise<AxiosResponse<T>>;
@@ -0,0 +1 @@
1
+ export declare const accountsHandlers: import("msw/lib/core/handlers/HttpHandler").HttpHandler[];
@@ -44,6 +44,8 @@ export declare function usePatchAccountV2(): UseMutationResult<AxiosResponse<Org
44
44
  export declare function usePutAccountPrincipal(): UseMutationResult<AxiosResponse<Organization.Account, any, {}>, unknown, {
45
45
  account_code: string;
46
46
  }, unknown>;
47
+ export declare function useBulkDisableAccounts(): UseMutationResult<AxiosResponse<Organization.BulkToggleAccountsResponse>, AxiosError, Organization.BulkToggleAccountsRequest>;
48
+ export declare function useBulkEnableAccounts(): UseMutationResult<AxiosResponse<Organization.BulkToggleAccountsResponse>, AxiosError, Organization.BulkToggleAccountsRequest>;
47
49
  export declare function usePutAccountsUserMassive(): UseMutationResult<AxiosResponse<Organization.Account, any, {}>, unknown, {
48
50
  organizationCode: string;
49
51
  userCode: string;
@@ -13,6 +13,9 @@ export declare function useGetWebhooksV2Detail({ accountCode, enabled, }: {
13
13
  }): UseQueryResult<Webhook.WebHookV2[], unknown>;
14
14
  export declare function useGetAccounts(organizationCode?: string): UseQueryResult<Organization.Account[], unknown>;
15
15
  export declare function useGetAccountsV2(organizationCode: string): UseQueryResult<Organization.Account[], unknown>;
16
+ export declare function useGetAccountsByOrganization(params?: {
17
+ includeDisabled?: boolean;
18
+ }): UseQueryResult<Organization.Account[], unknown>;
16
19
  export declare function useGetAccountsByUser(userCode: string): UseQueryResult<{
17
20
  accountsV2ByUser: Organization.Account[];
18
21
  error?: AxiosError;
@@ -6,3 +6,18 @@ export interface WorkosDomainStatusResponse {
6
6
  has_verified_domain: boolean;
7
7
  }
8
8
  export declare function useWorkosDomainStatus(): import("@tanstack/react-query").UseQueryResult<WorkosDomainStatusResponse, unknown>;
9
+ export interface WorkosSsoConnection {
10
+ id: string;
11
+ name: string;
12
+ connectionType: string;
13
+ state: string;
14
+ }
15
+ export interface WorkosSsoConfigStatusResponse {
16
+ hasWorkosOrg: boolean;
17
+ domainVerified: boolean;
18
+ domainState: string | null;
19
+ connectionActive: boolean;
20
+ connections: WorkosSsoConnection[];
21
+ readyToMigrate: boolean;
22
+ }
23
+ export declare function useWorkosSsoConfigStatus(): import("@tanstack/react-query").UseQueryResult<WorkosSsoConfigStatusResponse, unknown>;
@@ -149,6 +149,7 @@ export declare namespace StylingSettings {
149
149
  };
150
150
  ui?: {
151
151
  dark_mode?: boolean;
152
+ show_secure_payment_tag?: boolean;
152
153
  };
153
154
  };
154
155
  flags?: {
@@ -73,6 +73,10 @@ export declare namespace Organization {
73
73
  user_account_code: string;
74
74
  };
75
75
  }
76
+ interface BulkToggleAccountsRequest {
77
+ accountCodes: string[];
78
+ }
79
+ type BulkToggleAccountsResponse = Account[];
76
80
  interface Integration {
77
81
  code: string;
78
82
  provider_id: string;