@yuno-payments/dashboard-api-mfe 0.36.60-RC.9 → 0.36.61-CORECM-13617.2
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 +7 -7
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +12 -13
- package/build/cjs/types/lib/http-client/http-client.d.ts +0 -7
- 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/connections/connections.mutation.d.ts +0 -5
- 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 +0 -1
- package/build/cjs/types/queries/payment-links/payment-links.query.d.ts +1 -0
- package/build/cjs/types/types/audit/audit.d.ts +2 -3
- package/build/cjs/types/types/checkout/styling/styling.d.ts +6 -0
- package/build/cjs/types/types/connection/connection.d.ts +0 -18
- package/build/cjs/types/types/payment-links/payment-links.d.ts +41 -0
- package/build/esm/index.js +7 -7
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +12 -13
- package/build/esm/types/lib/http-client/http-client.d.ts +0 -7
- 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/connections/connections.mutation.d.ts +0 -5
- 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 +0 -1
- package/build/esm/types/queries/payment-links/payment-links.query.d.ts +1 -0
- package/build/esm/types/types/audit/audit.d.ts +2 -3
- package/build/esm/types/types/checkout/styling/styling.d.ts +6 -0
- package/build/esm/types/types/connection/connection.d.ts +0 -18
- package/build/esm/types/types/payment-links/payment-links.d.ts +41 -0
- package/build/index.d.ts +90 -69
- package/package.json +25 -25
- package/build/cjs/types/queries/network-tokens/index.d.ts +0 -1
- package/build/cjs/types/queries/network-tokens/network-tokens.query.d.ts +0 -5
- package/build/esm/types/queries/network-tokens/index.d.ts +0 -1
- package/build/esm/types/queries/network-tokens/network-tokens.query.d.ts +0 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AxiosError, AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
2
2
|
import { HttpClient } from '../lib/http-client';
|
|
3
3
|
import { GetPaymentsParams, GetReconciliationMetricParams, FirebaseUserSubscribe, PathNotification, TimeZoneCatalog, GetTransactionDetailsV2Params, MfaUserSubscribe, UserInviteMultiaccountPayload, GetTransactionsParams, PaymentsSettings, GetPayoutDetail, GetPayoutTransactionDetail, PinnedSections, ThemeSettings } from './api.types';
|
|
4
|
-
import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection,
|
|
4
|
+
import { Audit, OperationTransaction, Organization, SmartRouting, User, Webhook, Reports, ReportType, TemplateType, OrganizationSettings, IListScheduledReportsResponse, DataReport, Reconciliation, Checkout, ReconciliationReportType, SendPaymentNotification, ReconciliationAlerts, ReconciliationAgenda, ReconciliationSales, ReconciliationAdvancements, ReconciliationFees, Payment, InsightsFraudParams, InsightsFraudBody, AI, PaymentFiltersSection, GetInstallmentPlansResponse } from '../types';
|
|
5
5
|
import { ConversionRateParams, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds } from '../types/data-report/conversion-rate.types';
|
|
6
6
|
import { RoutingMonitors } from '../types/routing-monitors';
|
|
7
7
|
import { ChangePaymentsWebhook } from '../mutations';
|
|
@@ -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>>;
|
|
@@ -357,6 +357,7 @@ export declare class Api extends HttpClient {
|
|
|
357
357
|
code: any;
|
|
358
358
|
}): Promise<AxiosResponse<T, any>>;
|
|
359
359
|
getTimezone<T>(organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
360
|
+
getInstallmentPlans(accountCode: string): Promise<AxiosResponse<GetInstallmentPlansResponse>>;
|
|
360
361
|
firebaseUserSubscribe<T>(payload: FirebaseUserSubscribe): Promise<AxiosResponse<T>>;
|
|
361
362
|
postUserSettings<T>(payload: TimeZoneCatalog | PaymentsSettings): Promise<AxiosResponse<T>>;
|
|
362
363
|
postUserSettingsTables<T>(payload: PaymentsSettings, section: string): Promise<AxiosResponse<T>>;
|
|
@@ -429,11 +430,11 @@ export declare class Api extends HttpClient {
|
|
|
429
430
|
getVelocityRules<T>(params: any): Promise<AxiosResponse<T, any>>;
|
|
430
431
|
postChangePaymentsWebhook<T>({ status, paymentCode, }: ChangePaymentsWebhook): Promise<AxiosResponse<T, any>>;
|
|
431
432
|
uploadFileS3ClientBatchRefunds<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
432
|
-
promise: Promise<AxiosResponse<T, any
|
|
433
|
+
promise: Promise<AxiosResponse<T, any>>;
|
|
433
434
|
cancel: () => void;
|
|
434
435
|
};
|
|
435
436
|
uploadFileS3ClientChargeBacks<T>({ payload, handleSetProgress, }: S3Payload): {
|
|
436
|
-
promise: Promise<AxiosResponse<T, any
|
|
437
|
+
promise: Promise<AxiosResponse<T, any>>;
|
|
437
438
|
cancel: () => void;
|
|
438
439
|
};
|
|
439
440
|
batchRefundByFile<T>({ payload, }: {
|
|
@@ -468,7 +469,7 @@ export declare class Api extends HttpClient {
|
|
|
468
469
|
postCustomizedApiKeys<T>(accountCodes: string[]): Promise<AxiosResponse<T, any>>;
|
|
469
470
|
getCustomizedApiKeysProducts<T>(): Promise<AxiosResponse<T, any>>;
|
|
470
471
|
getCustomizedApiKeysToken<T>(code: any, password: any): Promise<AxiosResponse<T, any>>;
|
|
471
|
-
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any
|
|
472
|
+
validatePasswordStatus<T>(): Promise<AxiosResponse<T, any>>;
|
|
472
473
|
deleteCustomizedApiKeys<T>(code: any): Promise<AxiosResponse<T, any>>;
|
|
473
474
|
postCreateInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
474
475
|
getInsightsReport<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -497,8 +498,6 @@ export declare class Api extends HttpClient {
|
|
|
497
498
|
getConversionRateChargebacksByCardBrand(body: InsightsFraudBody, params: InsightsFraudParams): Promise<AxiosResponse<any, any>>;
|
|
498
499
|
get3DSExemptions(): Promise<AxiosResponse<SmartRouting.ThreeDSExemptionsResponse>>;
|
|
499
500
|
getNetworkTokensOnboarding(): Promise<AxiosResponse<SmartRouting.NetworkTokensOnboardingResponse>>;
|
|
500
|
-
getNetworkTokensOnboardingByOrganization(organizationCode: string): Promise<AxiosResponse<Connection.NetworkTokensOnboardingData>>;
|
|
501
|
-
postNetworkTokensOnboarding(payload: Connection.NetworkTokensOnboardingData, organizationCode: string): Promise<AxiosResponse<Connection.NetworkTokensOnboardingData>>;
|
|
502
501
|
createChartGPTChart<T>(payload: {
|
|
503
502
|
user_prompt: string;
|
|
504
503
|
}): Promise<AxiosResponse<T, any>>;
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
import { Axios } from './axios';
|
|
2
2
|
import { AxiosRequestConfig, AxiosResponse, AxiosError, CancelTokenSource } from 'axios';
|
|
3
|
-
/**
|
|
4
|
-
* Serializes parameters for URL query string with proper encoding
|
|
5
|
-
* and handling of arrays without duplication
|
|
6
|
-
* @param params - Object with parameters to serialize
|
|
7
|
-
* @returns URL encoded query string
|
|
8
|
-
*/
|
|
9
|
-
export declare const serializeParams: (params: Record<string, any>) => string;
|
|
10
3
|
/**
|
|
11
4
|
* @class Api Class is a fancy es6 wrapper class for axios.
|
|
12
5
|
*
|
|
@@ -2,14 +2,14 @@ import { Organization, Webhook } from '../../types';
|
|
|
2
2
|
import { DeleteMutation } from './delete-mutation';
|
|
3
3
|
export declare function usePostWebhookMultiAccount({ onSuccessCallback, }: {
|
|
4
4
|
onSuccessCallback?: (data: any) => void;
|
|
5
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
5
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
6
6
|
payload: Webhook.WebHookV2MultiAccount;
|
|
7
7
|
}, {
|
|
8
8
|
payload: Webhook.WebHookV2MultiAccount;
|
|
9
9
|
}>;
|
|
10
10
|
export declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
11
11
|
onSuccessCallback?: (data: any) => void;
|
|
12
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<null, any
|
|
12
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<null, any>, unknown, {
|
|
13
13
|
code: string;
|
|
14
14
|
accountCode: string;
|
|
15
15
|
}, {
|
|
@@ -18,7 +18,7 @@ export declare function useDeleteWebhookV2({ onSuccessCallback, }: {
|
|
|
18
18
|
}>;
|
|
19
19
|
export declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
20
20
|
onSuccessCallback?: (data: any) => void;
|
|
21
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Webhook.WebHookV2, any
|
|
21
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Webhook.WebHookV2, any>, unknown, {
|
|
22
22
|
code: string;
|
|
23
23
|
payload: any;
|
|
24
24
|
accountCode: string;
|
|
@@ -27,19 +27,19 @@ export declare function useUpdateWebhookV2({ onSuccessCallback, }: {
|
|
|
27
27
|
payload: any;
|
|
28
28
|
accountCode: string;
|
|
29
29
|
}>;
|
|
30
|
-
export declare function usePostAccount(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any
|
|
30
|
+
export declare function usePostAccount(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
31
31
|
name: string;
|
|
32
32
|
principal: boolean;
|
|
33
33
|
}, unknown>;
|
|
34
|
-
export declare function usePatchAccountV2(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any
|
|
34
|
+
export declare function usePatchAccountV2(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
35
35
|
name: string;
|
|
36
36
|
code: string;
|
|
37
37
|
principal: boolean;
|
|
38
38
|
}, unknown>;
|
|
39
|
-
export declare function usePutAccountPrincipal(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any
|
|
39
|
+
export declare function usePutAccountPrincipal(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
40
40
|
account_code: string;
|
|
41
41
|
}, unknown>;
|
|
42
|
-
export declare function usePutAccountsUserMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any
|
|
42
|
+
export declare function usePutAccountsUserMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Organization.Account, any>, unknown, {
|
|
43
43
|
organizationCode: string;
|
|
44
44
|
userCode: string;
|
|
45
45
|
payload: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Audit } from '../../types';
|
|
2
2
|
export declare function usePostAuditMonitors({ onMutate }: {
|
|
3
3
|
onMutate: any;
|
|
4
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Audit.AuditMonitors, any
|
|
4
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Audit.AuditMonitors, any>, unknown, {
|
|
5
5
|
payload: Audit.AuditMonitorsParams;
|
|
6
6
|
}, unknown>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import { Checkout } from '../../types';
|
|
3
3
|
import { AxiosResponse } from 'axios';
|
|
4
|
-
export declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): import("@tanstack/react-query").UseMutationResult<AxiosResponse<any, any
|
|
4
|
+
export declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): import("@tanstack/react-query").UseMutationResult<AxiosResponse<any, any>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
5
5
|
/**
|
|
6
6
|
* @deprecated since version 0.28.6. use useChangeStylingSettings instead
|
|
7
7
|
*/
|
|
@@ -33,9 +33,4 @@ export declare function useValidateCredentials(): import("@tanstack/react-query"
|
|
|
33
33
|
payment_method: string;
|
|
34
34
|
};
|
|
35
35
|
}, unknown>;
|
|
36
|
-
export declare function useGetNetworkTokensOnboarding(organizationCode: string): import("@tanstack/react-query").UseQueryResult<Connection.NetworkTokensOnboardingData, unknown>;
|
|
37
|
-
export declare function usePostNetworkTokensOnboarding(): import("@tanstack/react-query").UseMutationResult<Connection.NetworkTokensOnboardingData, unknown, {
|
|
38
|
-
payload: Connection.NetworkTokensOnboardingData;
|
|
39
|
-
organizationCode: string;
|
|
40
|
-
}, unknown>;
|
|
41
36
|
export {};
|
package/build/cjs/types/mutations/organization-settings/organization-settings.mutations.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OrganizationSettings } from '../../types';
|
|
2
|
-
export declare function useUpdateMFAConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OrganizationSettings.MfaConfig, any
|
|
2
|
+
export declare function useUpdateMFAConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
3
3
|
payload: OrganizationSettings.MfaConfigRequest;
|
|
4
4
|
organizationCode: string;
|
|
5
5
|
}, unknown>;
|
|
6
|
-
export declare function useExcludeUsers(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OrganizationSettings.MfaConfig, any
|
|
6
|
+
export declare function useExcludeUsers(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OrganizationSettings.MfaConfig, any>, unknown, {
|
|
7
7
|
payload: OrganizationSettings.MfaUserExcluded[];
|
|
8
8
|
organizationCode: string;
|
|
9
9
|
}, unknown>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { OperationTransaction, Payment } from '../../types';
|
|
2
|
-
export declare function useCreateOperationTransaction(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OperationTransaction.Response, any
|
|
2
|
+
export declare function useCreateOperationTransaction(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<OperationTransaction.Response, any>, unknown, {
|
|
3
3
|
payload: OperationTransaction.Request;
|
|
4
4
|
transactionId: string;
|
|
5
5
|
paymentId: string;
|
|
6
6
|
action: OperationTransaction.Actions;
|
|
7
7
|
}, unknown>;
|
|
8
|
-
export declare function useChargebacksUpload(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Payment.UploadRequest, any
|
|
8
|
+
export declare function useChargebacksUpload(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<Payment.UploadRequest, any>, unknown, {
|
|
9
9
|
payload: Payment.UploadRequest;
|
|
10
10
|
paymentId: string;
|
|
11
11
|
transactionId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { SamlConfig } from '../../types';
|
|
2
|
-
export declare function useCreateSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
3
|
-
export declare function useUpdateSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
4
|
-
export declare function useDeleteSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
2
|
+
export declare function useCreateSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, SamlConfig.SamlConfigRequest, unknown>;
|
|
3
|
+
export declare function useUpdateSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, Partial<SamlConfig.SamlConfigRequest>, unknown>;
|
|
4
|
+
export declare function useDeleteSamlConfig(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, void, unknown>;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { PinnedSections, ThemeSettings } from '../../api';
|
|
2
|
-
export declare function usePostUserSettings(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
2
|
+
export declare function usePostUserSettings(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
3
3
|
payload: any;
|
|
4
4
|
}, {
|
|
5
5
|
payload: any;
|
|
6
6
|
}>;
|
|
7
|
-
export declare function usePostUserThemeSettings(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
8
|
-
export declare function usePostUserSettingsTables(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
7
|
+
export declare function usePostUserThemeSettings(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, ThemeSettings, unknown>;
|
|
8
|
+
export declare function usePostUserSettingsTables(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
9
9
|
payload: any;
|
|
10
10
|
section: string;
|
|
11
11
|
}, {
|
|
12
12
|
payload: any;
|
|
13
13
|
section: string;
|
|
14
14
|
}>;
|
|
15
|
-
export declare function usePostUserSettingsPinned(onMutate: any): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
15
|
+
export declare function usePostUserSettingsPinned(onMutate: any): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
16
16
|
payload: PinnedSections;
|
|
17
17
|
}, any>;
|
|
@@ -2,15 +2,15 @@ import type { User } from '../../types';
|
|
|
2
2
|
import { UserInviteMultiaccountPayload } from '../../api';
|
|
3
3
|
export declare function useUpdateProfile({ onSuccessCallback, }: {
|
|
4
4
|
onSuccessCallback?: () => void;
|
|
5
|
-
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any
|
|
6
|
-
export declare function useInviteUsersMultiaccountMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponseInviteUser, any
|
|
7
|
-
export declare function useUnInviteUsersV2(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any
|
|
5
|
+
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any>, unknown, User.UserRequestPayload, User.UserRequestPayload>;
|
|
6
|
+
export declare function useInviteUsersMultiaccountMassive(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponseInviteUser, any>, unknown, UserInviteMultiaccountPayload, unknown>;
|
|
7
|
+
export declare function useUnInviteUsersV2(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.UserResponsePayload, any>, unknown, {
|
|
8
8
|
userCode: string;
|
|
9
9
|
organizationCode: string;
|
|
10
10
|
}, unknown>;
|
|
11
|
-
export declare function useCreateUserAuth0(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.CreateUserAuth0Response, any
|
|
12
|
-
export declare function usePostCall(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
13
|
-
export declare function useLoginMethods(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any
|
|
11
|
+
export declare function useCreateUserAuth0(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<User.CreateUserAuth0Response, any>, unknown, User.CreateUserAuth0Request, unknown>;
|
|
12
|
+
export declare function usePostCall(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, void, unknown>;
|
|
13
|
+
export declare function useLoginMethods(): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<unknown, any>, unknown, {
|
|
14
14
|
methodCode: string;
|
|
15
15
|
enabled: boolean;
|
|
16
16
|
}, unknown>;
|
|
@@ -3,7 +3,7 @@ export declare function useFirebaseUserSubscribe({ onSuccessCallback, }: {
|
|
|
3
3
|
onSuccessCallback?: (data: any) => void;
|
|
4
4
|
}): import("@tanstack/react-query").UseMutationResult<import("axios").AxiosResponse<{
|
|
5
5
|
code: string;
|
|
6
|
-
}, any
|
|
6
|
+
}, any>, unknown, {
|
|
7
7
|
payload: FirebaseUserSubscribe;
|
|
8
8
|
}, {
|
|
9
9
|
payload: FirebaseUserSubscribe;
|
|
@@ -5,3 +5,4 @@ export declare function useGetPaymentLinkByCode(paymentLinkCode: any): UseQueryR
|
|
|
5
5
|
export declare function useGetCountriesConfigPaymentLink(enabled?: boolean): UseQueryResult<PaymentLinks.GetCountriesConfig, unknown>;
|
|
6
6
|
export declare function useGetCountriesConfigPaymentLinkV2(acceptLanguage?: string): UseQueryResult<PaymentLinks.GetCountriesConfig, unknown>;
|
|
7
7
|
export declare function useGetTimezonePaymentLink(organizationCode: string): UseQueryResult<any, unknown>;
|
|
8
|
+
export declare function useGetInstallmentPlans(accountCode: string): UseQueryResult<import("../../types").GetInstallmentPlansResponse, unknown>;
|
|
@@ -109,13 +109,12 @@ export declare namespace Audit {
|
|
|
109
109
|
}
|
|
110
110
|
interface ExportApiLogsRequest {
|
|
111
111
|
report_name: string;
|
|
112
|
-
account_code
|
|
112
|
+
account_code: string[];
|
|
113
113
|
start_date: string;
|
|
114
114
|
end_date: string;
|
|
115
115
|
time_zone: string;
|
|
116
|
+
method?: string[];
|
|
116
117
|
organizationCode?: string;
|
|
117
|
-
status_codes?: string[];
|
|
118
|
-
methods?: string[];
|
|
119
118
|
}
|
|
120
119
|
interface AuditApiJSON {
|
|
121
120
|
[key: string]: string;
|
|
@@ -117,6 +117,12 @@ export declare namespace StylingSettings {
|
|
|
117
117
|
condensed_checkout_view?: boolean;
|
|
118
118
|
edit_payment_method_list?: boolean;
|
|
119
119
|
};
|
|
120
|
+
ui?: {
|
|
121
|
+
dark_mode?: boolean;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
flags?: {
|
|
125
|
+
force_default_styles?: boolean;
|
|
120
126
|
};
|
|
121
127
|
}
|
|
122
128
|
interface UpdateSettingsResponse extends UpdateSettings {
|
|
@@ -51,22 +51,4 @@ export declare namespace Connection {
|
|
|
51
51
|
}
|
|
52
52
|
];
|
|
53
53
|
};
|
|
54
|
-
interface NetworkTokensOnboardingData {
|
|
55
|
-
name: string;
|
|
56
|
-
legal_name: string;
|
|
57
|
-
website: string;
|
|
58
|
-
identification_type: string;
|
|
59
|
-
identification_number: string;
|
|
60
|
-
address_line_1: string;
|
|
61
|
-
address_line_2: string;
|
|
62
|
-
city: string;
|
|
63
|
-
state: string;
|
|
64
|
-
country: string;
|
|
65
|
-
zip_code: string;
|
|
66
|
-
phone: string;
|
|
67
|
-
contact_first_name: string;
|
|
68
|
-
contact_last_name: string;
|
|
69
|
-
contact_email: string;
|
|
70
|
-
account_codes: string[];
|
|
71
|
-
}
|
|
72
54
|
}
|
|
@@ -13,3 +13,44 @@ export declare namespace PaymentLinks {
|
|
|
13
13
|
countries: DataCountries[];
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
+
export interface InstallmentAmount {
|
|
17
|
+
currency: string;
|
|
18
|
+
value: string;
|
|
19
|
+
total_value: string;
|
|
20
|
+
}
|
|
21
|
+
export interface InstallmentPlanItem {
|
|
22
|
+
id: string;
|
|
23
|
+
installment: number;
|
|
24
|
+
rate: number | null;
|
|
25
|
+
provider_id: string;
|
|
26
|
+
amount?: {
|
|
27
|
+
currency: string;
|
|
28
|
+
value: string;
|
|
29
|
+
total_value: string;
|
|
30
|
+
};
|
|
31
|
+
type?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface PlanAmount {
|
|
34
|
+
currency: string;
|
|
35
|
+
min_value: string;
|
|
36
|
+
max_value: string;
|
|
37
|
+
}
|
|
38
|
+
export interface Availability {
|
|
39
|
+
start_at: string;
|
|
40
|
+
finish_at: string;
|
|
41
|
+
}
|
|
42
|
+
export interface InstallmentPlan {
|
|
43
|
+
id: string;
|
|
44
|
+
code: string;
|
|
45
|
+
name: string;
|
|
46
|
+
account_id: string[];
|
|
47
|
+
merchant_reference: string;
|
|
48
|
+
installments_plan: InstallmentPlanItem[];
|
|
49
|
+
country_code: string;
|
|
50
|
+
amount: PlanAmount;
|
|
51
|
+
availability: Availability;
|
|
52
|
+
types_list?: string[];
|
|
53
|
+
created_at?: string;
|
|
54
|
+
updated_at?: string;
|
|
55
|
+
}
|
|
56
|
+
export type GetInstallmentPlansResponse = InstallmentPlan[];
|