@yuno-payments/dashboard-api-mfe 0.40.5-CORECM-12866 → 0.40.5-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 +3 -3
- 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/checkout/checkout.d.ts +0 -22
- package/build/cjs/types/types/webhook/webhook.d.ts +2 -0
- 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/checkout/checkout.d.ts +0 -22
- package/build/esm/types/types/webhook/webhook.d.ts +2 -0
- package/build/index.d.ts +39 -59
- 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>, 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;
|
|
@@ -70,28 +70,6 @@ export declare namespace Checkout {
|
|
|
70
70
|
is_active: boolean;
|
|
71
71
|
current_value?: string;
|
|
72
72
|
options?: string[];
|
|
73
|
-
conditions_to_override?: {
|
|
74
|
-
name: string;
|
|
75
|
-
order: number;
|
|
76
|
-
payment_method_data: {
|
|
77
|
-
name: string | null;
|
|
78
|
-
description: string | null;
|
|
79
|
-
logo: string | null;
|
|
80
|
-
};
|
|
81
|
-
conditions: {
|
|
82
|
-
id: number;
|
|
83
|
-
payment_method_condition_set_id: number;
|
|
84
|
-
condition_type: string;
|
|
85
|
-
values: string[];
|
|
86
|
-
conditional: string;
|
|
87
|
-
metadata_key: string | null;
|
|
88
|
-
additional_field_name: string | null;
|
|
89
|
-
complex_name: string | null;
|
|
90
|
-
complex_index: number | null;
|
|
91
|
-
created_at: string;
|
|
92
|
-
updated_at: string;
|
|
93
|
-
}[];
|
|
94
|
-
}[];
|
|
95
73
|
}
|
|
96
74
|
export interface GetRequiredFieldsResponse {
|
|
97
75
|
payment_method: string;
|
|
@@ -38,6 +38,7 @@ export declare namespace Webhook {
|
|
|
38
38
|
url: string;
|
|
39
39
|
api_key?: string;
|
|
40
40
|
secret?: string;
|
|
41
|
+
hmac_client_secret?: string;
|
|
41
42
|
enrollment_triggers?: Array<IWebhooksTriggers>;
|
|
42
43
|
payment_triggers?: Array<IWebhooksTriggers>;
|
|
43
44
|
report_triggers?: Array<IWebhooksTriggers>;
|
|
@@ -53,6 +54,7 @@ export declare namespace Webhook {
|
|
|
53
54
|
url: string;
|
|
54
55
|
api_key: string;
|
|
55
56
|
secret: string;
|
|
57
|
+
hmac_client_secret?: string;
|
|
56
58
|
enrollment_triggers?: Array<IWebhooksTriggers>;
|
|
57
59
|
payment_triggers?: Array<IWebhooksTriggers>;
|
|
58
60
|
report_triggers?: Array<IWebhooksTriggers>;
|
package/build/index.d.ts
CHANGED
|
@@ -1283,6 +1283,7 @@ declare namespace Webhook {
|
|
|
1283
1283
|
url: string;
|
|
1284
1284
|
api_key?: string;
|
|
1285
1285
|
secret?: string;
|
|
1286
|
+
hmac_client_secret?: string;
|
|
1286
1287
|
enrollment_triggers?: Array<IWebhooksTriggers>;
|
|
1287
1288
|
payment_triggers?: Array<IWebhooksTriggers>;
|
|
1288
1289
|
report_triggers?: Array<IWebhooksTriggers>;
|
|
@@ -1298,6 +1299,7 @@ declare namespace Webhook {
|
|
|
1298
1299
|
url: string;
|
|
1299
1300
|
api_key: string;
|
|
1300
1301
|
secret: string;
|
|
1302
|
+
hmac_client_secret?: string;
|
|
1301
1303
|
enrollment_triggers?: Array<IWebhooksTriggers>;
|
|
1302
1304
|
payment_triggers?: Array<IWebhooksTriggers>;
|
|
1303
1305
|
report_triggers?: Array<IWebhooksTriggers>;
|
|
@@ -1621,28 +1623,6 @@ declare namespace Checkout {
|
|
|
1621
1623
|
is_active: boolean;
|
|
1622
1624
|
current_value?: string;
|
|
1623
1625
|
options?: string[];
|
|
1624
|
-
conditions_to_override?: {
|
|
1625
|
-
name: string;
|
|
1626
|
-
order: number;
|
|
1627
|
-
payment_method_data: {
|
|
1628
|
-
name: string | null;
|
|
1629
|
-
description: string | null;
|
|
1630
|
-
logo: string | null;
|
|
1631
|
-
};
|
|
1632
|
-
conditions: {
|
|
1633
|
-
id: number;
|
|
1634
|
-
payment_method_condition_set_id: number;
|
|
1635
|
-
condition_type: string;
|
|
1636
|
-
values: string[];
|
|
1637
|
-
conditional: string;
|
|
1638
|
-
metadata_key: string | null;
|
|
1639
|
-
additional_field_name: string | null;
|
|
1640
|
-
complex_name: string | null;
|
|
1641
|
-
complex_index: number | null;
|
|
1642
|
-
created_at: string;
|
|
1643
|
-
updated_at: string;
|
|
1644
|
-
}[];
|
|
1645
|
-
}[];
|
|
1646
1626
|
}
|
|
1647
1627
|
export interface GetRequiredFieldsResponse {
|
|
1648
1628
|
payment_method: string;
|
|
@@ -4293,14 +4273,14 @@ type DeleteMutation = UseMutationResult<AxiosResponse<Organization.AccountOrgani
|
|
|
4293
4273
|
|
|
4294
4274
|
declare function usePostWebhookMultiAccount({ onSuccessCallback, }: {
|
|
4295
4275
|
onSuccessCallback?: (data: any) => void;
|
|
4296
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4276
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4297
4277
|
payload: Webhook.WebHookV2MultiAccount;
|
|
4298
4278
|
}, {
|
|
4299
4279
|
payload: Webhook.WebHookV2MultiAccount;
|
|
4300
4280
|
}>;
|
|
4301
4281
|
declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
4302
4282
|
onSuccessCallback?: (data: any) => void;
|
|
4303
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<null, any>, unknown, {
|
|
4283
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<null, any, {}>, unknown, {
|
|
4304
4284
|
code: string;
|
|
4305
4285
|
accountCode: string;
|
|
4306
4286
|
}, {
|
|
@@ -4309,7 +4289,7 @@ declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
|
4309
4289
|
}>;
|
|
4310
4290
|
declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
4311
4291
|
onSuccessCallback?: (data: any) => void;
|
|
4312
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Webhook.WebHookV2, any>, unknown, {
|
|
4292
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Webhook.WebHookV2, any, {}>, unknown, {
|
|
4313
4293
|
code: string;
|
|
4314
4294
|
payload: any;
|
|
4315
4295
|
accountCode: string;
|
|
@@ -4318,19 +4298,19 @@ declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
|
4318
4298
|
payload: any;
|
|
4319
4299
|
accountCode: string;
|
|
4320
4300
|
}>;
|
|
4321
|
-
declare function usePostAccount(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4301
|
+
declare function usePostAccount(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
4322
4302
|
name: string;
|
|
4323
4303
|
principal: boolean;
|
|
4324
4304
|
}, unknown>;
|
|
4325
|
-
declare function usePatchAccountV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4305
|
+
declare function usePatchAccountV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
4326
4306
|
name: string;
|
|
4327
4307
|
code: string;
|
|
4328
4308
|
principal: boolean;
|
|
4329
4309
|
}, unknown>;
|
|
4330
|
-
declare function usePutAccountPrincipal(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4310
|
+
declare function usePutAccountPrincipal(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
4331
4311
|
account_code: string;
|
|
4332
4312
|
}, unknown>;
|
|
4333
|
-
declare function usePutAccountsUserMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4313
|
+
declare function usePutAccountsUserMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
4334
4314
|
organizationCode: string;
|
|
4335
4315
|
userCode: string;
|
|
4336
4316
|
payload: {
|
|
@@ -4393,20 +4373,20 @@ declare function useChangePasswordV2(): UseMutationResult<User.ChangePasswordRes
|
|
|
4393
4373
|
|
|
4394
4374
|
declare function useUpdateProfile({ onSuccessCallback, }: {
|
|
4395
4375
|
onSuccessCallback?: () => void;
|
|
4396
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any>, unknown, User.UserRequestPayload, User.UserRequestPayload>;
|
|
4397
|
-
declare function useInviteUsersMultiaccountMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponseInviteUser, any>, unknown, UserInviteMultiaccountPayload, unknown>;
|
|
4398
|
-
declare function useUnInviteUsersV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any>, unknown, {
|
|
4376
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any, {}>, unknown, User.UserRequestPayload, User.UserRequestPayload>;
|
|
4377
|
+
declare function useInviteUsersMultiaccountMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponseInviteUser, any, {}>, unknown, UserInviteMultiaccountPayload, unknown>;
|
|
4378
|
+
declare function useUnInviteUsersV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any, {}>, unknown, {
|
|
4399
4379
|
userCode: string;
|
|
4400
4380
|
organizationCode: string;
|
|
4401
4381
|
}, unknown>;
|
|
4402
|
-
declare function useCreateUserAuth0(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.CreateUserAuth0Response, any>, unknown, User.CreateUserAuth0Request, unknown>;
|
|
4403
|
-
declare function usePostCall(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, void, unknown>;
|
|
4404
|
-
declare function useLoginMethods(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4382
|
+
declare function useCreateUserAuth0(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.CreateUserAuth0Response, any, {}>, unknown, User.CreateUserAuth0Request, unknown>;
|
|
4383
|
+
declare function usePostCall(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, void, unknown>;
|
|
4384
|
+
declare function useLoginMethods(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4405
4385
|
methodCode: string;
|
|
4406
4386
|
enabled: boolean;
|
|
4407
4387
|
}, unknown>;
|
|
4408
4388
|
|
|
4409
|
-
declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): _tanstack_react_query.UseMutationResult<AxiosResponse<any, any>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
4389
|
+
declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): _tanstack_react_query.UseMutationResult<AxiosResponse<any, any, {}>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
4410
4390
|
/**
|
|
4411
4391
|
* @deprecated since version 0.28.6. use useChangeStylingSettings instead
|
|
4412
4392
|
*/
|
|
@@ -4632,13 +4612,13 @@ interface UpdateStylingThemeParams {
|
|
|
4632
4612
|
|
|
4633
4613
|
declare function useUpdateStylingTheme(): _tanstack_react_query.UseMutationResult<unknown, unknown, UpdateStylingThemeParams, unknown>;
|
|
4634
4614
|
|
|
4635
|
-
declare function useCreateOperationTransaction(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OperationTransaction.Response, any>, unknown, {
|
|
4615
|
+
declare function useCreateOperationTransaction(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OperationTransaction.Response, any, {}>, unknown, {
|
|
4636
4616
|
payload: OperationTransaction.Request;
|
|
4637
4617
|
transactionId: string;
|
|
4638
4618
|
paymentId: string;
|
|
4639
4619
|
action: OperationTransaction.Actions;
|
|
4640
4620
|
}, unknown>;
|
|
4641
|
-
declare function useChargebacksUpload(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Payment.UploadRequest, any>, unknown, {
|
|
4621
|
+
declare function useChargebacksUpload(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Payment.UploadRequest, any, {}>, unknown, {
|
|
4642
4622
|
payload: Payment.UploadRequest;
|
|
4643
4623
|
paymentId: string;
|
|
4644
4624
|
transactionId: string;
|
|
@@ -4745,20 +4725,20 @@ declare function useEditPaymentLinks(): _tanstack_react_query.UseMutationResult<
|
|
|
4745
4725
|
paymentLinkCode: string;
|
|
4746
4726
|
}, unknown>;
|
|
4747
4727
|
|
|
4748
|
-
declare function usePostUserSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4728
|
+
declare function usePostUserSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4749
4729
|
payload: any;
|
|
4750
4730
|
}, {
|
|
4751
4731
|
payload: any;
|
|
4752
4732
|
}>;
|
|
4753
|
-
declare function usePostUserThemeSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, ThemeSettings, unknown>;
|
|
4754
|
-
declare function usePostUserSettingsTables(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4733
|
+
declare function usePostUserThemeSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, ThemeSettings, unknown>;
|
|
4734
|
+
declare function usePostUserSettingsTables(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4755
4735
|
payload: any;
|
|
4756
4736
|
section: string;
|
|
4757
4737
|
}, {
|
|
4758
4738
|
payload: any;
|
|
4759
4739
|
section: string;
|
|
4760
4740
|
}>;
|
|
4761
|
-
declare function usePostUserSettingsPinned(onMutate: any): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4741
|
+
declare function usePostUserSettingsPinned(onMutate: any): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4762
4742
|
payload: PinnedSections;
|
|
4763
4743
|
}, any>;
|
|
4764
4744
|
|
|
@@ -4858,11 +4838,11 @@ declare function useUploadFileS3ClientBatchRefunds(): {
|
|
|
4858
4838
|
cancelRequest: () => void;
|
|
4859
4839
|
};
|
|
4860
4840
|
|
|
4861
|
-
declare function useUpdateMFAConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
4841
|
+
declare function useUpdateMFAConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any, {}>, unknown, {
|
|
4862
4842
|
payload: OrganizationSettings.MfaConfigRequest;
|
|
4863
4843
|
organizationCode: string;
|
|
4864
4844
|
}, unknown>;
|
|
4865
|
-
declare function useExcludeUsers(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
4845
|
+
declare function useExcludeUsers(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any, {}>, unknown, {
|
|
4866
4846
|
payload: OrganizationSettings.MfaUserExcluded[];
|
|
4867
4847
|
organizationCode: string;
|
|
4868
4848
|
}, unknown>;
|
|
@@ -4902,7 +4882,7 @@ declare function useGetCredentialsMFA(): UseMutationResult<{
|
|
|
4902
4882
|
|
|
4903
4883
|
declare function usePostAuditMonitors({ onMutate }: {
|
|
4904
4884
|
onMutate: any;
|
|
4905
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Audit.AuditMonitors, any>, unknown, {
|
|
4885
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Audit.AuditMonitors, any, {}>, unknown, {
|
|
4906
4886
|
payload: Audit.AuditMonitorsParams;
|
|
4907
4887
|
}, unknown>;
|
|
4908
4888
|
|
|
@@ -4918,9 +4898,9 @@ declare function useUpdateReconciliationAlert(): UseMutationResult<Reconciliatio
|
|
|
4918
4898
|
|
|
4919
4899
|
declare function usePostCreateInsightsReport(): UseMutationResult<unknown>;
|
|
4920
4900
|
|
|
4921
|
-
declare function useCreateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, SamlConfig.SamlConfigRequest, unknown>;
|
|
4922
|
-
declare function useUpdateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, Partial<SamlConfig.SamlConfigRequest>, unknown>;
|
|
4923
|
-
declare function useDeleteSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, void, unknown>;
|
|
4901
|
+
declare function useCreateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, SamlConfig.SamlConfigRequest, unknown>;
|
|
4902
|
+
declare function useUpdateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, Partial<SamlConfig.SamlConfigRequest>, unknown>;
|
|
4903
|
+
declare function useDeleteSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, void, unknown>;
|
|
4924
4904
|
|
|
4925
4905
|
interface CreateAIsResponse {
|
|
4926
4906
|
code: string;
|
|
@@ -5333,7 +5313,7 @@ declare function useFirebaseUserSubscribe({ onSuccessCallback, }: {
|
|
|
5333
5313
|
onSuccessCallback?: (data: any) => void;
|
|
5334
5314
|
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<{
|
|
5335
5315
|
code: string;
|
|
5336
|
-
}, any>, unknown, {
|
|
5316
|
+
}, any, {}>, unknown, {
|
|
5337
5317
|
payload: FirebaseUserSubscribe;
|
|
5338
5318
|
}, {
|
|
5339
5319
|
payload: FirebaseUserSubscribe;
|
|
@@ -5489,7 +5469,7 @@ interface S3Payload {
|
|
|
5489
5469
|
}
|
|
5490
5470
|
declare class Api extends HttpClient {
|
|
5491
5471
|
constructor(config?: AxiosRequestConfig);
|
|
5492
|
-
simulateAxiosError(): Promise<AxiosResponse<any, any>>;
|
|
5472
|
+
simulateAxiosError(): Promise<AxiosResponse<any, any, {}>>;
|
|
5493
5473
|
updateReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
5494
5474
|
createReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
5495
5475
|
getReconciliationTransactions<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -5693,32 +5673,32 @@ declare class Api extends HttpClient {
|
|
|
5693
5673
|
updateIsActiveCheckout(args: Checkout.UpdateIsActiveCheckoutParams): Promise<AxiosResponse>;
|
|
5694
5674
|
getStylingSdkDynamic({ accountCode }: {
|
|
5695
5675
|
accountCode: any;
|
|
5696
|
-
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
5676
|
+
}): Promise<AxiosResponse<Styling.Settings, any, {}>>;
|
|
5697
5677
|
/**
|
|
5698
5678
|
* @deprecated since version 0.36.27. use getStylingSettings instead
|
|
5699
5679
|
*/
|
|
5700
5680
|
getStylingTheme({ accountCode }: {
|
|
5701
5681
|
accountCode: string;
|
|
5702
|
-
}): Promise<AxiosResponse<Styling.Theme, any>>;
|
|
5682
|
+
}): Promise<AxiosResponse<Styling.Theme, any, {}>>;
|
|
5703
5683
|
/**
|
|
5704
5684
|
* @deprecated since version 0.36.27. use changeStylingSettings instead
|
|
5705
5685
|
*/
|
|
5706
|
-
updateStylingTheme({ accountCode, theme }: UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any>>;
|
|
5686
|
+
updateStylingTheme({ accountCode, theme }: UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any, {}>>;
|
|
5707
5687
|
/**
|
|
5708
5688
|
* @deprecated since version 0.36.27. use getStylingSettingsV2 instead
|
|
5709
5689
|
*/
|
|
5710
5690
|
getStylingSettings({ accountCode }: {
|
|
5711
5691
|
accountCode: any;
|
|
5712
|
-
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
5692
|
+
}): Promise<AxiosResponse<Styling.Settings, any, {}>>;
|
|
5713
5693
|
getStylingSettingsV2({ accountCode, environment, }: {
|
|
5714
5694
|
accountCode: string;
|
|
5715
5695
|
environment?: string;
|
|
5716
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
5696
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any, {}>>;
|
|
5717
5697
|
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
5718
5698
|
accountCode: string;
|
|
5719
5699
|
environment?: string;
|
|
5720
5700
|
payload: StylingSettings.UpdateSettings;
|
|
5721
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
5701
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any, {}>>;
|
|
5722
5702
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
5723
5703
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
5724
5704
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -5914,11 +5894,11 @@ declare class Api extends HttpClient {
|
|
|
5914
5894
|
getVelocityRules<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
5915
5895
|
postChangePaymentsWebhook<T>({ status, paymentCode, }: ChangePaymentsWebhook): Promise<AxiosResponse<T, any>>;
|
|
5916
5896
|
uploadFileS3ClientBatchRefunds<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
5917
|
-
promise: Promise<AxiosResponse<T, any>>;
|
|
5897
|
+
promise: Promise<AxiosResponse<T, any, {}>>;
|
|
5918
5898
|
cancel: () => void;
|
|
5919
5899
|
};
|
|
5920
5900
|
uploadFileS3ClientChargeBacks<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
5921
|
-
promise: Promise<AxiosResponse<T, any>>;
|
|
5901
|
+
promise: Promise<AxiosResponse<T, any, {}>>;
|
|
5922
5902
|
cancel: () => void;
|
|
5923
5903
|
};
|
|
5924
5904
|
batchRefundByFile<T>({ payload, }: {
|
|
@@ -5953,7 +5933,7 @@ declare class Api extends HttpClient {
|
|
|
5953
5933
|
postCustomizedApiKeys<T>(accountCodes: string[]): Promise<AxiosResponse<T, any>>;
|
|
5954
5934
|
getCustomizedApiKeysProducts<T>(): Promise<AxiosResponse<T, any>>;
|
|
5955
5935
|
getCustomizedApiKeysToken<T>(code: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
5956
|
-
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
5936
|
+
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any, {}>>;
|
|
5957
5937
|
deleteCustomizedApiKeys<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
5958
5938
|
postCreateInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
5959
5939
|
getInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|