@feedmepos/mf-financing 0.0.8 → 0.0.20-dev

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.
@@ -16,3 +16,27 @@ export type GetTransactionsRequestDto = {
16
16
  cursor: string;
17
17
  };
18
18
  export declare function GetTransactionsRequest({ financingId, limit, cursor, startDate, endDate, }: GetTransactionsRequestDto): ApiContract;
19
+ export type GetEligibilityResponse = {
20
+ payoutAccount: boolean;
21
+ gatewayGrab: boolean;
22
+ gatewaySoftspace: boolean;
23
+ };
24
+ export declare function GetEligibility(restaurantId: string): ApiContract;
25
+ export type GetFinancingUploadURLResponse = {
26
+ uploadUrl: string;
27
+ objectKey: string;
28
+ };
29
+ export declare function GetFinancingUploadURL(restaurantId: string, filename: string, contentType: string): ApiContract;
30
+ export type CreatePortalFinancingRequest = {
31
+ businessName: string;
32
+ registrationNumber: string;
33
+ businessAddress: string;
34
+ taxIdentificationNo: string;
35
+ businessRegistration: string;
36
+ bankStatements: string[];
37
+ signature: string;
38
+ signatoryName: string;
39
+ signatoryPosition: string;
40
+ };
41
+ export type CreatePortalFinancingResponse = Financing;
42
+ export declare function CreatePortalFinancing(restaurantId: string, body: CreatePortalFinancingRequest): ApiContract;