@yuno-payments/dashboard-api-mfe 1.4.1 → 1.4.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 +39 -205
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/types/api/api.d.ts +2 -2
- package/build/cjs/types/mutations/smart-routing/smart-routing.mutation.d.ts +4 -3
- package/build/cjs/types/types/installments/installments.d.ts +1 -1
- package/build/esm/index.js +39 -205
- package/build/esm/index.js.map +1 -1
- package/build/esm/types/api/api.d.ts +2 -2
- package/build/esm/types/mutations/smart-routing/smart-routing.mutation.d.ts +4 -3
- package/build/esm/types/types/installments/installments.d.ts +1 -1
- package/build/index.d.ts +7 -6
- package/package.json +1 -1
|
@@ -194,9 +194,9 @@ export declare class Api extends HttpClient {
|
|
|
194
194
|
name: string;
|
|
195
195
|
code: string;
|
|
196
196
|
}, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
197
|
-
postSmartRoutingCreateWorkflow<T>(accountCode: string, data: any): Promise<AxiosResponse<T, any>>;
|
|
197
|
+
postSmartRoutingCreateWorkflow<T>(accountCode: string, data: any, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
198
198
|
postSmartRoutingPublishVersion<T>(accountCode: string, versionCode: string, organizationCode: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
199
|
-
deleteSmartRoutingVersion<T>(accountCode: string, versionCode: string): Promise<AxiosResponse<T, any>>;
|
|
199
|
+
deleteSmartRoutingVersion<T>(accountCode: string, versionCode: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
200
200
|
postSmartRoutingDuplicateVersion<T>(accountCode: string, versionCode: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
201
201
|
getSmartRoutingDeclinedGroup<T>(accountCode: string, routingType?: SmartRouting.RoutingType): Promise<AxiosResponse<T, any>>;
|
|
202
202
|
updateSmartRoutingDeclinedGroup<T>(accountCode: string, declineId: string, payload: any): Promise<AxiosResponse<T, any>>;
|
|
@@ -13,9 +13,10 @@ export declare function useSaveVersion({ data, accountCode, routingType, }: {
|
|
|
13
13
|
accountCode: string;
|
|
14
14
|
routingType?: SmartRouting.RoutingType;
|
|
15
15
|
}, options?: any): UseMutationResult<SmartRouting.WorkflowVersion, unknown>;
|
|
16
|
-
export declare function useDeleteVersion({ versionCode, accountCode }: {
|
|
17
|
-
versionCode:
|
|
18
|
-
accountCode:
|
|
16
|
+
export declare function useDeleteVersion({ versionCode, accountCode, routingType, }: {
|
|
17
|
+
versionCode: string;
|
|
18
|
+
accountCode: string;
|
|
19
|
+
routingType?: SmartRouting.RoutingType;
|
|
19
20
|
}, options?: any): UseMutationResult<SmartRouting.WorkflowVersion, unknown>;
|
|
20
21
|
export declare function useDuplicateVersion({ versionCode, accountCode, routingType, }: {
|
|
21
22
|
versionCode: string | number;
|