@feedmepos/mf-financing 0.0.28-dev → 0.0.31-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,13 @@ 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;
109
+ phoneNumberRequired: string;
110
+ otpReqIdMissing: string;
99
111
  };
100
112
  buttons: {
101
113
  cancel: string;
@@ -108,6 +120,18 @@ export declare const i18nMessages: {
108
120
  cancel: string;
109
121
  confirm: string;
110
122
  };
123
+ otp: {
124
+ send: string;
125
+ verified: string;
126
+ sent: string;
127
+ title: string;
128
+ message: string;
129
+ codeLabel: string;
130
+ codePlaceholder: string;
131
+ verify: string;
132
+ cancel: string;
133
+ resend: string;
134
+ };
111
135
  };
112
136
  upload: {
113
137
  preview: string;
@@ -191,6 +215,7 @@ export declare const i18nMessages: {
191
215
  businessDocument: string;
192
216
  documents: string;
193
217
  signature: string;
218
+ businessOwner: string;
194
219
  };
195
220
  fields: {
196
221
  businessName: string;
@@ -201,6 +226,10 @@ export declare const i18nMessages: {
201
226
  businessAddressPlaceholder: string;
202
227
  taxIdentificationNo: string;
203
228
  taxIdentificationNoPlaceholder: string;
229
+ ownerName: string;
230
+ ownerNamePlaceholder: string;
231
+ ownerPhoneNumber: string;
232
+ ownerPhoneNumberPlaceholder: string;
204
233
  businessRegistration: string;
205
234
  bankStatement: string;
206
235
  signature: string;
@@ -215,6 +244,13 @@ export declare const i18nMessages: {
215
244
  signatureRequired: string;
216
245
  submissionFailed: string;
217
246
  noRestaurant: string;
247
+ invalidPhoneNumber: string;
248
+ phoneNotVerified: string;
249
+ otpSendFailed: string;
250
+ otpVerifyFailed: string;
251
+ otpRequired: string;
252
+ phoneNumberRequired: string;
253
+ otpReqIdMissing: string;
218
254
  };
219
255
  buttons: {
220
256
  cancel: string;
@@ -227,6 +263,18 @@ export declare const i18nMessages: {
227
263
  cancel: string;
228
264
  confirm: string;
229
265
  };
266
+ otp: {
267
+ send: string;
268
+ verified: string;
269
+ sent: string;
270
+ title: string;
271
+ message: string;
272
+ codeLabel: string;
273
+ codePlaceholder: string;
274
+ verify: string;
275
+ cancel: string;
276
+ resend: string;
277
+ };
230
278
  };
231
279
  upload: {
232
280
  preview: string;