@feedmepos/mf-financing 0.0.28-dev → 0.0.30-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.
@@ -32,6 +32,8 @@ export type CreatePortalFinancingRequest = {
32
32
  registrationNumber: string;
33
33
  businessAddress: string;
34
34
  taxIdentificationNo: string;
35
+ ownerName: string;
36
+ ownerPhoneNumber: string;
35
37
  businessRegistration: string;
36
38
  bankStatements: string[];
37
39
  signature: string;
@@ -0,0 +1,14 @@
1
+ import type { ApiContract } from "../api";
2
+ export type SendOTPRequest = {
3
+ phoneNumber: string;
4
+ };
5
+ export type SendOTPResponse = {
6
+ reqId: string;
7
+ };
8
+ export declare function SendOTP(restaurantId: string, body: SendOTPRequest): ApiContract;
9
+ export type VerifyOTPRequest = {
10
+ phoneNumber: string;
11
+ reqId: string;
12
+ code: string;
13
+ };
14
+ export declare function VerifyOTP(restaurantId: string, body: VerifyOTPRequest): ApiContract;
package/dist/app.d.ts CHANGED
@@ -72,6 +72,7 @@ export declare const i18nMessages: {
72
72
  businessDocument: string;
73
73
  documents: string;
74
74
  signature: string;
75
+ businessOwner: string;
75
76
  };
76
77
  fields: {
77
78
  businessName: string;
@@ -82,6 +83,10 @@ export declare const i18nMessages: {
82
83
  businessAddressPlaceholder: string;
83
84
  taxIdentificationNo: string;
84
85
  taxIdentificationNoPlaceholder: string;
86
+ ownerName: string;
87
+ ownerNamePlaceholder: string;
88
+ ownerPhoneNumber: string;
89
+ ownerPhoneNumberPlaceholder: string;
85
90
  businessRegistration: string;
86
91
  bankStatement: string;
87
92
  signature: string;
@@ -96,6 +101,11 @@ export declare const i18nMessages: {
96
101
  signatureRequired: string;
97
102
  submissionFailed: string;
98
103
  noRestaurant: string;
104
+ invalidPhoneNumber: string;
105
+ phoneNotVerified: string;
106
+ otpSendFailed: string;
107
+ otpVerifyFailed: string;
108
+ otpRequired: string;
99
109
  };
100
110
  buttons: {
101
111
  cancel: string;
@@ -108,6 +118,18 @@ export declare const i18nMessages: {
108
118
  cancel: string;
109
119
  confirm: string;
110
120
  };
121
+ otp: {
122
+ send: string;
123
+ verified: string;
124
+ sent: string;
125
+ title: string;
126
+ message: string;
127
+ codeLabel: string;
128
+ codePlaceholder: string;
129
+ verify: string;
130
+ cancel: string;
131
+ resend: string;
132
+ };
111
133
  };
112
134
  upload: {
113
135
  preview: string;
@@ -191,6 +213,7 @@ export declare const i18nMessages: {
191
213
  businessDocument: string;
192
214
  documents: string;
193
215
  signature: string;
216
+ businessOwner: string;
194
217
  };
195
218
  fields: {
196
219
  businessName: string;
@@ -201,6 +224,10 @@ export declare const i18nMessages: {
201
224
  businessAddressPlaceholder: string;
202
225
  taxIdentificationNo: string;
203
226
  taxIdentificationNoPlaceholder: string;
227
+ ownerName: string;
228
+ ownerNamePlaceholder: string;
229
+ ownerPhoneNumber: string;
230
+ ownerPhoneNumberPlaceholder: string;
204
231
  businessRegistration: string;
205
232
  bankStatement: string;
206
233
  signature: string;
@@ -215,6 +242,11 @@ export declare const i18nMessages: {
215
242
  signatureRequired: string;
216
243
  submissionFailed: string;
217
244
  noRestaurant: string;
245
+ invalidPhoneNumber: string;
246
+ phoneNotVerified: string;
247
+ otpSendFailed: string;
248
+ otpVerifyFailed: string;
249
+ otpRequired: string;
218
250
  };
219
251
  buttons: {
220
252
  cancel: string;
@@ -227,6 +259,18 @@ export declare const i18nMessages: {
227
259
  cancel: string;
228
260
  confirm: string;
229
261
  };
262
+ otp: {
263
+ send: string;
264
+ verified: string;
265
+ sent: string;
266
+ title: string;
267
+ message: string;
268
+ codeLabel: string;
269
+ codePlaceholder: string;
270
+ verify: string;
271
+ cancel: string;
272
+ resend: string;
273
+ };
230
274
  };
231
275
  upload: {
232
276
  preview: string;