@yuno-payments/dashboard-api-mfe 0.41.5 → 0.42.3-subscriptions-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.js +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +16 -2
- package/build/cjs/types/api/api.test.d.ts +1 -0
- package/build/cjs/types/mutations/developers/developers.mutation.d.ts +2 -0
- package/build/cjs/types/mutations/developers/index.d.ts +1 -0
- package/build/cjs/types/mutations/developers/types.d.ts +5 -0
- package/build/cjs/types/mutations/index.d.ts +1 -1
- package/build/cjs/types/mutations/subscriptions/index.d.ts +1 -0
- package/build/cjs/types/mutations/subscriptions/subscriptions.mutation.d.ts +18 -0
- package/build/cjs/types/queries/index.d.ts +1 -1
- package/build/cjs/types/queries/subscriptions/index.d.ts +1 -0
- package/build/cjs/types/queries/subscriptions/subscriptions.query.d.ts +3 -0
- package/build/cjs/types/queries/team/team.query.d.ts +6 -2
- package/build/esm/index.js +6 -6
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +16 -2
- package/build/esm/types/api/api.test.d.ts +1 -0
- package/build/esm/types/mutations/developers/developers.mutation.d.ts +2 -0
- package/build/esm/types/mutations/developers/index.d.ts +1 -0
- package/build/esm/types/mutations/developers/types.d.ts +5 -0
- package/build/esm/types/mutations/index.d.ts +1 -1
- package/build/esm/types/mutations/subscriptions/index.d.ts +1 -0
- package/build/esm/types/mutations/subscriptions/subscriptions.mutation.d.ts +18 -0
- package/build/esm/types/queries/index.d.ts +1 -1
- package/build/esm/types/queries/subscriptions/index.d.ts +1 -0
- package/build/esm/types/queries/subscriptions/subscriptions.query.d.ts +3 -0
- package/build/esm/types/queries/team/team.query.d.ts +6 -2
- package/build/index.d.ts +53 -11
- package/package.json +1 -1
|
@@ -65,6 +65,7 @@ export declare class Api extends HttpClient {
|
|
|
65
65
|
}): Promise<AxiosResponse<T, any>>;
|
|
66
66
|
getDeveloperCredentials<T>(password: any, accountCode: any): Promise<AxiosResponse<T, any>>;
|
|
67
67
|
getDeveloperCredentialsValidatePassword<T>(password: any): Promise<AxiosResponse<T, any>>;
|
|
68
|
+
getDeveloperCredentialsValidatePasswordRegularUser<T>(password: any): Promise<AxiosResponse<T, any>>;
|
|
68
69
|
getAllowedIps<T>(): Promise<AxiosResponse<T, any>>;
|
|
69
70
|
patchAllowedIps<T>(request: AllowedList.Request): Promise<AxiosResponse<T, any>>;
|
|
70
71
|
getOrganization<T>(): Promise<AxiosResponse<T, any>>;
|
|
@@ -338,10 +339,14 @@ export declare class Api extends HttpClient {
|
|
|
338
339
|
teamsFiltersMembers<T>({ organizationCode, }: {
|
|
339
340
|
organizationCode: any;
|
|
340
341
|
}): Promise<AxiosResponse<T, any>>;
|
|
341
|
-
postMembersPaginatedV2<T>({ organizationCode, accountCodes,
|
|
342
|
+
postMembersPaginatedV2<T>({ organizationCode, accountCodes, search, status, roleId, statuses, roleIds, page, pageSize, }: {
|
|
342
343
|
organizationCode: any;
|
|
343
344
|
accountCodes: any;
|
|
344
|
-
|
|
345
|
+
search: any;
|
|
346
|
+
status: any;
|
|
347
|
+
roleId: any;
|
|
348
|
+
statuses: any;
|
|
349
|
+
roleIds: any;
|
|
345
350
|
page: any;
|
|
346
351
|
pageSize: any;
|
|
347
352
|
}): Promise<AxiosResponse<T, any>>;
|
|
@@ -385,6 +390,15 @@ export declare class Api extends HttpClient {
|
|
|
385
390
|
postDeletePaymentLink<T>({ code }: {
|
|
386
391
|
code: any;
|
|
387
392
|
}): Promise<AxiosResponse<T, any>>;
|
|
393
|
+
postSubscription<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
394
|
+
getSubscriptionByCode<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
395
|
+
postPauseSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
396
|
+
postResumeSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
397
|
+
postCancelSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
398
|
+
patchSubscription<T>(subscriptionCode: string, payload: any): Promise<AxiosResponse<T, any>>;
|
|
399
|
+
postRescheduleSubscription<T>(subscriptionCode: string): Promise<AxiosResponse<T, any>>;
|
|
400
|
+
getSubscriptionPayments<T>(subscriptionCode: string, page?: number, size?: number): Promise<AxiosResponse<T, any>>;
|
|
401
|
+
postListSubscriptions<T>(payload: any): Promise<AxiosResponse<T, any>>;
|
|
388
402
|
getTimezone<T>(organizationCode: string): Promise<AxiosResponse<T, any>>;
|
|
389
403
|
getInstallmentPlans(accountCode: string): Promise<AxiosResponse<GetInstallmentPlansResponse>>;
|
|
390
404
|
firebaseUserSubscribe<T>(payload: FirebaseUserSubscribe): Promise<AxiosResponse<T>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { UseMutationResult } from '@tanstack/react-query';
|
|
2
|
+
import { ResponseValidatePasswordRegularUser } from './types';
|
|
2
3
|
export declare function usePostCreateCustomizedApiKeys(): UseMutationResult<unknown>;
|
|
3
4
|
export declare function usePathCreateCustomizedApiKeys(): UseMutationResult<unknown>;
|
|
4
5
|
export declare function useGetCustomizedApiKeysToken(): UseMutationResult<unknown>;
|
|
5
6
|
export declare function usePostCredentialsValidatePassword(): UseMutationResult<unknown>;
|
|
7
|
+
export declare function usePostCredentialsValidatePasswordRegularUser(): UseMutationResult<ResponseValidatePasswordRegularUser>;
|
|
6
8
|
export declare function useDeleteCustomizedApiKeys(): UseMutationResult<unknown>;
|
|
7
9
|
export declare function usePatchApiKeysEditNote(): UseMutationResult<unknown>;
|
|
8
10
|
export declare function usePostApiKeysRoll(): UseMutationResult<unknown>;
|
|
@@ -11,6 +11,7 @@ export * from './routing-monitors';
|
|
|
11
11
|
export * from './notifications';
|
|
12
12
|
export * from './team';
|
|
13
13
|
export * from './payment-links';
|
|
14
|
+
export * from './subscriptions';
|
|
14
15
|
export * from './settings';
|
|
15
16
|
export * from './multi-factor-authentication';
|
|
16
17
|
export * from './fraud-screening';
|
|
@@ -28,4 +29,3 @@ export * from './saml-config';
|
|
|
28
29
|
export * from './ai';
|
|
29
30
|
export * from './chartgpt';
|
|
30
31
|
export * from './template-reporting';
|
|
31
|
-
export * from './organization-config';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './subscriptions.mutation';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare function useCreateSubscription(): import("@tanstack/react-query").UseMutationResult<any, unknown, any, unknown>;
|
|
2
|
+
export declare function usePauseSubscription(): import("@tanstack/react-query").UseMutationResult<any, unknown, {
|
|
3
|
+
subscriptionCode: string;
|
|
4
|
+
}, unknown>;
|
|
5
|
+
export declare function useResumeSubscription(): import("@tanstack/react-query").UseMutationResult<any, unknown, {
|
|
6
|
+
subscriptionCode: string;
|
|
7
|
+
}, unknown>;
|
|
8
|
+
export declare function useCancelSubscription(): import("@tanstack/react-query").UseMutationResult<any, unknown, {
|
|
9
|
+
subscriptionCode: string;
|
|
10
|
+
}, unknown>;
|
|
11
|
+
export declare function useUpdateSubscription(): import("@tanstack/react-query").UseMutationResult<any, unknown, {
|
|
12
|
+
subscriptionCode: string;
|
|
13
|
+
payload: any;
|
|
14
|
+
}, unknown>;
|
|
15
|
+
export declare function useRescheduleSubscription(): import("@tanstack/react-query").UseMutationResult<any, unknown, {
|
|
16
|
+
subscriptionCode: string;
|
|
17
|
+
}, unknown>;
|
|
18
|
+
export declare function useListSubscriptions(): import("@tanstack/react-query").UseMutationResult<any, unknown, any, unknown>;
|
|
@@ -17,6 +17,7 @@ export * from './reconciliations';
|
|
|
17
17
|
export * from './feature-flags';
|
|
18
18
|
export * from './audit';
|
|
19
19
|
export * from './payment-links';
|
|
20
|
+
export * from './subscriptions';
|
|
20
21
|
export * from './firebase';
|
|
21
22
|
export * from './fraud-screening';
|
|
22
23
|
export * from './batch-refunds';
|
|
@@ -29,4 +30,3 @@ export * from './network-tokens';
|
|
|
29
30
|
export * from './smart-recovery';
|
|
30
31
|
export * from './network-tokens';
|
|
31
32
|
export * from './template-reporting';
|
|
32
|
-
export * from './organization-config';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './subscriptions.query';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { UseQueryResult } from '@tanstack/react-query';
|
|
2
|
+
export declare function useGetSubscriptionByCode(subscriptionCode: string, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
3
|
+
export declare function useGetSubscriptionPayments(subscriptionCode: string, page?: number, size?: number, enabled?: boolean): UseQueryResult<any, unknown>;
|
|
@@ -2,10 +2,14 @@ import { UseQueryResult } from '@tanstack/react-query';
|
|
|
2
2
|
import { AxiosError } from 'axios';
|
|
3
3
|
import { Team } from '../../types';
|
|
4
4
|
export declare function useGetTeamsFiltersMembers(): UseQueryResult<Team.TeamList[], unknown>;
|
|
5
|
-
export declare function usePostMembersPaginatedV2({ organizationCode, accountCodes,
|
|
5
|
+
export declare function usePostMembersPaginatedV2({ organizationCode, accountCodes, search, status, roleId, statuses, roleIds, page, pageSize, }: {
|
|
6
6
|
organizationCode: any;
|
|
7
7
|
accountCodes: any;
|
|
8
|
-
|
|
8
|
+
search: any;
|
|
9
|
+
status: any;
|
|
10
|
+
roleId: any;
|
|
11
|
+
statuses: any;
|
|
12
|
+
roleIds: any;
|
|
9
13
|
page: any;
|
|
10
14
|
pageSize: any;
|
|
11
15
|
}): UseQueryResult<Team.TeamResponse, unknown>;
|