@yuno-payments/dashboard-api-mfe 0.36.26 → 0.36.30
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 +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +26 -8
- package/build/cjs/types/mutations/checkouts/checkouts.mutation.d.ts +1 -1
- package/build/cjs/types/mutations/checkouts/index.d.ts +0 -1
- package/build/cjs/types/queries/checkouts/checkouts.query.d.ts +1 -1
- package/build/cjs/types/queries/checkouts/styling/styling.query.d.ts +11 -4
- package/build/cjs/types/queries/reports/reports.query.d.ts +1 -1
- package/build/cjs/types/queries/users/users.query.d.ts +14 -1
- package/build/cjs/types/types/ai/ai.d.ts +50 -0
- package/build/cjs/types/types/checkout/styling/styling.d.ts +63 -8
- package/build/esm/index.js +4 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +26 -8
- package/build/esm/types/mutations/checkouts/checkouts.mutation.d.ts +1 -1
- package/build/esm/types/mutations/checkouts/index.d.ts +0 -1
- package/build/esm/types/queries/checkouts/checkouts.query.d.ts +1 -1
- package/build/esm/types/queries/checkouts/styling/styling.query.d.ts +11 -4
- package/build/esm/types/queries/reports/reports.query.d.ts +1 -1
- package/build/esm/types/queries/users/users.query.d.ts +14 -1
- package/build/esm/types/types/ai/ai.d.ts +50 -0
- package/build/esm/types/types/checkout/styling/styling.d.ts +63 -8
- package/build/index.d.ts +234 -94
- package/package.json +1 -1
- package/build/cjs/types/mutations/checkouts/styling/styling.mutation.d.ts +0 -2
- package/build/esm/types/mutations/checkouts/styling/styling.mutation.d.ts +0 -2
package/build/index.d.ts
CHANGED
|
@@ -3541,6 +3541,56 @@ declare namespace AI {
|
|
|
3541
3541
|
REFUSED = "REFUSED",
|
|
3542
3542
|
FRONT_FAILED = "FRONT_FAILED"
|
|
3543
3543
|
}
|
|
3544
|
+
type CommunicationItem = {
|
|
3545
|
+
communication_id: string;
|
|
3546
|
+
order_id: string;
|
|
3547
|
+
payment_id: string;
|
|
3548
|
+
status: string;
|
|
3549
|
+
destination_phone: string | null;
|
|
3550
|
+
duration: number;
|
|
3551
|
+
country: string;
|
|
3552
|
+
channel: string;
|
|
3553
|
+
messages: number;
|
|
3554
|
+
focus: string | null;
|
|
3555
|
+
created_at: string;
|
|
3556
|
+
};
|
|
3557
|
+
type CommunicationsListResponse = {
|
|
3558
|
+
total: number;
|
|
3559
|
+
skip: number;
|
|
3560
|
+
limit: number;
|
|
3561
|
+
data: CommunicationItem[];
|
|
3562
|
+
};
|
|
3563
|
+
type CommunicationsFiltersResponse = {
|
|
3564
|
+
countries: string[];
|
|
3565
|
+
status: string[];
|
|
3566
|
+
focus: string[];
|
|
3567
|
+
};
|
|
3568
|
+
type TranscriptionMessage = {
|
|
3569
|
+
id: string;
|
|
3570
|
+
role: string;
|
|
3571
|
+
content: string | null;
|
|
3572
|
+
created_at: string;
|
|
3573
|
+
provider_status: string;
|
|
3574
|
+
status: string;
|
|
3575
|
+
content_type: string | null;
|
|
3576
|
+
media_content_type: string | null;
|
|
3577
|
+
media_url: string | null;
|
|
3578
|
+
};
|
|
3579
|
+
type CommunicationDetailsResponse = {
|
|
3580
|
+
communication_id: string;
|
|
3581
|
+
order_id: string;
|
|
3582
|
+
payment_id: string;
|
|
3583
|
+
status: string;
|
|
3584
|
+
destination_phone: string | null;
|
|
3585
|
+
duration: number;
|
|
3586
|
+
country: string;
|
|
3587
|
+
channel: string;
|
|
3588
|
+
messages: number;
|
|
3589
|
+
focus: string | null;
|
|
3590
|
+
created_at: string;
|
|
3591
|
+
summary: string;
|
|
3592
|
+
transcription: TranscriptionMessage[];
|
|
3593
|
+
};
|
|
3544
3594
|
}
|
|
3545
3595
|
|
|
3546
3596
|
type DeleteMutation = UseMutationResult<AxiosResponse<Organization.AccountOrganization, unknown>, {
|
|
@@ -3673,92 +3723,13 @@ declare function useLoginMethods(): _tanstack_react_query.UseMutationResult<axio
|
|
|
3673
3723
|
|
|
3674
3724
|
declare function useUpdateIsActiveCheckout(options?: UseMutationOptions<AxiosResponse, unknown, Checkout.UpdateIsActiveCheckoutParams>): _tanstack_react_query.UseMutationResult<AxiosResponse<any, any>, unknown, Checkout.UpdateIsActiveCheckoutParams, unknown>;
|
|
3675
3725
|
/**
|
|
3676
|
-
* @deprecated since version 0.28.6. use
|
|
3726
|
+
* @deprecated since version 0.28.6. use useChangeStylingSettings instead
|
|
3677
3727
|
*/
|
|
3678
3728
|
declare function useUpdateCheckoutTemplate(): _tanstack_react_query.UseMutationResult<Checkout.CheckoutList, unknown, {
|
|
3679
3729
|
accountCode: string;
|
|
3680
3730
|
template: Record<string, string>;
|
|
3681
3731
|
}, unknown>;
|
|
3682
3732
|
|
|
3683
|
-
declare namespace Styling {
|
|
3684
|
-
type Mode = 'default';
|
|
3685
|
-
interface Spacing {
|
|
3686
|
-
top: number;
|
|
3687
|
-
right: number;
|
|
3688
|
-
bottom: number;
|
|
3689
|
-
left: number;
|
|
3690
|
-
}
|
|
3691
|
-
interface BorderRadius {
|
|
3692
|
-
top_left: number;
|
|
3693
|
-
top_right: number;
|
|
3694
|
-
bottom_right: number;
|
|
3695
|
-
bottom_left: number;
|
|
3696
|
-
}
|
|
3697
|
-
interface Decorator {
|
|
3698
|
-
hover: StyleProps;
|
|
3699
|
-
disabled: StyleProps;
|
|
3700
|
-
focused: StyleProps;
|
|
3701
|
-
error: StyleProps;
|
|
3702
|
-
}
|
|
3703
|
-
type StyleProps = {
|
|
3704
|
-
color: string;
|
|
3705
|
-
font_family: string;
|
|
3706
|
-
font_size: number;
|
|
3707
|
-
font_weight: string | number;
|
|
3708
|
-
line_height: number;
|
|
3709
|
-
padding: Spacing;
|
|
3710
|
-
margin: Spacing;
|
|
3711
|
-
background_color: string;
|
|
3712
|
-
border_radius: BorderRadius;
|
|
3713
|
-
decorator: Decorator;
|
|
3714
|
-
text_align: string;
|
|
3715
|
-
width: number;
|
|
3716
|
-
height: number;
|
|
3717
|
-
weight: number;
|
|
3718
|
-
border_color: string;
|
|
3719
|
-
border_style: string;
|
|
3720
|
-
border_width: number;
|
|
3721
|
-
};
|
|
3722
|
-
type Style = {
|
|
3723
|
-
props: StyleProps;
|
|
3724
|
-
ref: string;
|
|
3725
|
-
};
|
|
3726
|
-
type Variables = {
|
|
3727
|
-
color_primary: string;
|
|
3728
|
-
background_color: string;
|
|
3729
|
-
};
|
|
3730
|
-
interface Section {
|
|
3731
|
-
mode: Mode;
|
|
3732
|
-
variables?: Variables;
|
|
3733
|
-
styles: Style[];
|
|
3734
|
-
}
|
|
3735
|
-
interface Sections {
|
|
3736
|
-
general: Section;
|
|
3737
|
-
pm_list: Section;
|
|
3738
|
-
apm: Section;
|
|
3739
|
-
card_one_step: Section;
|
|
3740
|
-
card_step_by_step: Section;
|
|
3741
|
-
}
|
|
3742
|
-
export interface Theme {
|
|
3743
|
-
account_code: string;
|
|
3744
|
-
sections: Sections;
|
|
3745
|
-
}
|
|
3746
|
-
interface ThemeWithPartialSections {
|
|
3747
|
-
account_code: string;
|
|
3748
|
-
sections: Partial<Sections>;
|
|
3749
|
-
}
|
|
3750
|
-
export interface UpdateStylingThemeParams {
|
|
3751
|
-
accountCode: string;
|
|
3752
|
-
theme: ThemeWithPartialSections;
|
|
3753
|
-
}
|
|
3754
|
-
export interface Settings {
|
|
3755
|
-
sdk_dynamic: boolean;
|
|
3756
|
-
}
|
|
3757
|
-
export {};
|
|
3758
|
-
}
|
|
3759
|
-
|
|
3760
|
-
declare function useUpdateStylingTheme(): _tanstack_react_query.UseMutationResult<unknown, unknown, Styling.UpdateStylingThemeParams, unknown>;
|
|
3761
|
-
|
|
3762
3733
|
declare function useCreateOperationTransaction(): _tanstack_react_query.UseMutationResult<axios.AxiosResponse<OperationTransaction.Response, any>, unknown, {
|
|
3763
3734
|
payload: OperationTransaction.Request;
|
|
3764
3735
|
transactionId: string;
|
|
@@ -4246,7 +4217,7 @@ declare function useGetCheckouts({ accountCode }: {
|
|
|
4246
4217
|
accountCode: any;
|
|
4247
4218
|
}): UseQueryResult<Checkout.CheckoutList[], unknown>;
|
|
4248
4219
|
/**
|
|
4249
|
-
* @deprecated since version 0.28.6. use
|
|
4220
|
+
* @deprecated since version 0.28.6. use useGetStylingSettings instead
|
|
4250
4221
|
*/
|
|
4251
4222
|
declare function useGetCheckoutTemplate({ accountCode, }: {
|
|
4252
4223
|
accountCode: any;
|
|
@@ -4256,12 +4227,150 @@ declare const useGetNameAndIcon: ({ paymentMethodType, type }: Checkout.GetNameA
|
|
|
4256
4227
|
declare const getQueryKeyRequiredFields: ({ paymentMethodType, type, }: Checkout.GetRequiredFieldsArgs) => string[];
|
|
4257
4228
|
declare const useGetRequiredFields: ({ paymentMethodType, type }: Checkout.GetRequiredFieldsArgs, option?: UseQueryOptions<Checkout.GetRequiredFieldsResponse, unknown, Checkout.GetRequiredFieldsResponse>) => UseQueryResult<Checkout.GetRequiredFieldsResponse, unknown>;
|
|
4258
4229
|
|
|
4259
|
-
declare
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4230
|
+
declare namespace Styling {
|
|
4231
|
+
type Mode = 'default';
|
|
4232
|
+
interface Spacing {
|
|
4233
|
+
top: number;
|
|
4234
|
+
right: number;
|
|
4235
|
+
bottom: number;
|
|
4236
|
+
left: number;
|
|
4237
|
+
}
|
|
4238
|
+
interface BorderRadius {
|
|
4239
|
+
top_left: number;
|
|
4240
|
+
top_right: number;
|
|
4241
|
+
bottom_right: number;
|
|
4242
|
+
bottom_left: number;
|
|
4243
|
+
}
|
|
4244
|
+
interface Decorator {
|
|
4245
|
+
hover: StyleProps;
|
|
4246
|
+
disabled: StyleProps;
|
|
4247
|
+
focused: StyleProps;
|
|
4248
|
+
error: StyleProps;
|
|
4249
|
+
}
|
|
4250
|
+
type StyleProps = {
|
|
4251
|
+
color: string;
|
|
4252
|
+
font_family: string;
|
|
4253
|
+
font_size: number;
|
|
4254
|
+
font_weight: string | number;
|
|
4255
|
+
line_height: number;
|
|
4256
|
+
padding: Spacing;
|
|
4257
|
+
margin: Spacing;
|
|
4258
|
+
background_color: string;
|
|
4259
|
+
border_radius: BorderRadius;
|
|
4260
|
+
decorator: Decorator;
|
|
4261
|
+
text_align: string;
|
|
4262
|
+
width: number;
|
|
4263
|
+
height: number;
|
|
4264
|
+
weight: number;
|
|
4265
|
+
border_color: string;
|
|
4266
|
+
border_style: string;
|
|
4267
|
+
border_width: number;
|
|
4268
|
+
};
|
|
4269
|
+
type Style = {
|
|
4270
|
+
props: StyleProps;
|
|
4271
|
+
ref: string;
|
|
4272
|
+
};
|
|
4273
|
+
type Variables = {
|
|
4274
|
+
color_primary: string;
|
|
4275
|
+
background_color: string;
|
|
4276
|
+
};
|
|
4277
|
+
interface Section {
|
|
4278
|
+
mode: Mode;
|
|
4279
|
+
variables?: Variables;
|
|
4280
|
+
styles: Style[];
|
|
4281
|
+
}
|
|
4282
|
+
interface Sections {
|
|
4283
|
+
general: Section;
|
|
4284
|
+
pm_list: Section;
|
|
4285
|
+
apm: Section;
|
|
4286
|
+
card_one_step: Section;
|
|
4287
|
+
card_step_by_step: Section;
|
|
4288
|
+
}
|
|
4289
|
+
export interface Theme {
|
|
4290
|
+
account_code: string;
|
|
4291
|
+
sections: Sections;
|
|
4292
|
+
}
|
|
4293
|
+
export interface Settings {
|
|
4294
|
+
sdk_dynamic: boolean;
|
|
4295
|
+
}
|
|
4296
|
+
export {};
|
|
4297
|
+
}
|
|
4298
|
+
declare namespace StylingSettings {
|
|
4299
|
+
interface UpdateSettings {
|
|
4300
|
+
styles: {
|
|
4301
|
+
global?: {
|
|
4302
|
+
accent_color?: string;
|
|
4303
|
+
primary_background_color?: string;
|
|
4304
|
+
primary_text_color?: string;
|
|
4305
|
+
primary_button_text_color?: string;
|
|
4306
|
+
secondary_background_color?: string;
|
|
4307
|
+
secondary_text_color?: string;
|
|
4308
|
+
secondary_button_background_color?: string;
|
|
4309
|
+
secondary_button_text_color?: string;
|
|
4310
|
+
font_family?: string;
|
|
4311
|
+
};
|
|
4312
|
+
header?: {
|
|
4313
|
+
logo_border_size?: number;
|
|
4314
|
+
logo_border_color?: string;
|
|
4315
|
+
logo_corner_radius?: number;
|
|
4316
|
+
font_size?: number;
|
|
4317
|
+
font_weight?: number;
|
|
4318
|
+
};
|
|
4319
|
+
button?: {
|
|
4320
|
+
corner_radius?: number;
|
|
4321
|
+
border_size?: number;
|
|
4322
|
+
primary_border_color?: string;
|
|
4323
|
+
secondary_border_color?: string;
|
|
4324
|
+
font_size?: number;
|
|
4325
|
+
font_weight?: number;
|
|
4326
|
+
};
|
|
4327
|
+
};
|
|
4328
|
+
settings: {
|
|
4329
|
+
sdk_type?: {
|
|
4330
|
+
web?: 'SEAMLESS' | 'FULL';
|
|
4331
|
+
mobile?: 'SEAMLESS' | 'FULL';
|
|
4332
|
+
};
|
|
4333
|
+
card?: {
|
|
4334
|
+
save_on_success?: boolean;
|
|
4335
|
+
visualization_mode?: VisualizationMode;
|
|
4336
|
+
};
|
|
4337
|
+
web_sdk?: {
|
|
4338
|
+
hide_pay_button?: boolean;
|
|
4339
|
+
render_mode?: RenderMode;
|
|
4340
|
+
};
|
|
4341
|
+
};
|
|
4342
|
+
}
|
|
4343
|
+
interface UpdateSettingsResponse extends UpdateSettings {
|
|
4344
|
+
external_fonts: {
|
|
4345
|
+
family_name: string;
|
|
4346
|
+
files: {
|
|
4347
|
+
url: string;
|
|
4348
|
+
weight: number;
|
|
4349
|
+
}[];
|
|
4350
|
+
}[];
|
|
4351
|
+
}
|
|
4352
|
+
}
|
|
4353
|
+
declare enum RenderMode {
|
|
4354
|
+
MODAL = "MODAL",
|
|
4355
|
+
UNFOLDED = "UNFOLDED"
|
|
4356
|
+
}
|
|
4357
|
+
declare enum VisualizationMode {
|
|
4358
|
+
ONE_STEP = "ONE_STEP",
|
|
4359
|
+
STEP_BY_STEP = "STEP_BY_STEP"
|
|
4360
|
+
}
|
|
4361
|
+
|
|
4362
|
+
declare function useGetStylingSdkDynamic({ accountCode, }: {
|
|
4263
4363
|
accountCode: string;
|
|
4264
4364
|
}): _tanstack_react_query.UseQueryResult<Styling.Settings, unknown>;
|
|
4365
|
+
declare function useGetStylingSettings({ accountCode, environment, }: {
|
|
4366
|
+
accountCode: string;
|
|
4367
|
+
environment?: string;
|
|
4368
|
+
}): _tanstack_react_query.UseQueryResult<StylingSettings.UpdateSettingsResponse, unknown>;
|
|
4369
|
+
declare function useChangeStylingSettings(): _tanstack_react_query.UseMutationResult<StylingSettings.UpdateSettingsResponse, unknown, {
|
|
4370
|
+
accountCode: string;
|
|
4371
|
+
environment?: string | undefined;
|
|
4372
|
+
payload: StylingSettings.UpdateSettings;
|
|
4373
|
+
}, unknown>;
|
|
4265
4374
|
|
|
4266
4375
|
declare function useGetProfile(): UseQueryResult<User.UserResponsePayload, unknown>;
|
|
4267
4376
|
declare function useGetPermissions(organizationCode: any, accountCode: any): UseQueryResult<Accounts.PermissionsResponse[], unknown>;
|
|
@@ -4269,6 +4378,19 @@ declare function useEmailVerification(email: string): UseQueryResult<User.UserRe
|
|
|
4269
4378
|
declare function useGetLoginMethods(): UseQueryResult<unknown, unknown>;
|
|
4270
4379
|
declare function useGetImpersonationUsers(): UseQueryResult<User.ImpersonationUser[], AxiosError>;
|
|
4271
4380
|
declare function useGetImpersonationEnabled(): UseQueryResult<User.ImpersonationEnabledResponse, AxiosError>;
|
|
4381
|
+
declare function useCommunications(payload: {
|
|
4382
|
+
start_date: string;
|
|
4383
|
+
end_date: string;
|
|
4384
|
+
account_codes: string[];
|
|
4385
|
+
country: string[];
|
|
4386
|
+
status: string[];
|
|
4387
|
+
focus: string[];
|
|
4388
|
+
skip: number;
|
|
4389
|
+
limit: number;
|
|
4390
|
+
search_value: string;
|
|
4391
|
+
}): UseQueryResult<AI.CommunicationsListResponse, AxiosError>;
|
|
4392
|
+
declare function useCommunicationsFilters(): UseQueryResult<AI.CommunicationsFiltersResponse, AxiosError>;
|
|
4393
|
+
declare function useCommunicationDetails(communicationId: string, accountCode: string): UseQueryResult<AI.CommunicationDetailsResponse, AxiosError>;
|
|
4272
4394
|
|
|
4273
4395
|
declare function useGetNotificationsCustomer(customer: string): UseQueryResult<Notifications.NotificationsBodyResponse, unknown>;
|
|
4274
4396
|
declare function useGetValidateOpsgenieKey(key: string): UseQueryResult<{
|
|
@@ -4288,7 +4410,7 @@ declare function useGetDownloadReport(reportId: string, enabled: boolean | undef
|
|
|
4288
4410
|
code: string;
|
|
4289
4411
|
}, unknown>;
|
|
4290
4412
|
declare function useGetReportTemplates(enabled: boolean): UseQueryResult<Reports.ITemplate[], unknown>;
|
|
4291
|
-
declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<
|
|
4413
|
+
declare function useGetReportColumns(enabled: boolean, templateType: TemplateType, reportType: ReportType): UseQueryResult<CentralizedColumn[], unknown>;
|
|
4292
4414
|
declare function useGetRefundPdf(transactionCode: string, accountCode: string): UseQueryResult<RefundPdfResponse, AxiosError>;
|
|
4293
4415
|
|
|
4294
4416
|
declare function useGetTeamsFiltersMembers(): UseQueryResult<Team.TeamList[], unknown>;
|
|
@@ -4697,7 +4819,7 @@ declare class Api extends HttpClient {
|
|
|
4697
4819
|
accountCode: any;
|
|
4698
4820
|
}): Promise<AxiosResponse<Checkout.CheckoutList[]>>;
|
|
4699
4821
|
/**
|
|
4700
|
-
* @deprecated since v0.28.6. Use
|
|
4822
|
+
* @deprecated since v0.28.6. Use getStylingSettings instead
|
|
4701
4823
|
*/
|
|
4702
4824
|
getCheckoutTemplate<T>({ accountCode }: {
|
|
4703
4825
|
accountCode: any;
|
|
@@ -4705,20 +4827,25 @@ declare class Api extends HttpClient {
|
|
|
4705
4827
|
getNameAndIcon({ paymentMethodType, type, }: Checkout.GetNameAndIconArgs): Promise<AxiosResponse<Checkout.GetNameAndIconResponse>>;
|
|
4706
4828
|
getRequiredFields({ paymentMethodType, type, }: Checkout.GetRequiredFieldsArgs): Promise<AxiosResponse<Checkout.GetRequiredFieldsResponse>>;
|
|
4707
4829
|
/**
|
|
4708
|
-
* @deprecated since v0.28.6. Use
|
|
4830
|
+
* @deprecated since v0.28.6. Use changeStylingSettings instead
|
|
4709
4831
|
*/
|
|
4710
4832
|
updateCheckoutTemplate<T>({ accountCode, template, }: {
|
|
4711
4833
|
accountCode: any;
|
|
4712
4834
|
template: any;
|
|
4713
4835
|
}): Promise<AxiosResponse<T>>;
|
|
4714
4836
|
updateIsActiveCheckout(args: Checkout.UpdateIsActiveCheckoutParams): Promise<AxiosResponse>;
|
|
4715
|
-
|
|
4716
|
-
accountCode: string;
|
|
4717
|
-
}): Promise<AxiosResponse<Styling.Theme, any>>;
|
|
4718
|
-
updateStylingTheme({ accountCode, theme, }: Styling.UpdateStylingThemeParams): Promise<AxiosResponse<unknown, any>>;
|
|
4719
|
-
getStylingSettings({ accountCode }: {
|
|
4837
|
+
getStylingSdkDynamic({ accountCode }: {
|
|
4720
4838
|
accountCode: any;
|
|
4721
4839
|
}): Promise<AxiosResponse<Styling.Settings, any>>;
|
|
4840
|
+
getStylingSettings({ accountCode, environment, }: {
|
|
4841
|
+
accountCode: string;
|
|
4842
|
+
environment?: string;
|
|
4843
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
4844
|
+
changeStylingSettings({ accountCode, environment, payload, }: {
|
|
4845
|
+
accountCode: string;
|
|
4846
|
+
environment?: string;
|
|
4847
|
+
payload: StylingSettings.UpdateSettings;
|
|
4848
|
+
}): Promise<AxiosResponse<StylingSettings.UpdateSettingsResponse, any>>;
|
|
4722
4849
|
emailVerification<T>(email: any): Promise<AxiosResponse<T, any>>;
|
|
4723
4850
|
createReconciliationsReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
4724
4851
|
createReportV2<T>(payload: any): Promise<AxiosResponse<T>>;
|
|
@@ -4973,6 +5100,19 @@ declare class Api extends HttpClient {
|
|
|
4973
5100
|
getChartsByUser<T>(): Promise<AxiosResponse<T, any>>;
|
|
4974
5101
|
getLanguages<T>(): Promise<AxiosResponse<T, any>>;
|
|
4975
5102
|
getTranslations<T>(): Promise<AxiosResponse<T, any>>;
|
|
5103
|
+
getCommunications<T>(payload: {
|
|
5104
|
+
start_date: string;
|
|
5105
|
+
end_date: string;
|
|
5106
|
+
account_codes: string[];
|
|
5107
|
+
country: string[];
|
|
5108
|
+
status: string[];
|
|
5109
|
+
focus: string[];
|
|
5110
|
+
skip: number;
|
|
5111
|
+
limit: number;
|
|
5112
|
+
search_value: string;
|
|
5113
|
+
}): Promise<AxiosResponse<T, any>>;
|
|
5114
|
+
getCommunicationsFilters<T>(): Promise<AxiosResponse<T, any>>;
|
|
5115
|
+
getCommunicationDetails<T>(communicationId: string, accountCode: string): Promise<AxiosResponse<T, any>>;
|
|
4976
5116
|
}
|
|
4977
5117
|
|
|
4978
5118
|
declare class ApiSingleton extends Api {
|
|
@@ -4996,5 +5136,5 @@ declare enum ApiErrorCodes {
|
|
|
4996
5136
|
ERR_BAD_REQUEST = "ERR_BAD_REQUEST"
|
|
4997
5137
|
}
|
|
4998
5138
|
|
|
4999
|
-
export { AI, Accounts, Api, ApiErrorCodes, ApiProvider, ApiSingleton, Audit, BatchRefunds, Checkout, Cms, Connection, Country, DataReport, Developer, FraudScreening, MFA, Notifications, OperationTransaction, Organization, OrganizationSettings, Payment, PaymentFiltersSection, PaymentLinks, Payouts, Reconciliation, ReconciliationAdvancements, ReconciliationAgenda, ReconciliationAgendaInsight, ReconciliationAlerts, ReconciliationFees, ReconciliationReportType, ReconciliationSales, ReportType, Reports, RoutingMonitors, S3Client, SamlConfig, SendPaymentNotification, SmartRouting, Team, TemplateType, Translation, User, VelocityRules, Webhook, getQueryKeyGetNameAndIcon, getQueryKeyRequiredFields, queryCache, queryClient, use3DSExemptions, useAICreateWorkflow, useAllFeatureFlags, useAllowListDetail, useBlackListDetail, useCachedFeatureFlag, useCancelReport, useChangePasswordV2, useChangePaymentsWebhook, useChangeStatusBlackList, useChangeStatusItemBlackList, useChargebacksUpload, useChartExecute, useConfirmedOtpMfa, useCountRowsForReport, useCreateAndExecuteChart, useCreateChart, useCreateMonitorTemplate, useCreateMonitorThreshold, useCreateOperationTransaction, useCreatePaymentLinks, useCreateReconciliationAlert, useCreateReconciliationReportTemplate, useCreateReconciliationsReportV2, useCreateReportTemplate, useCreateReportV2, useCreateRoles, useCreateSamlConfig, useCreateScheduledReport, useCreateUserAuth0, useCreateWorkflow, useDeleteAccountsUserMassive, useDeleteAllowlistItem, useDeleteBlackListType, useDeleteBlockListItem, useDeleteChart, useDeleteCustomizedApiKeys, useDeletePaymentLink, useDeleteReconciliationAlert, useDeleteRoles, useDeleteSamlConfig, useDeleteScheduledReport, useDeleteUserTeamV2, useDeleteVersion, useDeleteWebhookV2, useDuplicateVersion, useEditPaymentLinks, useEditRoles, useEmailVerification, useExcludeUsers, useFeatureFlags, useFirebaseUserSubscribe, useGenerateFeedback, useGetAccounts, useGetAccountsByUser, useGetAccountsV2, useGetAllConfigRules, useGetAllOrganizations, useGetAllReconciliationsAdvancements, useGetAllReconciliationsAgenda, useGetAllReconciliationsAlerts, useGetAllReconciliationsFees, useGetAllReconciliationsSales, useGetAllTableColumns, useGetAllowedIps, useGetAuditEvents, useGetAuditLogsFilters, useGetAuditMonitorEventDetail, useGetBatchRefundProcessedFileDownload, useGetBatchRefundUserFileDownload, useGetBatchRefunds, useGetBlackList, useGetBlockListSummary, useGetCardBrands, useGetChartsByUser, useGetChartsByUserWithResults, useGetCheckoutTemplate, useGetCheckouts, useGetConditionalConfigRules, useGetConfigAllowlist, useGetConnections, useGetConnectionsByPaymentMethod, useGetCountriesConfigPaymentLink, useGetCountriesConfigPaymentLinkV2, useGetCredentials, useGetCredentialsMFA, useGetCustomizedApiKeys, useGetCustomizedApiKeysAccounts, useGetCustomizedApiKeysMembers, useGetCustomizedApiKeysProducts, useGetCustomizedApiKeysToken, useGetDashboardStaticContents, useGetDialogs, useGetDownloadReport, useGetEmailOtp, useGetHashPylon, useGetImpersonationEnabled, useGetImpersonationUsers, useGetInsightsReport, useGetInsightsReportAgain, useGetIntegrationByAccountV2, useGetIntegrationParams, useGetLanguages, useGetLocales, useGetLoginMethods, useGetMFAConfig, useGetMFAExcludedUsers, useGetMFAStatus, useGetMenu, useGetMergedNotifications, useGetNameAndIcon, useGetNotificationsCustomer, useGetNotificationsNumberMutation, useGetOrganization, useGetPaymentFilters, useGetPaymentLinkByCode, useGetPaymentLinks, useGetPaymentMethodsAndProviders, useGetPaymentMetricsFilters, useGetPaymentStatusesStyles, useGetPaymentTransactionsDetails, useGetPaymentV2, useGetPaymentsMethodsByCountry, useGetPayoutDetail, useGetPayoutHistoryDetail, useGetPayoutTransactionDetail, useGetPermissions, useGetPermissionsCatalog, useGetProfile, useGetProofOfCancel, useGetProofOfPayment, useGetProviderParams, useGetReconciliationActive, useGetReconciliationAgendaInsightsByKey, useGetReconciliationFilters, useGetReconciliationMetrics, useGetReconciliationTransactionStatusesStyles, useGetReconciliationTransactions, useGetReconciliationsReportColumns, useGetReconciliationsReportTemplates, useGetRefundPdf, useGetReportColumns, useGetReportTemplates, useGetReportsList, useGetReportsListMultiEnv, useGetRequiredFields, useGetRoles, useGetRolesPermissions, useGetRoutingMonitorsTemplate, useGetRoutingMonitorsTemplates, useGetRule, useGetSamlConfig, useGetScheduledReportsList, useGetSettlements, useGetSmartRoutingConditionPaymentMethod, useGetSmartRoutingConditionTypes, useGetSmartRoutingConditionTypesValues, useGetSmartRoutingDataReport, useGetSmartRoutingDeclineGroups, useGetSmartRoutingMethods, useGetSmartRoutingNextRoute, useGetSmartRoutingPaymentRoute, useGetSmartRoutingSearchConditionValues, useGetSmartRoutingSimulateConditionTypeValues, useGetSmartRoutingWorkflow, useGetSmartRoutingWorkflowVersion,
|
|
5139
|
+
export { AI, Accounts, Api, ApiErrorCodes, ApiProvider, ApiSingleton, Audit, BatchRefunds, Checkout, Cms, Connection, Country, DataReport, Developer, FraudScreening, MFA, Notifications, OperationTransaction, Organization, OrganizationSettings, Payment, PaymentFiltersSection, PaymentLinks, Payouts, Reconciliation, ReconciliationAdvancements, ReconciliationAgenda, ReconciliationAgendaInsight, ReconciliationAlerts, ReconciliationFees, ReconciliationReportType, ReconciliationSales, ReportType, Reports, RoutingMonitors, S3Client, SamlConfig, SendPaymentNotification, SmartRouting, Team, TemplateType, Translation, User, VelocityRules, Webhook, getQueryKeyGetNameAndIcon, getQueryKeyRequiredFields, queryCache, queryClient, use3DSExemptions, useAICreateWorkflow, useAllFeatureFlags, useAllowListDetail, useBlackListDetail, useCachedFeatureFlag, useCancelReport, useChangePasswordV2, useChangePaymentsWebhook, useChangeStatusBlackList, useChangeStatusItemBlackList, useChangeStylingSettings, useChargebacksUpload, useChartExecute, useCommunicationDetails, useCommunications, useCommunicationsFilters, useConfirmedOtpMfa, useCountRowsForReport, useCreateAndExecuteChart, useCreateChart, useCreateMonitorTemplate, useCreateMonitorThreshold, useCreateOperationTransaction, useCreatePaymentLinks, useCreateReconciliationAlert, useCreateReconciliationReportTemplate, useCreateReconciliationsReportV2, useCreateReportTemplate, useCreateReportV2, useCreateRoles, useCreateSamlConfig, useCreateScheduledReport, useCreateUserAuth0, useCreateWorkflow, useDeleteAccountsUserMassive, useDeleteAllowlistItem, useDeleteBlackListType, useDeleteBlockListItem, useDeleteChart, useDeleteCustomizedApiKeys, useDeletePaymentLink, useDeleteReconciliationAlert, useDeleteRoles, useDeleteSamlConfig, useDeleteScheduledReport, useDeleteUserTeamV2, useDeleteVersion, useDeleteWebhookV2, useDuplicateVersion, useEditPaymentLinks, useEditRoles, useEmailVerification, useExcludeUsers, useFeatureFlags, useFirebaseUserSubscribe, useGenerateFeedback, useGetAccounts, useGetAccountsByUser, useGetAccountsV2, useGetAllConfigRules, useGetAllOrganizations, useGetAllReconciliationsAdvancements, useGetAllReconciliationsAgenda, useGetAllReconciliationsAlerts, useGetAllReconciliationsFees, useGetAllReconciliationsSales, useGetAllTableColumns, useGetAllowedIps, useGetAuditEvents, useGetAuditLogsFilters, useGetAuditMonitorEventDetail, useGetBatchRefundProcessedFileDownload, useGetBatchRefundUserFileDownload, useGetBatchRefunds, useGetBlackList, useGetBlockListSummary, useGetCardBrands, useGetChartsByUser, useGetChartsByUserWithResults, useGetCheckoutTemplate, useGetCheckouts, useGetConditionalConfigRules, useGetConfigAllowlist, useGetConnections, useGetConnectionsByPaymentMethod, useGetCountriesConfigPaymentLink, useGetCountriesConfigPaymentLinkV2, useGetCredentials, useGetCredentialsMFA, useGetCustomizedApiKeys, useGetCustomizedApiKeysAccounts, useGetCustomizedApiKeysMembers, useGetCustomizedApiKeysProducts, useGetCustomizedApiKeysToken, useGetDashboardStaticContents, useGetDialogs, useGetDownloadReport, useGetEmailOtp, useGetHashPylon, useGetImpersonationEnabled, useGetImpersonationUsers, useGetInsightsReport, useGetInsightsReportAgain, useGetIntegrationByAccountV2, useGetIntegrationParams, useGetLanguages, useGetLocales, useGetLoginMethods, useGetMFAConfig, useGetMFAExcludedUsers, useGetMFAStatus, useGetMenu, useGetMergedNotifications, useGetNameAndIcon, useGetNotificationsCustomer, useGetNotificationsNumberMutation, useGetOrganization, useGetPaymentFilters, useGetPaymentLinkByCode, useGetPaymentLinks, useGetPaymentMethodsAndProviders, useGetPaymentMetricsFilters, useGetPaymentStatusesStyles, useGetPaymentTransactionsDetails, useGetPaymentV2, useGetPaymentsMethodsByCountry, useGetPayoutDetail, useGetPayoutHistoryDetail, useGetPayoutTransactionDetail, useGetPermissions, useGetPermissionsCatalog, useGetProfile, useGetProofOfCancel, useGetProofOfPayment, useGetProviderParams, useGetReconciliationActive, useGetReconciliationAgendaInsightsByKey, useGetReconciliationFilters, useGetReconciliationMetrics, useGetReconciliationTransactionStatusesStyles, useGetReconciliationTransactions, useGetReconciliationsReportColumns, useGetReconciliationsReportTemplates, useGetRefundPdf, useGetReportColumns, useGetReportTemplates, useGetReportsList, useGetReportsListMultiEnv, useGetRequiredFields, useGetRoles, useGetRolesPermissions, useGetRoutingMonitorsTemplate, useGetRoutingMonitorsTemplates, useGetRule, useGetSamlConfig, useGetScheduledReportsList, useGetSettlements, useGetSmartRoutingConditionPaymentMethod, useGetSmartRoutingConditionTypes, useGetSmartRoutingConditionTypesValues, useGetSmartRoutingDataReport, useGetSmartRoutingDeclineGroups, useGetSmartRoutingMethods, useGetSmartRoutingNextRoute, useGetSmartRoutingPaymentRoute, useGetSmartRoutingSearchConditionValues, useGetSmartRoutingSimulateConditionTypeValues, useGetSmartRoutingWorkflow, useGetSmartRoutingWorkflowVersion, useGetStylingSdkDynamic, useGetStylingSettings, useGetTeamsFiltersMembers, useGetTimeZoneCatalog, useGetTimezonePaymentLink, useGetTokenValidation, useGetTransactionDetailsV2, useGetTransactionHistoryByPaymentCode, useGetTransactionRawResponse, useGetTransactionStatusesStyles, useGetTranslations, useGetValidateOpsgenieKey, useGetWebhookParamsV2, useGetWebhooksV2Detail, useGetWebhooksV3, useInsights3dsConversionRateAndEvolution, useInsights3dsDeclineReasons, useInsights3dsFrictionlessVsChallenge, useInsights3dsVolumeAndCountTx, useInsightsChargebacksByCardBrand, useInsightsChargebacksByProviderAndCardBrand, useInsightsChargebacksDisputed, useInsightsChargebacksReasonsDistribution, useInsightsChargebacksStatusDistribution, useInsightsChargebacksVolumeAndCountTx, useInsightsChargebacksWinRate, useInsightsConversionRateMetricsV2, useInsightsCustomerPaymentsAndFraudMetrics, useInsightsFallbackMetrics, useInsightsFraudScreeningConversionRate, useInsightsFraudScreeningVolumeAndCountTx, useInsightsHomeMetrics, useInsightsOverviewMetrics, useInsightsOverviewMetricsV3, useInsightsTotalPaymentsAndFraudMetrics, useInsightsVolumeMetrics, useInsightsVolumeMetricsV2, useInviteUsersMultiaccountMassive, useIsTesting, useLoginMethods, useNewPostConnectionValidate, usePatchAccountV2, usePatchAddAllowlistItems, usePatchAllowedIps, usePatchAllowlist, usePatchAndExecuteChart, usePatchApiKeysEditNote, usePatchChangeStatusAllowlist, usePatchChangeStatusAllowlistItem, usePatchChartName, usePatchConnection, usePathCreateCustomizedApiKeys, usePathNotifications, usePayoutsFilters, usePayoutsList, usePostAccount, usePostAllowlistMultiAccount, usePostApiKeysRoll, usePostAuditMonitors, usePostBatchRefundByFile, usePostBlackListBatch, usePostBlackListItems, usePostBlackListMultiAccount, usePostBlockList, usePostCall, usePostChangeStatusConnection, usePostConnectionMultiAccount, usePostCreateAllowlistMultiAccount, usePostCreateCustomizedApiKeys, usePostCreateInsightsReport, usePostCreateRuleMultiAccount, usePostCredentialsValidatePassword, usePostDefaultRoutes, usePostEditRule, usePostFraudTransactions, usePostGetAllowlistItems, usePostGetAllowlistMultiAccount, usePostMembersPaginatedV2, usePostPaymentsEvaluated, usePostPaymentsLazy, usePostSlackMessageChannel, usePostTransactions, usePostUserSettings, usePostUserSettingsPinned, usePostUserSettingsTables, usePostUserThemeSettings, usePostValideStatusConnection, usePostVelocityRules, usePostWebhookMultiAccount, useProviderConversionRatesData, usePublishVersion, usePutAccountPrincipal, usePutAccountsUserMassive, usePutBlackListType, usePutCosts, useSaveVersion, useSendPaymentNotification, useSetCustodian, useSmartRoutingCreateDeclinedGroup, useSmartRoutingEditWorkflowName, useSmartRoutingMultiAccountDeclinedGroupCreate, useSmartRoutingRemoveDeclinedGroup, useSmartRoutingSimulateTransaction, useSmartRoutingToggleFavorite, useSmartRoutingUpdateDeclinedGroup, useSmartRoutingUpdateMonitorRedistribution, useToggleMethod, useUnInviteUsersV2, useUnrollUserV2, useUpdateCheckoutTemplate, useUpdateIsActiveCheckout, useUpdateMFAConfig, useUpdateOrganizationStatus, useUpdateProfile, useUpdateReconciliationAlert, useUpdateReconciliationReportTemplate, useUpdateReportTemplate, useUpdateSamlConfig, useUpdateScheduledReport, useUpdateWebhookV2, useUploadBatchRefundsFileV2, useUploadBatchRefundsV2, useUploadFileS3ClientBatchRefunds, useValiateAllowlistItems, useValidateBlockListItems, useValidateCredentials, useValidateOrgName, useValidatePasswordStatus, useViewMoreMetrics };
|
|
5000
5140
|
export type { AccountRoles, AllowlistMultiAccount, BFFErrorResponse, Blacklist, CentralizedColumn, ChangePaymentsWebhook, ChargebacksCount, ChargebacksVolume, ChartGPTChart, ChartGPTChartWithResults, ChartGPTExecuteResponse, ChartGPTResult, Condition, ConversionRateBody, ConversionRateOverview, ConversionRateOverviewFraud3ds, ConversionRateParams, ConversionRatePeriodicityRecord, Cost, CostPayload, Countries, CreateAndExecuteChartPayload, CreateAndExecuteChartResult, CreateChartGPTChartPayload, CreateChartGPTChartResponse, ErrorChartGPTResponse, ErrorProp, ErrorRoutingAIResponse, ErrorRoutingAIResponseData, FeatureFlagsResult, FirebaseUserSubscribe, Fraud3dsCount, Fraud3dsVolume, FraudScreeningCount, FraudScreeningVolume, GetApiLogsParams, GetPaymentMethodsByProviderParams, GetPaymentParams, GetPaymentTransactionsParams, GetPaymentsEvaluatedParams, GetPaymentsParams, GetPayoutDetail, GetPayoutTransactionDetail, GetReconciliationMetricParams, GetTransactionDetailsParams, GetTransactionDetailsV2Params, GetTransactionsParams, IChangePassword, ICreateReportsRequest, IKeyRoll, IListScheduledReportsResponse, InsightMetricParams, Insights3dsConversionRate, Insights3dsDeclineReasons, Insights3dsFrictionlessVsChallenge, Insights3dsResumeResponse, InsightsChargebacksByCardBrand, InsightsChargebacksByProviderAndCardBrand, InsightsChargebacksByReason, InsightsChargebacksDisputed, InsightsChargebacksResumeResponse, InsightsChargebacksStatusDistribution, InsightsChargebacksWinRate, InsightsFraudBody, InsightsFraudConversionRateResponse, InsightsFraudParams, InsightsFraudScreeningResumeResponse, MfaUserPayload, MfaUserSubscribe, PatchAndExecuteChartResult, PatchChartGPTChartPayload, PatchChartGPTPayload, PathNotification, PaymentMethodStyled, PaymentsSettings, PeriodicityRecord, PinnedSections, PostBlackList, ProviderStyled, ReconAgendaProps, RefundPdfResponse, ThemeSettings, TimeZoneCatalog, TotalTimeline, TransactionHistory, UseGetAllReconciliationsAdvancementsProps, UseGetAllReconciliationsAlertsProps, UseGetAllReconciliationsFeesProps, UseGetAllReconciliationsSalesProps, UserInviteMultiaccountPayload };
|
package/package.json
CHANGED