@yuno-payments/dashboard-api-mfe 0.40.6 → 0.40.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +6 -13
- 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/index.d.ts +1 -0
- package/build/cjs/types/types/reports/reports.d.ts +1 -0
- package/build/cjs/types/types/smart-routing/smart-routing.d.ts +24 -0
- package/build/esm/index.js +6 -13
- 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/index.d.ts +1 -0
- package/build/esm/types/types/reports/reports.d.ts +1 -0
- package/build/esm/types/types/smart-routing/smart-routing.d.ts +24 -0
- package/build/index.d.ts +65 -40
- 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>>;
|
|
@@ -510,7 +510,7 @@ export declare class Api extends HttpClient {
|
|
|
510
510
|
getConversionRateChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
511
511
|
get3DSExemptions(): Promise<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
|
|
512
512
|
getNetworkTokensOnboarding(): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
|
|
513
|
-
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<
|
|
513
|
+
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingGetResponse>>;
|
|
514
514
|
postNetworkTokensOnboarding(payload: Connection.NetworkTokensOnboardingData, organizationCode: string): Promise<AxiosResponse<Connection.NetworkTokensOnboardingData>>;
|
|
515
515
|
createChartGPTChart<T>(payload: {
|
|
516
516
|
user_prompt: string;
|
|
@@ -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;
|
|
@@ -25,6 +25,7 @@ export * from './mfa';
|
|
|
25
25
|
export * from './saml-config';
|
|
26
26
|
export * from './chartgpt';
|
|
27
27
|
export * from './translation';
|
|
28
|
+
export * from './network-tokens';
|
|
28
29
|
export * from './smart-recovery';
|
|
29
30
|
export * from './network-tokens';
|
|
30
31
|
export * from './template-reporting';
|
|
@@ -326,5 +326,29 @@ export declare namespace SmartRouting {
|
|
|
326
326
|
export interface NetworkTokensOnboardingResponse {
|
|
327
327
|
available: boolean;
|
|
328
328
|
}
|
|
329
|
+
export interface NetworkTokensOnboardingData {
|
|
330
|
+
company_name: string;
|
|
331
|
+
client: string;
|
|
332
|
+
website: string;
|
|
333
|
+
required_provider: string;
|
|
334
|
+
company_legal_name: string;
|
|
335
|
+
company_registered_state: string;
|
|
336
|
+
company_registered_zip_code: string;
|
|
337
|
+
company_registered_address: string;
|
|
338
|
+
company_registered_country: string;
|
|
339
|
+
company_registered_phone: string;
|
|
340
|
+
primary_contact_first_name: string;
|
|
341
|
+
primary_contact_last_name: string;
|
|
342
|
+
business_identification_type: string;
|
|
343
|
+
business_identification_number: string;
|
|
344
|
+
}
|
|
345
|
+
export interface NetworkTokensOnboardingPayload extends NetworkTokensOnboardingData {
|
|
346
|
+
accounts: string[];
|
|
347
|
+
}
|
|
348
|
+
export interface NetworkTokensOnboardingGetResponse extends NetworkTokensOnboardingData {
|
|
349
|
+
id?: string;
|
|
350
|
+
created_at?: string;
|
|
351
|
+
updated_at?: string;
|
|
352
|
+
}
|
|
329
353
|
export {};
|
|
330
354
|
}
|
package/build/index.d.ts
CHANGED
|
@@ -1858,6 +1858,7 @@ type CentralizedColumn = {
|
|
|
1858
1858
|
selection: 'ALL';
|
|
1859
1859
|
CreatedAt: Date;
|
|
1860
1860
|
UpdatedAt: Date;
|
|
1861
|
+
unique_key: string;
|
|
1861
1862
|
};
|
|
1862
1863
|
declare enum ReportType {
|
|
1863
1864
|
PAYMENTS = "PAYMENTS",
|
|
@@ -2283,6 +2284,30 @@ declare namespace SmartRouting {
|
|
|
2283
2284
|
export interface NetworkTokensOnboardingResponse {
|
|
2284
2285
|
available: boolean;
|
|
2285
2286
|
}
|
|
2287
|
+
export interface NetworkTokensOnboardingData {
|
|
2288
|
+
company_name: string;
|
|
2289
|
+
client: string;
|
|
2290
|
+
website: string;
|
|
2291
|
+
required_provider: string;
|
|
2292
|
+
company_legal_name: string;
|
|
2293
|
+
company_registered_state: string;
|
|
2294
|
+
company_registered_zip_code: string;
|
|
2295
|
+
company_registered_address: string;
|
|
2296
|
+
company_registered_country: string;
|
|
2297
|
+
company_registered_phone: string;
|
|
2298
|
+
primary_contact_first_name: string;
|
|
2299
|
+
primary_contact_last_name: string;
|
|
2300
|
+
business_identification_type: string;
|
|
2301
|
+
business_identification_number: string;
|
|
2302
|
+
}
|
|
2303
|
+
export interface NetworkTokensOnboardingPayload extends NetworkTokensOnboardingData {
|
|
2304
|
+
accounts: string[];
|
|
2305
|
+
}
|
|
2306
|
+
export interface NetworkTokensOnboardingGetResponse extends NetworkTokensOnboardingData {
|
|
2307
|
+
id?: string;
|
|
2308
|
+
created_at?: string;
|
|
2309
|
+
updated_at?: string;
|
|
2310
|
+
}
|
|
2286
2311
|
export {};
|
|
2287
2312
|
}
|
|
2288
2313
|
|
|
@@ -4293,14 +4318,14 @@ type DeleteMutation = UseMutationResult<AxiosResponse<Organization.AccountOrgani
|
|
|
4293
4318
|
|
|
4294
4319
|
declare function usePostWebhookMultiAccount({ onSuccessCallback, }: {
|
|
4295
4320
|
onSuccessCallback?: (data: any) => void;
|
|
4296
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4321
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4297
4322
|
payload: Webhook.WebHookV2MultiAccount;
|
|
4298
4323
|
}, {
|
|
4299
4324
|
payload: Webhook.WebHookV2MultiAccount;
|
|
4300
4325
|
}>;
|
|
4301
4326
|
declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
4302
4327
|
onSuccessCallback?: (data: any) => void;
|
|
4303
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<null, any>, unknown, {
|
|
4328
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<null, any, {}>, unknown, {
|
|
4304
4329
|
code: string;
|
|
4305
4330
|
accountCode: string;
|
|
4306
4331
|
}, {
|
|
@@ -4309,7 +4334,7 @@ declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
|
4309
4334
|
}>;
|
|
4310
4335
|
declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
4311
4336
|
onSuccessCallback?: (data: any) => void;
|
|
4312
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Webhook.WebHookV2, any>, unknown, {
|
|
4337
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Webhook.WebHookV2, any, {}>, unknown, {
|
|
4313
4338
|
code: string;
|
|
4314
4339
|
payload: any;
|
|
4315
4340
|
accountCode: string;
|
|
@@ -4318,19 +4343,19 @@ declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
|
4318
4343
|
payload: any;
|
|
4319
4344
|
accountCode: string;
|
|
4320
4345
|
}>;
|
|
4321
|
-
declare function usePostAccount(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4346
|
+
declare function usePostAccount(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
4322
4347
|
name: string;
|
|
4323
4348
|
principal: boolean;
|
|
4324
4349
|
}, unknown>;
|
|
4325
|
-
declare function usePatchAccountV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4350
|
+
declare function usePatchAccountV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
4326
4351
|
name: string;
|
|
4327
4352
|
code: string;
|
|
4328
4353
|
principal: boolean;
|
|
4329
4354
|
}, unknown>;
|
|
4330
|
-
declare function usePutAccountPrincipal(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4355
|
+
declare function usePutAccountPrincipal(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
4331
4356
|
account_code: string;
|
|
4332
4357
|
}, unknown>;
|
|
4333
|
-
declare function usePutAccountsUserMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any>, unknown, {
|
|
4358
|
+
declare function usePutAccountsUserMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Organization.Account, any, {}>, unknown, {
|
|
4334
4359
|
organizationCode: string;
|
|
4335
4360
|
userCode: string;
|
|
4336
4361
|
payload: {
|
|
@@ -4393,20 +4418,20 @@ declare function useChangePasswordV2(): UseMutationResult<User.ChangePasswordRes
|
|
|
4393
4418
|
|
|
4394
4419
|
declare function useUpdateProfile({ onSuccessCallback, }: {
|
|
4395
4420
|
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, {
|
|
4421
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any, {}>, unknown, User.UserRequestPayload, User.UserRequestPayload>;
|
|
4422
|
+
declare function useInviteUsersMultiaccountMassive(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponseInviteUser, any, {}>, unknown, UserInviteMultiaccountPayload, unknown>;
|
|
4423
|
+
declare function useUnInviteUsersV2(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.UserResponsePayload, any, {}>, unknown, {
|
|
4399
4424
|
userCode: string;
|
|
4400
4425
|
organizationCode: string;
|
|
4401
4426
|
}, 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, {
|
|
4427
|
+
declare function useCreateUserAuth0(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<User.CreateUserAuth0Response, any, {}>, unknown, User.CreateUserAuth0Request, unknown>;
|
|
4428
|
+
declare function usePostCall(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, void, unknown>;
|
|
4429
|
+
declare function useLoginMethods(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4405
4430
|
methodCode: string;
|
|
4406
4431
|
enabled: boolean;
|
|
4407
4432
|
}, unknown>;
|
|
4408
4433
|
|
|
4409
|
-
declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): _tanstack_react_query.UseMutationResult<AxiosResponse<any, any>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
4434
|
+
declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): _tanstack_react_query.UseMutationResult<AxiosResponse<any, any, {}>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
4410
4435
|
/**
|
|
4411
4436
|
* @deprecated since version 0.28.6. use useChangeStylingSettings instead
|
|
4412
4437
|
*/
|
|
@@ -4632,13 +4657,13 @@ interface UpdateStylingThemeParams {
|
|
|
4632
4657
|
|
|
4633
4658
|
declare function useUpdateStylingTheme(): _tanstack_react_query.UseMutationResult<unknown, unknown, UpdateStylingThemeParams, unknown>;
|
|
4634
4659
|
|
|
4635
|
-
declare function useCreateOperationTransaction(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OperationTransaction.Response, any>, unknown, {
|
|
4660
|
+
declare function useCreateOperationTransaction(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OperationTransaction.Response, any, {}>, unknown, {
|
|
4636
4661
|
payload: OperationTransaction.Request;
|
|
4637
4662
|
transactionId: string;
|
|
4638
4663
|
paymentId: string;
|
|
4639
4664
|
action: OperationTransaction.Actions;
|
|
4640
4665
|
}, unknown>;
|
|
4641
|
-
declare function useChargebacksUpload(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Payment.UploadRequest, any>, unknown, {
|
|
4666
|
+
declare function useChargebacksUpload(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Payment.UploadRequest, any, {}>, unknown, {
|
|
4642
4667
|
payload: Payment.UploadRequest;
|
|
4643
4668
|
paymentId: string;
|
|
4644
4669
|
transactionId: string;
|
|
@@ -4745,20 +4770,20 @@ declare function useEditPaymentLinks(): _tanstack_react_query.UseMutationResult<
|
|
|
4745
4770
|
paymentLinkCode: string;
|
|
4746
4771
|
}, unknown>;
|
|
4747
4772
|
|
|
4748
|
-
declare function usePostUserSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4773
|
+
declare function usePostUserSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4749
4774
|
payload: any;
|
|
4750
4775
|
}, {
|
|
4751
4776
|
payload: any;
|
|
4752
4777
|
}>;
|
|
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, {
|
|
4778
|
+
declare function usePostUserThemeSettings(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, ThemeSettings, unknown>;
|
|
4779
|
+
declare function usePostUserSettingsTables(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4755
4780
|
payload: any;
|
|
4756
4781
|
section: string;
|
|
4757
4782
|
}, {
|
|
4758
4783
|
payload: any;
|
|
4759
4784
|
section: string;
|
|
4760
4785
|
}>;
|
|
4761
|
-
declare function usePostUserSettingsPinned(onMutate: any): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any>, unknown, {
|
|
4786
|
+
declare function usePostUserSettingsPinned(onMutate: any): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, {
|
|
4762
4787
|
payload: PinnedSections;
|
|
4763
4788
|
}, any>;
|
|
4764
4789
|
|
|
@@ -4858,11 +4883,11 @@ declare function useUploadFileS3ClientBatchRefunds(): {
|
|
|
4858
4883
|
cancelRequest: () => void;
|
|
4859
4884
|
};
|
|
4860
4885
|
|
|
4861
|
-
declare function useUpdateMFAConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
4886
|
+
declare function useUpdateMFAConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any, {}>, unknown, {
|
|
4862
4887
|
payload: OrganizationSettings.MfaConfigRequest;
|
|
4863
4888
|
organizationCode: string;
|
|
4864
4889
|
}, unknown>;
|
|
4865
|
-
declare function useExcludeUsers(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
4890
|
+
declare function useExcludeUsers(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OrganizationSettings.MfaConfig, any, {}>, unknown, {
|
|
4866
4891
|
payload: OrganizationSettings.MfaUserExcluded[];
|
|
4867
4892
|
organizationCode: string;
|
|
4868
4893
|
}, unknown>;
|
|
@@ -4902,7 +4927,7 @@ declare function useGetCredentialsMFA(): UseMutationResult<{
|
|
|
4902
4927
|
|
|
4903
4928
|
declare function usePostAuditMonitors({ onMutate }: {
|
|
4904
4929
|
onMutate: any;
|
|
4905
|
-
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Audit.AuditMonitors, any>, unknown, {
|
|
4930
|
+
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<Audit.AuditMonitors, any, {}>, unknown, {
|
|
4906
4931
|
payload: Audit.AuditMonitorsParams;
|
|
4907
4932
|
}, unknown>;
|
|
4908
4933
|
|
|
@@ -4918,9 +4943,9 @@ declare function useUpdateReconciliationAlert(): UseMutationResult<Reconciliatio
|
|
|
4918
4943
|
|
|
4919
4944
|
declare function usePostCreateInsightsReport(): UseMutationResult<unknown>;
|
|
4920
4945
|
|
|
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>;
|
|
4946
|
+
declare function useCreateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, SamlConfig.SamlConfigRequest, unknown>;
|
|
4947
|
+
declare function useUpdateSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, Partial<SamlConfig.SamlConfigRequest>, unknown>;
|
|
4948
|
+
declare function useDeleteSamlConfig(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<unknown, any, {}>, unknown, void, unknown>;
|
|
4924
4949
|
|
|
4925
4950
|
interface CreateAIsResponse {
|
|
4926
4951
|
code: string;
|
|
@@ -5333,7 +5358,7 @@ declare function useFirebaseUserSubscribe({ onSuccessCallback, }: {
|
|
|
5333
5358
|
onSuccessCallback?: (data: any) => void;
|
|
5334
5359
|
}): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<{
|
|
5335
5360
|
code: string;
|
|
5336
|
-
}, any>, unknown, {
|
|
5361
|
+
}, any, {}>, unknown, {
|
|
5337
5362
|
payload: FirebaseUserSubscribe;
|
|
5338
5363
|
}, {
|
|
5339
5364
|
payload: FirebaseUserSubscribe;
|
|
@@ -5413,14 +5438,14 @@ declare function usePatchAndExecuteChart(chart_id: string, patchPayload: PatchCh
|
|
|
5413
5438
|
declare function useGetLanguages(): UseQueryResult<Translation.Languages, AxiosError>;
|
|
5414
5439
|
declare function useGetTranslations(): UseQueryResult<Translation.Translations, AxiosError>;
|
|
5415
5440
|
|
|
5441
|
+
declare function useGetNetworkTokensOnboardingByOrganization(organizationCode: string): UseQueryResult<Connection.NetworkTokensOnboardingData, AxiosError<CustomAxiosResponse>>;
|
|
5442
|
+
|
|
5416
5443
|
declare const useCommunicationsByDay: (params: SmartRecoveryOverviewQueryParams, options?: UseQueryOptions<DailyCommunicationsAndConversionRate, AxiosError<BFFErrorResponse>>) => _tanstack_react_query.UseQueryResult<DailyCommunicationsAndConversionRate, AxiosError<BFFErrorResponse, any>>;
|
|
5417
5444
|
declare const useCommunicationsBySubstatus: (params: SmartRecoveryOverviewQueryParams, options?: UseQueryOptions<CommunicationsBySubStatus, AxiosError<BFFErrorResponse>>) => _tanstack_react_query.UseQueryResult<CommunicationsBySubStatus, AxiosError<BFFErrorResponse, any>>;
|
|
5418
5445
|
declare const useCommunicationsSubstatusByDay: (params: SmartRecoveryOverviewQueryParams, options?: UseQueryOptions<DailyCommunicationsSubStatusDistribution, AxiosError<BFFErrorResponse>>) => _tanstack_react_query.UseQueryResult<DailyCommunicationsSubStatusDistribution, AxiosError<BFFErrorResponse, any>>;
|
|
5419
5446
|
declare const useRecoveredTPVByDay: (params: SmartRecoveryOverviewQueryParams, options?: UseQueryOptions<RecoveredTPV, AxiosError<BFFErrorResponse>>) => _tanstack_react_query.UseQueryResult<RecoveredTPV, AxiosError<BFFErrorResponse, any>>;
|
|
5420
5447
|
declare const useRecoveredPaymentsByDay: (params: SmartRecoveryOverviewQueryParams, options?: UseQueryOptions<RecoveredPayments, AxiosError<BFFErrorResponse>>) => _tanstack_react_query.UseQueryResult<RecoveredPayments, AxiosError<BFFErrorResponse, any>>;
|
|
5421
5448
|
|
|
5422
|
-
declare function useGetNetworkTokensOnboardingByOrganization(organizationCode: string): UseQueryResult<Connection.NetworkTokensOnboardingData, AxiosError<CustomAxiosResponse>>;
|
|
5423
|
-
|
|
5424
5449
|
declare function useGetTemplatesList(params: TemplateReporting.GetTemplatesListParams, enabled: any): UseQueryResult<TemplateReporting.GetTemplatesListResponse, AxiosError>;
|
|
5425
5450
|
declare function useGetTemplateById(templateId: number, enabled: any): UseQueryResult<TemplateReporting.ReportTemplate, AxiosError>;
|
|
5426
5451
|
declare function useGetSchedulesList(enabled: any): UseQueryResult<TemplateReporting.GetSchedulesListResponse, AxiosError>;
|
|
@@ -5489,7 +5514,7 @@ interface S3Payload {
|
|
|
5489
5514
|
}
|
|
5490
5515
|
declare class Api extends HttpClient {
|
|
5491
5516
|
constructor(config?: AxiosRequestConfig);
|
|
5492
|
-
simulateAxiosError(): Promise<AxiosResponse<any, any>>;
|
|
5517
|
+
simulateAxiosError(): Promise<AxiosResponse<any, any, {}>>;
|
|
5493
5518
|
updateReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
5494
5519
|
createReconciliationReportTemplate<T>(payload: Reports.ICreateTemplate): Promise<AxiosResponse<T>>;
|
|
5495
5520
|
getReconciliationTransactions<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -5693,32 +5718,32 @@ declare class Api extends HttpClient {
|
|
|
5693
5718
|
updateIsActiveCheckout(args: Checkout.UpdateIsActiveCheckoutParams): Promise<AxiosResponse>;
|
|
5694
5719
|
getStylingSdkDynamic({ accountCode }: {
|
|
5695
5720
|
accountCode: any;
|
|
5696
|
-
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
5721
|
+
}): Promise<AxiosResponse<Styling.Settings, any, {}>>;
|
|
5697
5722
|
/**
|
|
5698
5723
|
* @deprecated since version 0.36.27. use getStylingSettings instead
|
|
5699
5724
|
*/
|
|
5700
5725
|
getStylingTheme({ accountCode }: {
|
|
5701
5726
|
accountCode: string;
|
|
5702
|
-
}): Promise<AxiosResponse<Styling.Theme, any>>;
|
|
5727
|
+
}): Promise<AxiosResponse<Styling.Theme, any, {}>>;
|
|
5703
5728
|
/**
|
|
5704
5729
|
* @deprecated since version 0.36.27. use changeStylingSettings instead
|
|
5705
5730
|
*/
|
|
5706
|
-
updateStylingTheme({ accountCode, theme }: UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any>>;
|
|
5731
|
+
updateStylingTheme({ accountCode, theme }: UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any, {}>>;
|
|
5707
5732
|
/**
|
|
5708
5733
|
* @deprecated since version 0.36.27. use getStylingSettingsV2 instead
|
|
5709
5734
|
*/
|
|
5710
5735
|
getStylingSettings({ accountCode }: {
|
|
5711
5736
|
accountCode: any;
|
|
5712
|
-
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
5737
|
+
}): Promise<AxiosResponse<Styling.Settings, any, {}>>;
|
|
5713
5738
|
getStylingSettingsV2({ accountCode, environment, }: {
|
|
5714
5739
|
accountCode: string;
|
|
5715
5740
|
environment?: string;
|
|
5716
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
5741
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any, {}>>;
|
|
5717
5742
|
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
5718
5743
|
accountCode: string;
|
|
5719
5744
|
environment?: string;
|
|
5720
5745
|
payload: StylingSettings.UpdateSettings;
|
|
5721
|
-
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
5746
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any, {}>>;
|
|
5722
5747
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
5723
5748
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
5724
5749
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -5914,11 +5939,11 @@ declare class Api extends HttpClient {
|
|
|
5914
5939
|
getVelocityRules<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
5915
5940
|
postChangePaymentsWebhook<T>({ status, paymentCode, }: ChangePaymentsWebhook): Promise<AxiosResponse<T, any>>;
|
|
5916
5941
|
uploadFileS3ClientBatchRefunds<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
5917
|
-
promise: Promise<AxiosResponse<T, any>>;
|
|
5942
|
+
promise: Promise<AxiosResponse<T, any, {}>>;
|
|
5918
5943
|
cancel: () => void;
|
|
5919
5944
|
};
|
|
5920
5945
|
uploadFileS3ClientChargeBacks<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
5921
|
-
promise: Promise<AxiosResponse<T, any>>;
|
|
5946
|
+
promise: Promise<AxiosResponse<T, any, {}>>;
|
|
5922
5947
|
cancel: () => void;
|
|
5923
5948
|
};
|
|
5924
5949
|
batchRefundByFile<T>({ payload, }: {
|
|
@@ -5953,7 +5978,7 @@ declare class Api extends HttpClient {
|
|
|
5953
5978
|
postCustomizedApiKeys<T>(accountCodes: string[]): Promise<AxiosResponse<T, any>>;
|
|
5954
5979
|
getCustomizedApiKeysProducts<T>(): Promise<AxiosResponse<T, any>>;
|
|
5955
5980
|
getCustomizedApiKeysToken<T>(code: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
5956
|
-
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
5981
|
+
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any, {}>>;
|
|
5957
5982
|
deleteCustomizedApiKeys<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
5958
5983
|
postCreateInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
5959
5984
|
getInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -5982,7 +6007,7 @@ declare class Api extends HttpClient {
|
|
|
5982
6007
|
getConversionRateChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
5983
6008
|
get3DSExemptions(): Promise<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
|
|
5984
6009
|
getNetworkTokensOnboarding(): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
|
|
5985
|
-
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<
|
|
6010
|
+
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingGetResponse>>;
|
|
5986
6011
|
postNetworkTokensOnboarding(payload: Connection.NetworkTokensOnboardingData, organizationCode: string): Promise<AxiosResponse<Connection.NetworkTokensOnboardingData>>;
|
|
5987
6012
|
createChartGPTChart<T>(payload: {
|
|
5988
6013
|
user_prompt: string;
|