@yuno-payments/dashboard-api-mfe 1.6.6 → 1.6.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.
- package/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +2 -0
- package/build/cjs/types/mutations/security/security.mutation.d.ts +1 -0
- package/build/cjs/types/queries/audit/audit.query.d.ts +1 -1
- package/build/cjs/types/queries/index.d.ts +1 -0
- package/build/cjs/types/queries/security/index.d.ts +1 -0
- package/build/cjs/types/queries/security/security.query.d.ts +8 -0
- package/build/cjs/types/types/audit/audit.d.ts +7 -0
- package/build/cjs/types/types/webhook/webhook.d.ts +2 -0
- package/build/esm/index.js +4 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +2 -0
- package/build/esm/types/mutations/security/security.mutation.d.ts +1 -0
- package/build/esm/types/queries/audit/audit.query.d.ts +1 -1
- package/build/esm/types/queries/index.d.ts +1 -0
- package/build/esm/types/queries/security/index.d.ts +1 -0
- package/build/esm/types/queries/security/security.query.d.ts +8 -0
- package/build/esm/types/types/audit/audit.d.ts +7 -0
- package/build/esm/types/types/webhook/webhook.d.ts +2 -0
- package/build/index.d.ts +24 -3
- package/package.json +1 -1
|
@@ -419,6 +419,8 @@ export declare class Api extends HttpClient {
|
|
|
419
419
|
changePasswordV2<T>(body: any): Promise<AxiosResponse<T>>;
|
|
420
420
|
workosPasswordReset<T>(body: any): Promise<AxiosResponse<T>>;
|
|
421
421
|
workosAdminPortal<T>(): Promise<AxiosResponse<T>>;
|
|
422
|
+
workosDomainVerificationPortal<T>(): Promise<AxiosResponse<T>>;
|
|
423
|
+
workosDomainStatus<T>(): Promise<AxiosResponse<T>>;
|
|
422
424
|
workosVerifyMfa<T>(body: any): Promise<AxiosResponse<T>>;
|
|
423
425
|
getCardBrands<T>(): Promise<AxiosResponse<T>>;
|
|
424
426
|
getPaymentFilters<T>(section: PaymentFiltersSection): Promise<AxiosResponse<T>>;
|
|
@@ -3,4 +3,5 @@ import { UseMutationResult } from '@tanstack/react-query';
|
|
|
3
3
|
export declare function useChangePasswordV2(): UseMutationResult<User.ChangePasswordResponse, User.FailureReason>;
|
|
4
4
|
export declare function useWorkosPasswordReset(): UseMutationResult<User.WorkosPasswordResetResponse, User.FailureReason, User.WorkosPasswordResetRequest>;
|
|
5
5
|
export declare function useWorkosAdminPortal(): UseMutationResult<User.WorkosAdminPortalResponse, User.FailureReason>;
|
|
6
|
+
export declare function useWorkosDomainVerificationPortal(): UseMutationResult<User.WorkosAdminPortalResponse, User.FailureReason>;
|
|
6
7
|
export declare function useWorkosVerifyMfa(): UseMutationResult<User.WorkosVerifyMfaResponse, User.FailureReason, User.WorkosVerifyMfaRequest>;
|
|
@@ -8,7 +8,7 @@ export declare function usePostApiLogs(params: Audit.AuditApiLogsParams): UseQue
|
|
|
8
8
|
export declare function usePostWebhookLogs({ params, }: {
|
|
9
9
|
params: Audit.AuditWebhooksParams;
|
|
10
10
|
}): UseQueryResult<Audit.AuditWebhooksResponse, BFFErrorResponse>;
|
|
11
|
-
export declare function useGetApiLogsDetailByPaymentCode(code: string | null | undefined): UseQueryResult<
|
|
11
|
+
export declare function useGetApiLogsDetailByPaymentCode(code: string | null | undefined): UseQueryResult<Audit.ApiLogsDetailByPaymentCode, BFFErrorResponse>;
|
|
12
12
|
export declare function useGetApiLogsByTransactionCode(transactionCode: string | null | undefined, accountCode: string | null | undefined): UseQueryResult<Audit.ApiLogByTransactionCode, BFFErrorResponse>;
|
|
13
13
|
export declare function useGetAuditExportsList(reportType: Audit.AuditExportReportType, enabled?: boolean): UseQueryResult<Audit.AuditExportResponse[], BFFErrorResponse>;
|
|
14
14
|
export declare function useGetAuditExportDownload(reportId: string, enabled?: boolean, onSuccess?: (data: Audit.AuditExportDownloadResponse) => void): UseQueryResult<Audit.AuditExportDownloadResponse, BFFErrorResponse>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './security.query';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface WorkosDomainStatusResponse {
|
|
2
|
+
domains: Array<{
|
|
3
|
+
domain: string;
|
|
4
|
+
state: string;
|
|
5
|
+
}>;
|
|
6
|
+
has_verified_domain: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function useWorkosDomainStatus(): import("@tanstack/react-query").UseQueryResult<WorkosDomainStatusResponse, unknown>;
|
|
@@ -46,6 +46,7 @@ export declare namespace Webhook {
|
|
|
46
46
|
subscription_triggers?: Array<IWebhooksTriggers>;
|
|
47
47
|
onboarding_triggers?: Array<IWebhooksTriggers>;
|
|
48
48
|
reports_v2_triggers?: Array<IWebhooksTriggers>;
|
|
49
|
+
renewal_days?: number;
|
|
49
50
|
created_at: string;
|
|
50
51
|
updated_at?: string;
|
|
51
52
|
}
|
|
@@ -65,6 +66,7 @@ export declare namespace Webhook {
|
|
|
65
66
|
subscription_triggers?: Array<IWebhooksTriggers>;
|
|
66
67
|
onboarding_triggers?: Array<IWebhooksTriggers>;
|
|
67
68
|
reports_v2_triggers?: Array<IWebhooksTriggers>;
|
|
69
|
+
renewal_days?: number;
|
|
68
70
|
created_at: string;
|
|
69
71
|
updated_at?: string;
|
|
70
72
|
}
|