@yuno-payments/dashboard-api-mfe 0.38.6 → 0.38.7-REC-5254.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.
- package/build/cjs/index.js +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +10 -10
- package/build/cjs/types/mutations/accounts/accounts.mutation.d.ts +7 -7
- package/build/cjs/types/mutations/audit/audit.mutation.d.ts +1 -1
- package/build/cjs/types/mutations/checkouts/checkouts.mutation.d.ts +1 -1
- package/build/cjs/types/mutations/organization-settings/organization-settings.mutations.d.ts +2 -2
- package/build/cjs/types/mutations/payments/payments.mutation.d.ts +2 -2
- package/build/cjs/types/mutations/saml-config/saml-config.query.d.ts +3 -3
- package/build/cjs/types/mutations/settings/settings.mutation.d.ts +4 -4
- package/build/cjs/types/mutations/users/users.mutation.d.ts +6 -6
- package/build/cjs/types/queries/firebase/firebase.query.d.ts +1 -1
- package/build/cjs/types/types/reconciliation/reconciliation.d.ts +5 -1
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +10 -10
- package/build/esm/types/mutations/accounts/accounts.mutation.d.ts +7 -7
- package/build/esm/types/mutations/audit/audit.mutation.d.ts +1 -1
- package/build/esm/types/mutations/checkouts/checkouts.mutation.d.ts +1 -1
- package/build/esm/types/mutations/organization-settings/organization-settings.mutations.d.ts +2 -2
- package/build/esm/types/mutations/payments/payments.mutation.d.ts +2 -2
- package/build/esm/types/mutations/saml-config/saml-config.query.d.ts +3 -3
- package/build/esm/types/mutations/settings/settings.mutation.d.ts +4 -4
- package/build/esm/types/mutations/users/users.mutation.d.ts +6 -6
- package/build/esm/types/queries/firebase/firebase.query.d.ts +1 -1
- package/build/esm/types/types/reconciliation/reconciliation.d.ts +5 -1
- package/build/index.d.ts +42 -38
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ interface S3Payload {
|
|
|
17
17
|
}
|
|
18
18
|
export declare class Api extends HttpClient {
|
|
19
19
|
constructor(config?: AxiosRequestConfig);
|
|
20
|
-
simulateAxiosError(): Promise<AxiosResponse<any, any
|
|
20
|
+
simulateAxiosError(): Promise<AxiosResponse<any, any>>;
|
|
21
21
|
updateReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
22
22
|
createReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
23
23
|
getReconciliationTransactions<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -221,32 +221,32 @@ export declare class Api extends HttpClient {
|
|
|
221
221
|
updateIsActiveCheckout(args: Checkout.UpdateIsActiveCheckoutParams): Promise<AxiosResponse>;
|
|
222
222
|
getStylingSdkDynamic({ accountCode }: {
|
|
223
223
|
accountCode: any;
|
|
224
|
-
}): Promise<AxiosResponse<Styling.Settings, any
|
|
224
|
+
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
225
225
|
/**
|
|
226
226
|
* @deprecated since version 0.36.27. use getStylingSettings instead
|
|
227
227
|
*/
|
|
228
228
|
getStylingTheme({ accountCode }: {
|
|
229
229
|
accountCode: string;
|
|
230
|
-
}): Promise<AxiosResponse<Styling.Theme, any
|
|
230
|
+
}): Promise<AxiosResponse<Styling.Theme, any>>;
|
|
231
231
|
/**
|
|
232
232
|
* @deprecated since version 0.36.27. use changeStylingSettings instead
|
|
233
233
|
*/
|
|
234
|
-
updateStylingTheme({ accountCode, theme }: UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any
|
|
234
|
+
updateStylingTheme({ accountCode, theme }: UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any>>;
|
|
235
235
|
/**
|
|
236
236
|
* @deprecated since version 0.36.27. use getStylingSettingsV2 instead
|
|
237
237
|
*/
|
|
238
238
|
getStylingSettings({ accountCode }: {
|
|
239
239
|
accountCode: any;
|
|
240
|
-
}): Promise<AxiosResponse<Styling.Settings, any
|
|
240
|
+
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
241
241
|
getStylingSettingsV2({ accountCode, environment, }: {
|
|
242
242
|
accountCode: string;
|
|
243
243
|
environment?: string;
|
|
244
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any
|
|
244
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
245
245
|
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
246
246
|
accountCode: string;
|
|
247
247
|
environment?: string;
|
|
248
248
|
payload: StylingSettings.UpdateSettings;
|
|
249
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any
|
|
249
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
250
250
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
251
251
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
252
252
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -442,11 +442,11 @@ export declare class Api extends HttpClient {
|
|
|
442
442
|
getVelocityRules<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
443
443
|
postChangePaymentsWebhook<T>({ status, paymentCode, }: ChangePaymentsWebhook): Promise<AxiosResponse<T, any>>;
|
|
444
444
|
uploadFileS3ClientBatchRefunds<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
445
|
-
promise: Promise<AxiosResponse<T, any
|
|
445
|
+
promise: Promise<AxiosResponse<T, any>>;
|
|
446
446
|
cancel: () => void;
|
|
447
447
|
};
|
|
448
448
|
uploadFileS3ClientChargeBacks<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
449
|
-
promise: Promise<AxiosResponse<T, any
|
|
449
|
+
promise: Promise<AxiosResponse<T, any>>;
|
|
450
450
|
cancel: () => void;
|
|
451
451
|
};
|
|
452
452
|
batchRefundByFile<T>({ payload, }: {
|
|
@@ -481,7 +481,7 @@ export declare class Api extends HttpClient {
|
|
|
481
481
|
postCustomizedApiKeys<T>(accountCodes: string[]): Promise<AxiosResponse<T, any>>;
|
|
482
482
|
getCustomizedApiKeysProducts<T>(): Promise<AxiosResponse<T, any>>;
|
|
483
483
|
getCustomizedApiKeysToken<T>(code: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
484
|
-
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any
|
|
484
|
+
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
485
485
|
deleteCustomizedApiKeys<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
486
486
|
postCreateInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
487
487
|
getInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -2,14 +2,14 @@ import { Organization, Webhook } from '../../types';
|
|
|
2
2
|
import { DeleteMutation } from './delete-mutation';
|
|
3
3
|
export declare function usePostWebhookMultiAccount({ onSuccessCallback, }: {
|
|
4
4
|
onSuccessCallback?: (data: any) => void;
|
|
5
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
5
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
6
6
|
payload: Webhook.WebHookV2MultiAccount;
|
|
7
7
|
}, {
|
|
8
8
|
payload: Webhook.WebHookV2MultiAccount;
|
|
9
9
|
}>;
|
|
10
10
|
export declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
11
11
|
onSuccessCallback?: (data: any) => void;
|
|
12
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<null, any
|
|
12
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<null, any>, unknown, {
|
|
13
13
|
code: string;
|
|
14
14
|
accountCode: string;
|
|
15
15
|
}, {
|
|
@@ -18,7 +18,7 @@ export declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
|
18
18
|
}>;
|
|
19
19
|
export declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
20
20
|
onSuccessCallback?: (data: any) => void;
|
|
21
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Webhook.WebHookV2, any
|
|
21
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Webhook.WebHookV2, any>, unknown, {
|
|
22
22
|
code: string;
|
|
23
23
|
payload: any;
|
|
24
24
|
accountCode: string;
|
|
@@ -27,19 +27,19 @@ export declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
|
27
27
|
payload: any;
|
|
28
28
|
accountCode: string;
|
|
29
29
|
}>;
|
|
30
|
-
export declare function usePostAccount(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any
|
|
30
|
+
export declare function usePostAccount(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
31
31
|
name: string;
|
|
32
32
|
principal: boolean;
|
|
33
33
|
}, unknown>;
|
|
34
|
-
export declare function usePatchAccountV2(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any
|
|
34
|
+
export declare function usePatchAccountV2(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
35
35
|
name: string;
|
|
36
36
|
code: string;
|
|
37
37
|
principal: boolean;
|
|
38
38
|
}, unknown>;
|
|
39
|
-
export declare function usePutAccountPrincipal(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any
|
|
39
|
+
export declare function usePutAccountPrincipal(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
40
40
|
account_code: string;
|
|
41
41
|
}, unknown>;
|
|
42
|
-
export declare function usePutAccountsUserMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any
|
|
42
|
+
export declare function usePutAccountsUserMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
43
43
|
organizationCode: string;
|
|
44
44
|
userCode: string;
|
|
45
45
|
payload: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Audit } from '../../types';
|
|
2
2
|
export declare function usePostAuditMonitors({ onMutate }: {
|
|
3
3
|
onMutate: any;
|
|
4
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Audit.AuditMonitors, any
|
|
4
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Audit.AuditMonitors, any>, unknown, {
|
|
5
5
|
payload: Audit.AuditMonitorsParams;
|
|
6
6
|
}, unknown>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import { Checkout } from '../../types';
|
|
3
3
|
import { AxiosResponse } from 'axios';
|
|
4
|
-
export declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): import("@tanstack/react-query").UseMutationResult<AxiosResponse<any, any
|
|
4
|
+
export declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): import("@tanstack/react-query").UseMutationResult<AxiosResponse<any, any>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated since version 0.28.6. use useChangeStylingSettings instead
|
|
7
7
|
*/
|
package/build/esm/types/mutations/organization-settings/organization-settings.mutations.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OrganizationSettings } from '../../types';
|
|
2
|
-
export declare function useUpdateMFAConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OrganizationSettings.MfaConfig, any
|
|
2
|
+
export declare function useUpdateMFAConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
3
3
|
payload: OrganizationSettings.MfaConfigRequest;
|
|
4
4
|
organizationCode: string;
|
|
5
5
|
}, unknown>;
|
|
6
|
-
export declare function useExcludeUsers(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OrganizationSettings.MfaConfig, any
|
|
6
|
+
export declare function useExcludeUsers(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
7
7
|
payload: OrganizationSettings.MfaUserExcluded[];
|
|
8
8
|
organizationCode: string;
|
|
9
9
|
}, unknown>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { OperationTransaction, Payment } from '../../types';
|
|
2
|
-
export declare function useCreateOperationTransaction(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OperationTransaction.Response, any
|
|
2
|
+
export declare function useCreateOperationTransaction(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OperationTransaction.Response, any>, unknown, {
|
|
3
3
|
payload: OperationTransaction.Request;
|
|
4
4
|
transactionId: string;
|
|
5
5
|
paymentId: string;
|
|
6
6
|
action: OperationTransaction.Actions;
|
|
7
7
|
}, unknown>;
|
|
8
|
-
export declare function useChargebacksUpload(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Payment.UploadRequest, any
|
|
8
|
+
export declare function useChargebacksUpload(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Payment.UploadRequest, any>, unknown, {
|
|
9
9
|
payload: Payment.UploadRequest;
|
|
10
10
|
paymentId: string;
|
|
11
11
|
transactionId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SamlConfig } from '../../types';
|
|
2
|
-
export declare function useCreateSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
3
|
-
export declare function useUpdateSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
4
|
-
export declare function useDeleteSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
2
|
+
export declare function useCreateSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, SamlConfig.SamlConfigRequest, unknown>;
|
|
3
|
+
export declare function useUpdateSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, Partial<SamlConfig.SamlConfigRequest>, unknown>;
|
|
4
|
+
export declare function useDeleteSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, void, unknown>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { PinnedSections, ThemeSettings } from '../../api';
|
|
2
|
-
export declare function usePostUserSettings(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
2
|
+
export declare function usePostUserSettings(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
3
3
|
payload: any;
|
|
4
4
|
}, {
|
|
5
5
|
payload: any;
|
|
6
6
|
}>;
|
|
7
|
-
export declare function usePostUserThemeSettings(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
8
|
-
export declare function usePostUserSettingsTables(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
7
|
+
export declare function usePostUserThemeSettings(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, ThemeSettings, unknown>;
|
|
8
|
+
export declare function usePostUserSettingsTables(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
9
9
|
payload: any;
|
|
10
10
|
section: string;
|
|
11
11
|
}, {
|
|
12
12
|
payload: any;
|
|
13
13
|
section: string;
|
|
14
14
|
}>;
|
|
15
|
-
export declare function usePostUserSettingsPinned(onMutate: any): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
15
|
+
export declare function usePostUserSettingsPinned(onMutate: any): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
16
16
|
payload: PinnedSections;
|
|
17
17
|
}, any>;
|
|
@@ -2,15 +2,15 @@ import type { User } from '../../types';
|
|
|
2
2
|
import { UserInviteMultiaccountPayload } from '../../api';
|
|
3
3
|
export declare function useUpdateProfile({ onSuccessCallback, }: {
|
|
4
4
|
onSuccessCallback?: () => void;
|
|
5
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any
|
|
6
|
-
export declare function useInviteUsersMultiaccountMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponseInviteUser, any
|
|
7
|
-
export declare function useUnInviteUsersV2(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any
|
|
5
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any>, unknown, User.UserRequestPayload, User.UserRequestPayload>;
|
|
6
|
+
export declare function useInviteUsersMultiaccountMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponseInviteUser, any>, unknown, UserInviteMultiaccountPayload, unknown>;
|
|
7
|
+
export declare function useUnInviteUsersV2(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any>, unknown, {
|
|
8
8
|
userCode: string;
|
|
9
9
|
organizationCode: string;
|
|
10
10
|
}, unknown>;
|
|
11
|
-
export declare function useCreateUserAuth0(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.CreateUserAuth0Response, any
|
|
12
|
-
export declare function usePostCall(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
13
|
-
export declare function useLoginMethods(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
11
|
+
export declare function useCreateUserAuth0(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.CreateUserAuth0Response, any>, unknown, User.CreateUserAuth0Request, unknown>;
|
|
12
|
+
export declare function usePostCall(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, void, unknown>;
|
|
13
|
+
export declare function useLoginMethods(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
14
14
|
methodCode: string;
|
|
15
15
|
enabled: boolean;
|
|
16
16
|
}, unknown>;
|
|
@@ -3,7 +3,7 @@ export declare function useFirebaseUserSubscribe({ onSuccessCallback, }: {
|
|
|
3
3
|
onSuccessCallback?: (data: any) => void;
|
|
4
4
|
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<{
|
|
5
5
|
code: string;
|
|
6
|
-
}, any
|
|
6
|
+
}, any>, unknown, {
|
|
7
7
|
payload: FirebaseUserSubscribe;
|
|
8
8
|
}, {
|
|
9
9
|
payload: FirebaseUserSubscribe;
|
|
@@ -340,6 +340,10 @@ export declare enum ReconciliationReportType {
|
|
|
340
340
|
SETTLEMENTS_HEADER = "SETTLEMENTS_HEADER",
|
|
341
341
|
AGENDA = "AGENDA",
|
|
342
342
|
SALES_CONCILIATION = "SALES_CONCILIATION",
|
|
343
|
+
FEES = "FEES",
|
|
343
344
|
ADVANCEMENTS = "ADVANCEMENTS",
|
|
344
|
-
|
|
345
|
+
RECONCILIATION_OVERVIEW = "RECONCILIATION_OVERVIEW",
|
|
346
|
+
SETTLEMENTS_FEES = "SETTLEMENTS_FEES",
|
|
347
|
+
CASHFLOW = "CASHFLOW",
|
|
348
|
+
PROCESSED_TRANSACTIONS = "PROCESSED_TRANSACTIONS"
|
|
345
349
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -3022,8 +3022,12 @@ declare enum ReconciliationReportType {
|
|
|
3022
3022
|
SETTLEMENTS_HEADER = "SETTLEMENTS_HEADER",
|
|
3023
3023
|
AGENDA = "AGENDA",
|
|
3024
3024
|
SALES_CONCILIATION = "SALES_CONCILIATION",
|
|
3025
|
+
FEES = "FEES",
|
|
3025
3026
|
ADVANCEMENTS = "ADVANCEMENTS",
|
|
3026
|
-
|
|
3027
|
+
RECONCILIATION_OVERVIEW = "RECONCILIATION_OVERVIEW",
|
|
3028
|
+
SETTLEMENTS_FEES = "SETTLEMENTS_FEES",
|
|
3029
|
+
CASHFLOW = "CASHFLOW",
|
|
3030
|
+
PROCESSED_TRANSACTIONS = "PROCESSED_TRANSACTIONS"
|
|
3027
3031
|
}
|
|
3028
3032
|
|
|
3029
3033
|
declare namespace ReconciliationAlerts {
|
|
@@ -4172,14 +4176,14 @@ type DeleteMutation = UseMutationResult<AxiosResponse<Organization.AccountOrgani
|
|
|
4172
4176
|
|
|
4173
4177
|
declare function usePostWebhookMultiAccount({ onSuccessCallback, }: {
|
|
4174
4178
|
onSuccessCallback?: (data: any) => void;
|
|
4175
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any
|
|
4179
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4176
4180
|
payload: Webhook.WebHookV2MultiAccount;
|
|
4177
4181
|
}, {
|
|
4178
4182
|
payload: Webhook.WebHookV2MultiAccount;
|
|
4179
4183
|
}>;
|
|
4180
4184
|
declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
4181
4185
|
onSuccessCallback?: (data: any) => void;
|
|
4182
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<null, any
|
|
4186
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<null, any>, unknown, {
|
|
4183
4187
|
code: string;
|
|
4184
4188
|
accountCode: string;
|
|
4185
4189
|
}, {
|
|
@@ -4188,7 +4192,7 @@ declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
|
4188
4192
|
}>;
|
|
4189
4193
|
declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
4190
4194
|
onSuccessCallback?: (data: any) => void;
|
|
4191
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Webhook.WebHookV2, any
|
|
4195
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Webhook.WebHookV2, any>, unknown, {
|
|
4192
4196
|
code: string;
|
|
4193
4197
|
payload: any;
|
|
4194
4198
|
accountCode: string;
|
|
@@ -4197,19 +4201,19 @@ declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
|
4197
4201
|
payload: any;
|
|
4198
4202
|
accountCode: string;
|
|
4199
4203
|
}>;
|
|
4200
|
-
declare function usePostAccount(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any
|
|
4204
|
+
declare function usePostAccount(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4201
4205
|
name: string;
|
|
4202
4206
|
principal: boolean;
|
|
4203
4207
|
}, unknown>;
|
|
4204
|
-
declare function usePatchAccountV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any
|
|
4208
|
+
declare function usePatchAccountV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4205
4209
|
name: string;
|
|
4206
4210
|
code: string;
|
|
4207
4211
|
principal: boolean;
|
|
4208
4212
|
}, unknown>;
|
|
4209
|
-
declare function usePutAccountPrincipal(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any
|
|
4213
|
+
declare function usePutAccountPrincipal(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4210
4214
|
account_code: string;
|
|
4211
4215
|
}, unknown>;
|
|
4212
|
-
declare function usePutAccountsUserMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any
|
|
4216
|
+
declare function usePutAccountsUserMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4213
4217
|
organizationCode: string;
|
|
4214
4218
|
userCode: string;
|
|
4215
4219
|
payload: {
|
|
@@ -4272,20 +4276,20 @@ declare function useChangePasswordV2(): UseMutationResult<User.ChangePasswordRes
|
|
|
4272
4276
|
|
|
4273
4277
|
declare function useUpdateProfile({ onSuccessCallback, }: {
|
|
4274
4278
|
onSuccessCallback?: () => void;
|
|
4275
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any
|
|
4276
|
-
declare function useInviteUsersMultiaccountMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponseInviteUser, any
|
|
4277
|
-
declare function useUnInviteUsersV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any
|
|
4279
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any>, unknown, User.UserRequestPayload, User.UserRequestPayload>;
|
|
4280
|
+
declare function useInviteUsersMultiaccountMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponseInviteUser, any>, unknown, UserInviteMultiaccountPayload, unknown>;
|
|
4281
|
+
declare function useUnInviteUsersV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any>, unknown, {
|
|
4278
4282
|
userCode: string;
|
|
4279
4283
|
organizationCode: string;
|
|
4280
4284
|
}, unknown>;
|
|
4281
|
-
declare function useCreateUserAuth0(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.CreateUserAuth0Response, any
|
|
4282
|
-
declare function usePostCall(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any
|
|
4283
|
-
declare function useLoginMethods(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any
|
|
4285
|
+
declare function useCreateUserAuth0(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.CreateUserAuth0Response, any>, unknown, User.CreateUserAuth0Request, unknown>;
|
|
4286
|
+
declare function usePostCall(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, void, unknown>;
|
|
4287
|
+
declare function useLoginMethods(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4284
4288
|
methodCode: string;
|
|
4285
4289
|
enabled: boolean;
|
|
4286
4290
|
}, unknown>;
|
|
4287
4291
|
|
|
4288
|
-
declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): _tanstack_react_query.UseMutationResult<AxiosResponse<any, any
|
|
4292
|
+
declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): _tanstack_react_query.UseMutationResult<AxiosResponse<any, any>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
4289
4293
|
/**
|
|
4290
4294
|
* @deprecated since version 0.28.6. use useChangeStylingSettings instead
|
|
4291
4295
|
*/
|
|
@@ -4511,13 +4515,13 @@ interface UpdateStylingThemeParams {
|
|
|
4511
4515
|
|
|
4512
4516
|
declare function useUpdateStylingTheme(): _tanstack_react_query.UseMutationResult<unknown, unknown, UpdateStylingThemeParams, unknown>;
|
|
4513
4517
|
|
|
4514
|
-
declare function useCreateOperationTransaction(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OperationTransaction.Response, any
|
|
4518
|
+
declare function useCreateOperationTransaction(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OperationTransaction.Response, any>, unknown, {
|
|
4515
4519
|
payload: OperationTransaction.Request;
|
|
4516
4520
|
transactionId: string;
|
|
4517
4521
|
paymentId: string;
|
|
4518
4522
|
action: OperationTransaction.Actions;
|
|
4519
4523
|
}, unknown>;
|
|
4520
|
-
declare function useChargebacksUpload(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Payment.UploadRequest, any
|
|
4524
|
+
declare function useChargebacksUpload(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Payment.UploadRequest, any>, unknown, {
|
|
4521
4525
|
payload: Payment.UploadRequest;
|
|
4522
4526
|
paymentId: string;
|
|
4523
4527
|
transactionId: string;
|
|
@@ -4624,20 +4628,20 @@ declare function useEditPaymentLinks(): _tanstack_react_query.UseMutationResult<
|
|
|
4624
4628
|
paymentLinkCode: string;
|
|
4625
4629
|
}, unknown>;
|
|
4626
4630
|
|
|
4627
|
-
declare function usePostUserSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any
|
|
4631
|
+
declare function usePostUserSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4628
4632
|
payload: any;
|
|
4629
4633
|
}, {
|
|
4630
4634
|
payload: any;
|
|
4631
4635
|
}>;
|
|
4632
|
-
declare function usePostUserThemeSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any
|
|
4633
|
-
declare function usePostUserSettingsTables(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any
|
|
4636
|
+
declare function usePostUserThemeSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, ThemeSettings, unknown>;
|
|
4637
|
+
declare function usePostUserSettingsTables(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4634
4638
|
payload: any;
|
|
4635
4639
|
section: string;
|
|
4636
4640
|
}, {
|
|
4637
4641
|
payload: any;
|
|
4638
4642
|
section: string;
|
|
4639
4643
|
}>;
|
|
4640
|
-
declare function usePostUserSettingsPinned(onMutate: any): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any
|
|
4644
|
+
declare function usePostUserSettingsPinned(onMutate: any): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4641
4645
|
payload: PinnedSections;
|
|
4642
4646
|
}, any>;
|
|
4643
4647
|
|
|
@@ -4737,11 +4741,11 @@ declare function useUploadFileS3ClientBatchRefunds(): {
|
|
|
4737
4741
|
cancelRequest: () => void;
|
|
4738
4742
|
};
|
|
4739
4743
|
|
|
4740
|
-
declare function useUpdateMFAConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any
|
|
4744
|
+
declare function useUpdateMFAConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
4741
4745
|
payload: OrganizationSettings.MfaConfigRequest;
|
|
4742
4746
|
organizationCode: string;
|
|
4743
4747
|
}, unknown>;
|
|
4744
|
-
declare function useExcludeUsers(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any
|
|
4748
|
+
declare function useExcludeUsers(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
4745
4749
|
payload: OrganizationSettings.MfaUserExcluded[];
|
|
4746
4750
|
organizationCode: string;
|
|
4747
4751
|
}, unknown>;
|
|
@@ -4781,7 +4785,7 @@ declare function useGetCredentialsMFA(): UseMutationResult<{
|
|
|
4781
4785
|
|
|
4782
4786
|
declare function usePostAuditMonitors({ onMutate }: {
|
|
4783
4787
|
onMutate: any;
|
|
4784
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Audit.AuditMonitors, any
|
|
4788
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Audit.AuditMonitors, any>, unknown, {
|
|
4785
4789
|
payload: Audit.AuditMonitorsParams;
|
|
4786
4790
|
}, unknown>;
|
|
4787
4791
|
|
|
@@ -4797,9 +4801,9 @@ declare function useUpdateReconciliationAlert(): UseMutationResult<Reconciliatio
|
|
|
4797
4801
|
|
|
4798
4802
|
declare function usePostCreateInsightsReport(): UseMutationResult<unknown>;
|
|
4799
4803
|
|
|
4800
|
-
declare function useCreateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any
|
|
4801
|
-
declare function useUpdateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any
|
|
4802
|
-
declare function useDeleteSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any
|
|
4804
|
+
declare function useCreateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, SamlConfig.SamlConfigRequest, unknown>;
|
|
4805
|
+
declare function useUpdateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, Partial<SamlConfig.SamlConfigRequest>, unknown>;
|
|
4806
|
+
declare function useDeleteSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, void, unknown>;
|
|
4803
4807
|
|
|
4804
4808
|
interface CreateAIsResponse {
|
|
4805
4809
|
code: string;
|
|
@@ -5212,7 +5216,7 @@ declare function useFirebaseUserSubscribe({ onSuccessCallback, }: {
|
|
|
5212
5216
|
onSuccessCallback?: (data: any) => void;
|
|
5213
5217
|
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<{
|
|
5214
5218
|
code: string;
|
|
5215
|
-
}, any
|
|
5219
|
+
}, any>, unknown, {
|
|
5216
5220
|
payload: FirebaseUserSubscribe;
|
|
5217
5221
|
}, {
|
|
5218
5222
|
payload: FirebaseUserSubscribe;
|
|
@@ -5362,7 +5366,7 @@ interface S3Payload {
|
|
|
5362
5366
|
}
|
|
5363
5367
|
declare class Api extends HttpClient {
|
|
5364
5368
|
constructor(config?: AxiosRequestConfig);
|
|
5365
|
-
simulateAxiosError(): Promise<AxiosResponse<any, any
|
|
5369
|
+
simulateAxiosError(): Promise<AxiosResponse<any, any>>;
|
|
5366
5370
|
updateReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
5367
5371
|
createReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
5368
5372
|
getReconciliationTransactions<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -5566,32 +5570,32 @@ declare class Api extends HttpClient {
|
|
|
5566
5570
|
updateIsActiveCheckout(args: Checkout.UpdateIsActiveCheckoutParams): Promise<AxiosResponse>;
|
|
5567
5571
|
getStylingSdkDynamic({ accountCode }: {
|
|
5568
5572
|
accountCode: any;
|
|
5569
|
-
}): Promise<AxiosResponse<Styling.Settings, any
|
|
5573
|
+
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
5570
5574
|
/**
|
|
5571
5575
|
* @deprecated since version 0.36.27. use getStylingSettings instead
|
|
5572
5576
|
*/
|
|
5573
5577
|
getStylingTheme({ accountCode }: {
|
|
5574
5578
|
accountCode: string;
|
|
5575
|
-
}): Promise<AxiosResponse<Styling.Theme, any
|
|
5579
|
+
}): Promise<AxiosResponse<Styling.Theme, any>>;
|
|
5576
5580
|
/**
|
|
5577
5581
|
* @deprecated since version 0.36.27. use changeStylingSettings instead
|
|
5578
5582
|
*/
|
|
5579
|
-
updateStylingTheme({ accountCode, theme }: UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any
|
|
5583
|
+
updateStylingTheme({ accountCode, theme }: UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any>>;
|
|
5580
5584
|
/**
|
|
5581
5585
|
* @deprecated since version 0.36.27. use getStylingSettingsV2 instead
|
|
5582
5586
|
*/
|
|
5583
5587
|
getStylingSettings({ accountCode }: {
|
|
5584
5588
|
accountCode: any;
|
|
5585
|
-
}): Promise<AxiosResponse<Styling.Settings, any
|
|
5589
|
+
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
5586
5590
|
getStylingSettingsV2({ accountCode, environment, }: {
|
|
5587
5591
|
accountCode: string;
|
|
5588
5592
|
environment?: string;
|
|
5589
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any
|
|
5593
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
5590
5594
|
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
5591
5595
|
accountCode: string;
|
|
5592
5596
|
environment?: string;
|
|
5593
5597
|
payload: StylingSettings.UpdateSettings;
|
|
5594
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any
|
|
5598
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
5595
5599
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
5596
5600
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
5597
5601
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -5787,11 +5791,11 @@ declare class Api extends HttpClient {
|
|
|
5787
5791
|
getVelocityRules<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
5788
5792
|
postChangePaymentsWebhook<T>({ status, paymentCode, }: ChangePaymentsWebhook): Promise<AxiosResponse<T, any>>;
|
|
5789
5793
|
uploadFileS3ClientBatchRefunds<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
5790
|
-
promise: Promise<AxiosResponse<T, any
|
|
5794
|
+
promise: Promise<AxiosResponse<T, any>>;
|
|
5791
5795
|
cancel: () => void;
|
|
5792
5796
|
};
|
|
5793
5797
|
uploadFileS3ClientChargeBacks<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
5794
|
-
promise: Promise<AxiosResponse<T, any
|
|
5798
|
+
promise: Promise<AxiosResponse<T, any>>;
|
|
5795
5799
|
cancel: () => void;
|
|
5796
5800
|
};
|
|
5797
5801
|
batchRefundByFile<T>({ payload, }: {
|
|
@@ -5826,7 +5830,7 @@ declare class Api extends HttpClient {
|
|
|
5826
5830
|
postCustomizedApiKeys<T>(accountCodes: string[]): Promise<AxiosResponse<T, any>>;
|
|
5827
5831
|
getCustomizedApiKeysProducts<T>(): Promise<AxiosResponse<T, any>>;
|
|
5828
5832
|
getCustomizedApiKeysToken<T>(code: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
5829
|
-
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any
|
|
5833
|
+
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
5830
5834
|
deleteCustomizedApiKeys<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
5831
5835
|
postCreateInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
5832
5836
|
getInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|