@yuno-payments/dashboard-api-mfe 0.36.60 → 0.36.61-beta.1
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 +36 -201
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +11 -11
- 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/queries/users/users.query.d.ts +1 -1
- package/build/cjs/types/types/user/user.d.ts +8 -0
- package/build/esm/index.js +36 -201
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +11 -11
- 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/queries/users/users.query.d.ts +1 -1
- package/build/esm/types/types/user/user.d.ts +8 -0
- package/build/index.d.ts +47 -39
- 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>>;
|
|
@@ -269,7 +269,7 @@ export declare class Api extends HttpClient {
|
|
|
269
269
|
getProfile<T>(): Promise<AxiosResponse<T, any>>;
|
|
270
270
|
getImpersonationUsers<T>(): Promise<AxiosResponse<T, any>>;
|
|
271
271
|
getImpersonationEnabled<T>(): Promise<AxiosResponse<T, any>>;
|
|
272
|
-
getUsersToImpersonate(organizationCode: string, accountCodes?: string[]): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
|
|
272
|
+
getUsersToImpersonate(organizationCode: string, accountCodes?: string[], page?: number, pageSize?: number): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
|
|
273
273
|
getAccountsForImpersonation(organizationCode: string): Promise<AxiosResponse<{
|
|
274
274
|
response: Array<{
|
|
275
275
|
name: string;
|
|
@@ -429,11 +429,11 @@ export declare class Api extends HttpClient {
|
|
|
429
429
|
getVelocityRules<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
430
430
|
postChangePaymentsWebhook<T>({ status, paymentCode, }: ChangePaymentsWebhook): Promise<AxiosResponse<T, any>>;
|
|
431
431
|
uploadFileS3ClientBatchRefunds<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
432
|
-
promise: Promise<AxiosResponse<T, any>>;
|
|
432
|
+
promise: Promise<AxiosResponse<T, any, {}>>;
|
|
433
433
|
cancel: () => void;
|
|
434
434
|
};
|
|
435
435
|
uploadFileS3ClientChargeBacks<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
436
|
-
promise: Promise<AxiosResponse<T, any>>;
|
|
436
|
+
promise: Promise<AxiosResponse<T, any, {}>>;
|
|
437
437
|
cancel: () => void;
|
|
438
438
|
};
|
|
439
439
|
batchRefundByFile<T>({ payload, }: {
|
|
@@ -468,7 +468,7 @@ export declare class Api extends HttpClient {
|
|
|
468
468
|
postCustomizedApiKeys<T>(accountCodes: string[]): Promise<AxiosResponse<T, any>>;
|
|
469
469
|
getCustomizedApiKeysProducts<T>(): Promise<AxiosResponse<T, any>>;
|
|
470
470
|
getCustomizedApiKeysToken<T>(code: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
471
|
-
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
471
|
+
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any, {}>>;
|
|
472
472
|
deleteCustomizedApiKeys<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
473
473
|
postCreateInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
474
474
|
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>, unknown, {
|
|
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>, unknown, {
|
|
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>, unknown, {
|
|
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>, unknown, {
|
|
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>, unknown, {
|
|
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>, unknown, {
|
|
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>, unknown, {
|
|
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>, unknown, {
|
|
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>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
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>, unknown, {
|
|
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>, unknown, {
|
|
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>, unknown, {
|
|
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>, unknown, {
|
|
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>, 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>;
|
|
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>, unknown, {
|
|
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>, unknown, ThemeSettings, unknown>;
|
|
8
|
-
export declare function usePostUserSettingsTables(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
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>, unknown, {
|
|
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>, 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, {
|
|
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>, 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, {
|
|
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>, unknown, {
|
|
6
|
+
}, any, {}>, unknown, {
|
|
7
7
|
payload: FirebaseUserSubscribe;
|
|
8
8
|
}, {
|
|
9
9
|
payload: FirebaseUserSubscribe;
|
|
@@ -7,7 +7,7 @@ export declare function useEmailVerification(email: string): UseQueryResult<User
|
|
|
7
7
|
export declare function useGetLoginMethods(): UseQueryResult<unknown, unknown>;
|
|
8
8
|
export declare function useGetImpersonationUsers(): UseQueryResult<User.ImpersonationUser[], AxiosError>;
|
|
9
9
|
export declare function useGetImpersonationEnabled(): UseQueryResult<User.ImpersonationEnabledResponse, AxiosError>;
|
|
10
|
-
export declare function useGetUsersToImpersonate(organizationCode: string, accountCodes?: string[]): UseQueryResult<User.
|
|
10
|
+
export declare function useGetUsersToImpersonate(organizationCode: string, accountCodes?: string[], page?: number, pageSize?: number): UseQueryResult<User.UsersToImpersonateResponse, AxiosError>;
|
|
11
11
|
export declare function useCommunications(payload: {
|
|
12
12
|
start_date: string;
|
|
13
13
|
end_date: string;
|
|
@@ -163,6 +163,14 @@ export declare namespace User {
|
|
|
163
163
|
};
|
|
164
164
|
}
|
|
165
165
|
interface UsersToImpersonateResponse {
|
|
166
|
+
code: string;
|
|
167
|
+
organization_code: string;
|
|
168
|
+
organization_name: string;
|
|
169
|
+
organization_logo: string | null;
|
|
170
|
+
total_elements: number;
|
|
171
|
+
total_pages: number;
|
|
172
|
+
page: number;
|
|
173
|
+
page_size: number;
|
|
166
174
|
users: UsersToImpersonateUser[];
|
|
167
175
|
}
|
|
168
176
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -1451,6 +1451,14 @@ declare namespace User {
|
|
|
1451
1451
|
};
|
|
1452
1452
|
}
|
|
1453
1453
|
interface UsersToImpersonateResponse {
|
|
1454
|
+
code: string;
|
|
1455
|
+
organization_code: string;
|
|
1456
|
+
organization_name: string;
|
|
1457
|
+
organization_logo: string | null;
|
|
1458
|
+
total_elements: number;
|
|
1459
|
+
total_pages: number;
|
|
1460
|
+
page: number;
|
|
1461
|
+
page_size: number;
|
|
1454
1462
|
users: UsersToImpersonateUser[];
|
|
1455
1463
|
}
|
|
1456
1464
|
}
|
|
@@ -3892,14 +3900,14 @@ type DeleteMutation = UseMutationResult<AxiosResponse<Organization.AccountOrgani
|
|
|
3892
3900
|
|
|
3893
3901
|
declare function usePostWebhookMultiAccount({ onSuccessCallback, }: {
|
|
3894
3902
|
onSuccessCallback?: (data: any) => void;
|
|
3895
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
3903
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
3896
3904
|
payload: Webhook.WebHookV2MultiAccount;
|
|
3897
3905
|
}, {
|
|
3898
3906
|
payload: Webhook.WebHookV2MultiAccount;
|
|
3899
3907
|
}>;
|
|
3900
3908
|
declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
3901
3909
|
onSuccessCallback?: (data: any) => void;
|
|
3902
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<null, any>, unknown, {
|
|
3910
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<null, any, {}>, unknown, {
|
|
3903
3911
|
code: string;
|
|
3904
3912
|
accountCode: string;
|
|
3905
3913
|
}, {
|
|
@@ -3908,7 +3916,7 @@ declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
|
3908
3916
|
}>;
|
|
3909
3917
|
declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
3910
3918
|
onSuccessCallback?: (data: any) => void;
|
|
3911
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Webhook.WebHookV2, any>, unknown, {
|
|
3919
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Webhook.WebHookV2, any, {}>, unknown, {
|
|
3912
3920
|
code: string;
|
|
3913
3921
|
payload: any;
|
|
3914
3922
|
accountCode: string;
|
|
@@ -3917,19 +3925,19 @@ declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
|
3917
3925
|
payload: any;
|
|
3918
3926
|
accountCode: string;
|
|
3919
3927
|
}>;
|
|
3920
|
-
declare function usePostAccount(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
3928
|
+
declare function usePostAccount(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
3921
3929
|
name: string;
|
|
3922
3930
|
principal: boolean;
|
|
3923
3931
|
}, unknown>;
|
|
3924
|
-
declare function usePatchAccountV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
3932
|
+
declare function usePatchAccountV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
3925
3933
|
name: string;
|
|
3926
3934
|
code: string;
|
|
3927
3935
|
principal: boolean;
|
|
3928
3936
|
}, unknown>;
|
|
3929
|
-
declare function usePutAccountPrincipal(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
3937
|
+
declare function usePutAccountPrincipal(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
3930
3938
|
account_code: string;
|
|
3931
3939
|
}, unknown>;
|
|
3932
|
-
declare function usePutAccountsUserMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
3940
|
+
declare function usePutAccountsUserMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
3933
3941
|
organizationCode: string;
|
|
3934
3942
|
userCode: string;
|
|
3935
3943
|
payload: {
|
|
@@ -3987,20 +3995,20 @@ declare function useChangePasswordV2(): UseMutationResult<User.ChangePasswordRes
|
|
|
3987
3995
|
|
|
3988
3996
|
declare function useUpdateProfile({ onSuccessCallback, }: {
|
|
3989
3997
|
onSuccessCallback?: () => void;
|
|
3990
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any>, unknown, User.UserRequestPayload, User.UserRequestPayload>;
|
|
3991
|
-
declare function useInviteUsersMultiaccountMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponseInviteUser, any>, unknown, UserInviteMultiaccountPayload, unknown>;
|
|
3992
|
-
declare function useUnInviteUsersV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any>, unknown, {
|
|
3998
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any, {}>, unknown, User.UserRequestPayload, User.UserRequestPayload>;
|
|
3999
|
+
declare function useInviteUsersMultiaccountMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponseInviteUser, any, {}>, unknown, UserInviteMultiaccountPayload, unknown>;
|
|
4000
|
+
declare function useUnInviteUsersV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any, {}>, unknown, {
|
|
3993
4001
|
userCode: string;
|
|
3994
4002
|
organizationCode: string;
|
|
3995
4003
|
}, unknown>;
|
|
3996
|
-
declare function useCreateUserAuth0(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.CreateUserAuth0Response, any>, unknown, User.CreateUserAuth0Request, unknown>;
|
|
3997
|
-
declare function usePostCall(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, void, unknown>;
|
|
3998
|
-
declare function useLoginMethods(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4004
|
+
declare function useCreateUserAuth0(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.CreateUserAuth0Response, any, {}>, unknown, User.CreateUserAuth0Request, unknown>;
|
|
4005
|
+
declare function usePostCall(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, void, unknown>;
|
|
4006
|
+
declare function useLoginMethods(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
3999
4007
|
methodCode: string;
|
|
4000
4008
|
enabled: boolean;
|
|
4001
4009
|
}, unknown>;
|
|
4002
4010
|
|
|
4003
|
-
declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): _tanstack_react_query.UseMutationResult<AxiosResponse<any, any>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
4011
|
+
declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): _tanstack_react_query.UseMutationResult<AxiosResponse<any, any, {}>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
4004
4012
|
/**
|
|
4005
4013
|
* @deprecated since version 0.28.6. use useChangeStylingSettings instead
|
|
4006
4014
|
*/
|
|
@@ -4226,13 +4234,13 @@ interface UpdateStylingThemeParams {
|
|
|
4226
4234
|
|
|
4227
4235
|
declare function useUpdateStylingTheme(): _tanstack_react_query.UseMutationResult<unknown, unknown, UpdateStylingThemeParams, unknown>;
|
|
4228
4236
|
|
|
4229
|
-
declare function useCreateOperationTransaction(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OperationTransaction.Response, any>, unknown, {
|
|
4237
|
+
declare function useCreateOperationTransaction(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OperationTransaction.Response, any, {}>, unknown, {
|
|
4230
4238
|
payload: OperationTransaction.Request;
|
|
4231
4239
|
transactionId: string;
|
|
4232
4240
|
paymentId: string;
|
|
4233
4241
|
action: OperationTransaction.Actions;
|
|
4234
4242
|
}, unknown>;
|
|
4235
|
-
declare function useChargebacksUpload(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Payment.UploadRequest, any>, unknown, {
|
|
4243
|
+
declare function useChargebacksUpload(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Payment.UploadRequest, any, {}>, unknown, {
|
|
4236
4244
|
payload: Payment.UploadRequest;
|
|
4237
4245
|
paymentId: string;
|
|
4238
4246
|
transactionId: string;
|
|
@@ -4339,20 +4347,20 @@ declare function useEditPaymentLinks(): _tanstack_react_query.UseMutationResult<
|
|
|
4339
4347
|
paymentLinkCode: string;
|
|
4340
4348
|
}, unknown>;
|
|
4341
4349
|
|
|
4342
|
-
declare function usePostUserSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4350
|
+
declare function usePostUserSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4343
4351
|
payload: any;
|
|
4344
4352
|
}, {
|
|
4345
4353
|
payload: any;
|
|
4346
4354
|
}>;
|
|
4347
|
-
declare function usePostUserThemeSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, ThemeSettings, unknown>;
|
|
4348
|
-
declare function usePostUserSettingsTables(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4355
|
+
declare function usePostUserThemeSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, ThemeSettings, unknown>;
|
|
4356
|
+
declare function usePostUserSettingsTables(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4349
4357
|
payload: any;
|
|
4350
4358
|
section: string;
|
|
4351
4359
|
}, {
|
|
4352
4360
|
payload: any;
|
|
4353
4361
|
section: string;
|
|
4354
4362
|
}>;
|
|
4355
|
-
declare function usePostUserSettingsPinned(onMutate: any): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4363
|
+
declare function usePostUserSettingsPinned(onMutate: any): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4356
4364
|
payload: PinnedSections;
|
|
4357
4365
|
}, any>;
|
|
4358
4366
|
|
|
@@ -4452,11 +4460,11 @@ declare function useUploadFileS3ClientBatchRefunds(): {
|
|
|
4452
4460
|
cancelRequest: () => void;
|
|
4453
4461
|
};
|
|
4454
4462
|
|
|
4455
|
-
declare function useUpdateMFAConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
4463
|
+
declare function useUpdateMFAConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any, {}>, unknown, {
|
|
4456
4464
|
payload: OrganizationSettings.MfaConfigRequest;
|
|
4457
4465
|
organizationCode: string;
|
|
4458
4466
|
}, unknown>;
|
|
4459
|
-
declare function useExcludeUsers(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
4467
|
+
declare function useExcludeUsers(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any, {}>, unknown, {
|
|
4460
4468
|
payload: OrganizationSettings.MfaUserExcluded[];
|
|
4461
4469
|
organizationCode: string;
|
|
4462
4470
|
}, unknown>;
|
|
@@ -4496,7 +4504,7 @@ declare function useGetCredentialsMFA(): UseMutationResult<{
|
|
|
4496
4504
|
|
|
4497
4505
|
declare function usePostAuditMonitors({ onMutate }: {
|
|
4498
4506
|
onMutate: any;
|
|
4499
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Audit.AuditMonitors, any>, unknown, {
|
|
4507
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Audit.AuditMonitors, any, {}>, unknown, {
|
|
4500
4508
|
payload: Audit.AuditMonitorsParams;
|
|
4501
4509
|
}, unknown>;
|
|
4502
4510
|
|
|
@@ -4512,9 +4520,9 @@ declare function useUpdateReconciliationAlert(): UseMutationResult<Reconciliatio
|
|
|
4512
4520
|
|
|
4513
4521
|
declare function usePostCreateInsightsReport(): UseMutationResult<unknown>;
|
|
4514
4522
|
|
|
4515
|
-
declare function useCreateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, SamlConfig.SamlConfigRequest, unknown>;
|
|
4516
|
-
declare function useUpdateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, Partial<SamlConfig.SamlConfigRequest>, unknown>;
|
|
4517
|
-
declare function useDeleteSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, void, unknown>;
|
|
4523
|
+
declare function useCreateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, SamlConfig.SamlConfigRequest, unknown>;
|
|
4524
|
+
declare function useUpdateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, Partial<SamlConfig.SamlConfigRequest>, unknown>;
|
|
4525
|
+
declare function useDeleteSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, void, unknown>;
|
|
4518
4526
|
|
|
4519
4527
|
interface CreateAIsResponse {
|
|
4520
4528
|
code: string;
|
|
@@ -4762,7 +4770,7 @@ declare function useEmailVerification(email: string): UseQueryResult<User.UserRe
|
|
|
4762
4770
|
declare function useGetLoginMethods(): UseQueryResult<unknown, unknown>;
|
|
4763
4771
|
declare function useGetImpersonationUsers(): UseQueryResult<User.ImpersonationUser[], AxiosError>;
|
|
4764
4772
|
declare function useGetImpersonationEnabled(): UseQueryResult<User.ImpersonationEnabledResponse, AxiosError>;
|
|
4765
|
-
declare function useGetUsersToImpersonate(organizationCode: string, accountCodes?: string[]): UseQueryResult<User.
|
|
4773
|
+
declare function useGetUsersToImpersonate(organizationCode: string, accountCodes?: string[], page?: number, pageSize?: number): UseQueryResult<User.UsersToImpersonateResponse, AxiosError>;
|
|
4766
4774
|
declare function useCommunications(payload: {
|
|
4767
4775
|
start_date: string;
|
|
4768
4776
|
end_date: string;
|
|
@@ -4926,7 +4934,7 @@ declare function useFirebaseUserSubscribe({ onSuccessCallback, }: {
|
|
|
4926
4934
|
onSuccessCallback?: (data: any) => void;
|
|
4927
4935
|
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<{
|
|
4928
4936
|
code: string;
|
|
4929
|
-
}, any>, unknown, {
|
|
4937
|
+
}, any, {}>, unknown, {
|
|
4930
4938
|
payload: FirebaseUserSubscribe;
|
|
4931
4939
|
}, {
|
|
4932
4940
|
payload: FirebaseUserSubscribe;
|
|
@@ -5045,7 +5053,7 @@ interface S3Payload {
|
|
|
5045
5053
|
}
|
|
5046
5054
|
declare class Api extends HttpClient {
|
|
5047
5055
|
constructor(config?: AxiosRequestConfig);
|
|
5048
|
-
simulateAxiosError(): Promise<AxiosResponse<any, any>>;
|
|
5056
|
+
simulateAxiosError(): Promise<AxiosResponse<any, any, {}>>;
|
|
5049
5057
|
updateReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
5050
5058
|
createReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
5051
5059
|
getReconciliationTransactions<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -5249,32 +5257,32 @@ declare class Api extends HttpClient {
|
|
|
5249
5257
|
updateIsActiveCheckout(args: Checkout.UpdateIsActiveCheckoutParams): Promise<AxiosResponse>;
|
|
5250
5258
|
getStylingSdkDynamic({ accountCode }: {
|
|
5251
5259
|
accountCode: any;
|
|
5252
|
-
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
5260
|
+
}): Promise<AxiosResponse<Styling.Settings, any, {}>>;
|
|
5253
5261
|
/**
|
|
5254
5262
|
* @deprecated since version 0.36.27. use getStylingSettings instead
|
|
5255
5263
|
*/
|
|
5256
5264
|
getStylingTheme({ accountCode }: {
|
|
5257
5265
|
accountCode: string;
|
|
5258
|
-
}): Promise<AxiosResponse<Styling.Theme, any>>;
|
|
5266
|
+
}): Promise<AxiosResponse<Styling.Theme, any, {}>>;
|
|
5259
5267
|
/**
|
|
5260
5268
|
* @deprecated since version 0.36.27. use changeStylingSettings instead
|
|
5261
5269
|
*/
|
|
5262
|
-
updateStylingTheme({ accountCode, theme }: UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any>>;
|
|
5270
|
+
updateStylingTheme({ accountCode, theme }: UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any, {}>>;
|
|
5263
5271
|
/**
|
|
5264
5272
|
* @deprecated since version 0.36.27. use getStylingSettingsV2 instead
|
|
5265
5273
|
*/
|
|
5266
5274
|
getStylingSettings({ accountCode }: {
|
|
5267
5275
|
accountCode: any;
|
|
5268
|
-
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
5276
|
+
}): Promise<AxiosResponse<Styling.Settings, any, {}>>;
|
|
5269
5277
|
getStylingSettingsV2({ accountCode, environment, }: {
|
|
5270
5278
|
accountCode: string;
|
|
5271
5279
|
environment?: string;
|
|
5272
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
5280
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any, {}>>;
|
|
5273
5281
|
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
5274
5282
|
accountCode: string;
|
|
5275
5283
|
environment?: string;
|
|
5276
5284
|
payload: StylingSettings.UpdateSettings;
|
|
5277
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
5285
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any, {}>>;
|
|
5278
5286
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
5279
5287
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
5280
5288
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -5297,7 +5305,7 @@ declare class Api extends HttpClient {
|
|
|
5297
5305
|
getProfile<T>(): Promise<AxiosResponse<T, any>>;
|
|
5298
5306
|
getImpersonationUsers<T>(): Promise<AxiosResponse<T, any>>;
|
|
5299
5307
|
getImpersonationEnabled<T>(): Promise<AxiosResponse<T, any>>;
|
|
5300
|
-
getUsersToImpersonate(organizationCode: string, accountCodes?: string[]): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
|
|
5308
|
+
getUsersToImpersonate(organizationCode: string, accountCodes?: string[], page?: number, pageSize?: number): Promise<AxiosResponse<User.UsersToImpersonateResponse>>;
|
|
5301
5309
|
getAccountsForImpersonation(organizationCode: string): Promise<AxiosResponse<{
|
|
5302
5310
|
response: Array<{
|
|
5303
5311
|
name: string;
|
|
@@ -5457,11 +5465,11 @@ declare class Api extends HttpClient {
|
|
|
5457
5465
|
getVelocityRules<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
5458
5466
|
postChangePaymentsWebhook<T>({ status, paymentCode, }: ChangePaymentsWebhook): Promise<AxiosResponse<T, any>>;
|
|
5459
5467
|
uploadFileS3ClientBatchRefunds<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
5460
|
-
promise: Promise<AxiosResponse<T, any>>;
|
|
5468
|
+
promise: Promise<AxiosResponse<T, any, {}>>;
|
|
5461
5469
|
cancel: () => void;
|
|
5462
5470
|
};
|
|
5463
5471
|
uploadFileS3ClientChargeBacks<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
5464
|
-
promise: Promise<AxiosResponse<T, any>>;
|
|
5472
|
+
promise: Promise<AxiosResponse<T, any, {}>>;
|
|
5465
5473
|
cancel: () => void;
|
|
5466
5474
|
};
|
|
5467
5475
|
batchRefundByFile<T>({ payload, }: {
|
|
@@ -5496,7 +5504,7 @@ declare class Api extends HttpClient {
|
|
|
5496
5504
|
postCustomizedApiKeys<T>(accountCodes: string[]): Promise<AxiosResponse<T, any>>;
|
|
5497
5505
|
getCustomizedApiKeysProducts<T>(): Promise<AxiosResponse<T, any>>;
|
|
5498
5506
|
getCustomizedApiKeysToken<T>(code: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
5499
|
-
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
5507
|
+
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any, {}>>;
|
|
5500
5508
|
deleteCustomizedApiKeys<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
5501
5509
|
postCreateInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
5502
5510
|
getInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|