@feedmepos/mf-financing 0.0.27-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,12 +118,23 @@ 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;
114
136
  };
115
137
  signature: {
116
- clearSignature: string;
117
138
  clickToAdd: string;
118
139
  dialogTitle: string;
119
140
  saveBefore: string;
@@ -192,6 +213,7 @@ export declare const i18nMessages: {
192
213
  businessDocument: string;
193
214
  documents: string;
194
215
  signature: string;
216
+ businessOwner: string;
195
217
  };
196
218
  fields: {
197
219
  businessName: string;
@@ -202,6 +224,10 @@ export declare const i18nMessages: {
202
224
  businessAddressPlaceholder: string;
203
225
  taxIdentificationNo: string;
204
226
  taxIdentificationNoPlaceholder: string;
227
+ ownerName: string;
228
+ ownerNamePlaceholder: string;
229
+ ownerPhoneNumber: string;
230
+ ownerPhoneNumberPlaceholder: string;
205
231
  businessRegistration: string;
206
232
  bankStatement: string;
207
233
  signature: string;
@@ -216,6 +242,11 @@ export declare const i18nMessages: {
216
242
  signatureRequired: string;
217
243
  submissionFailed: string;
218
244
  noRestaurant: string;
245
+ invalidPhoneNumber: string;
246
+ phoneNotVerified: string;
247
+ otpSendFailed: string;
248
+ otpVerifyFailed: string;
249
+ otpRequired: string;
219
250
  };
220
251
  buttons: {
221
252
  cancel: string;
@@ -228,12 +259,23 @@ export declare const i18nMessages: {
228
259
  cancel: string;
229
260
  confirm: string;
230
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
+ };
231
274
  };
232
275
  upload: {
233
276
  preview: string;
234
277
  };
235
278
  signature: {
236
- clearSignature: string;
237
279
  clickToAdd: string;
238
280
  dialogTitle: string;
239
281
  saveBefore: string;