@redneckz/wildless-cms-uni-blocks 0.14.888 → 0.14.890

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.
Files changed (154) hide show
  1. package/bundle/api/LeadServiceAPI.d.ts +8 -0
  2. package/bundle/api/getSubmitBody.d.ts +494 -0
  3. package/bundle/bundle.umd.js +659 -556
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -1
  6. package/bundle/retail/api/checkCode.d.ts +9 -1
  7. package/bundle/retail/api/sendCode.d.ts +1 -1
  8. package/bundle/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +4 -0
  9. package/bundle/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +6 -1
  10. package/dist/api/LeadServiceAPI.d.ts +8 -0
  11. package/dist/api/LeadServiceAPI.js +41 -49
  12. package/dist/api/LeadServiceAPI.js.map +1 -1
  13. package/dist/api/getSubmitBody.d.ts +494 -0
  14. package/dist/api/getSubmitBody.js +59 -0
  15. package/dist/api/getSubmitBody.js.map +1 -0
  16. package/dist/components/ApplicationForm/ApplicationForm.js +30 -5
  17. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  18. package/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -1
  19. package/dist/components/DebitForm/DebitFormProgress.js +3 -3
  20. package/dist/components/DebitForm/DebitFormProgress.js.map +1 -1
  21. package/dist/components/DebitForm/PendingStatusContent.js +1 -1
  22. package/dist/components/DebitForm/PendingStatusContent.js.map +1 -1
  23. package/dist/retail/api/checkCode.d.ts +9 -1
  24. package/dist/retail/api/checkCode.js +22 -1
  25. package/dist/retail/api/checkCode.js.map +1 -1
  26. package/dist/retail/api/sendCode.d.ts +1 -1
  27. package/dist/retail/api/sendCode.js +8 -2
  28. package/dist/retail/api/sendCode.js.map +1 -1
  29. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +4 -0
  30. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +10 -4
  31. package/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  32. package/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +6 -1
  33. package/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js +7 -4
  34. package/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js.map +1 -1
  35. package/dist/retail/utils/mockLocalStorage.js +2 -2
  36. package/dist/retail/utils/mockLocalStorage.js.map +1 -1
  37. package/lib/api/LeadServiceAPI.d.ts +8 -0
  38. package/lib/api/LeadServiceAPI.js +41 -49
  39. package/lib/api/LeadServiceAPI.js.map +1 -1
  40. package/lib/api/getSubmitBody.d.ts +494 -0
  41. package/lib/api/getSubmitBody.js +54 -0
  42. package/lib/api/getSubmitBody.js.map +1 -0
  43. package/lib/components/ApplicationForm/ApplicationForm.fixture.d.ts +1 -0
  44. package/lib/components/ApplicationForm/ApplicationForm.js +30 -5
  45. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  46. package/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -1
  47. package/lib/components/DebitForm/DebitFormProgress.js +4 -4
  48. package/lib/components/DebitForm/DebitFormProgress.js.map +1 -1
  49. package/lib/components/DebitForm/PendingStatusContent.js +1 -1
  50. package/lib/components/DebitForm/PendingStatusContent.js.map +1 -1
  51. package/lib/retail/api/checkCode.d.ts +9 -1
  52. package/lib/retail/api/checkCode.js +22 -1
  53. package/lib/retail/api/checkCode.js.map +1 -1
  54. package/lib/retail/api/sendCode.d.ts +1 -1
  55. package/lib/retail/api/sendCode.js +7 -1
  56. package/lib/retail/api/sendCode.js.map +1 -1
  57. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +4 -0
  58. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +10 -4
  59. package/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  60. package/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +6 -1
  61. package/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js +6 -3
  62. package/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js.map +1 -1
  63. package/lib/retail/utils/mockLocalStorage.js +2 -2
  64. package/lib/retail/utils/mockLocalStorage.js.map +1 -1
  65. package/mobile/bundle/api/LeadServiceAPI.d.ts +8 -0
  66. package/mobile/bundle/api/getSubmitBody.d.ts +494 -0
  67. package/mobile/bundle/bundle.umd.js +659 -556
  68. package/mobile/bundle/bundle.umd.min.js +1 -1
  69. package/mobile/bundle/components/ApplicationForm/ApplicationFormContent.d.ts +1 -1
  70. package/mobile/bundle/retail/api/checkCode.d.ts +9 -1
  71. package/mobile/bundle/retail/api/sendCode.d.ts +1 -1
  72. package/mobile/bundle/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +4 -0
  73. package/mobile/bundle/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +6 -1
  74. package/mobile/dist/api/LeadServiceAPI.d.ts +8 -0
  75. package/mobile/dist/api/LeadServiceAPI.js +41 -49
  76. package/mobile/dist/api/LeadServiceAPI.js.map +1 -1
  77. package/mobile/dist/api/getSubmitBody.d.ts +494 -0
  78. package/mobile/dist/api/getSubmitBody.js +59 -0
  79. package/mobile/dist/api/getSubmitBody.js.map +1 -0
  80. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +30 -5
  81. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  82. package/mobile/dist/components/ApplicationForm/ApplicationFormContent.d.ts +1 -1
  83. package/mobile/dist/components/DebitForm/DebitFormProgress.js +3 -3
  84. package/mobile/dist/components/DebitForm/DebitFormProgress.js.map +1 -1
  85. package/mobile/dist/components/DebitForm/PendingStatusContent.js +1 -1
  86. package/mobile/dist/components/DebitForm/PendingStatusContent.js.map +1 -1
  87. package/mobile/dist/retail/api/checkCode.d.ts +9 -1
  88. package/mobile/dist/retail/api/checkCode.js +22 -1
  89. package/mobile/dist/retail/api/checkCode.js.map +1 -1
  90. package/mobile/dist/retail/api/sendCode.d.ts +1 -1
  91. package/mobile/dist/retail/api/sendCode.js +8 -2
  92. package/mobile/dist/retail/api/sendCode.js.map +1 -1
  93. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +4 -0
  94. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +10 -4
  95. package/mobile/dist/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  96. package/mobile/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +6 -1
  97. package/mobile/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js +7 -4
  98. package/mobile/dist/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js.map +1 -1
  99. package/mobile/dist/retail/utils/mockLocalStorage.js +2 -2
  100. package/mobile/dist/retail/utils/mockLocalStorage.js.map +1 -1
  101. package/mobile/lib/api/LeadServiceAPI.d.ts +8 -0
  102. package/mobile/lib/api/LeadServiceAPI.js +41 -49
  103. package/mobile/lib/api/LeadServiceAPI.js.map +1 -1
  104. package/mobile/lib/api/getSubmitBody.d.ts +494 -0
  105. package/mobile/lib/api/getSubmitBody.js +54 -0
  106. package/mobile/lib/api/getSubmitBody.js.map +1 -0
  107. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +30 -5
  108. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  109. package/mobile/lib/components/ApplicationForm/ApplicationFormContent.d.ts +1 -1
  110. package/mobile/lib/components/DebitForm/DebitFormProgress.js +4 -4
  111. package/mobile/lib/components/DebitForm/DebitFormProgress.js.map +1 -1
  112. package/mobile/lib/components/DebitForm/PendingStatusContent.js +1 -1
  113. package/mobile/lib/components/DebitForm/PendingStatusContent.js.map +1 -1
  114. package/mobile/lib/retail/api/checkCode.d.ts +9 -1
  115. package/mobile/lib/retail/api/checkCode.js +22 -1
  116. package/mobile/lib/retail/api/checkCode.js.map +1 -1
  117. package/mobile/lib/retail/api/sendCode.d.ts +1 -1
  118. package/mobile/lib/retail/api/sendCode.js +7 -1
  119. package/mobile/lib/retail/api/sendCode.js.map +1 -1
  120. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.d.ts +4 -0
  121. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js +10 -4
  122. package/mobile/lib/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.js.map +1 -1
  123. package/mobile/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.d.ts +6 -1
  124. package/mobile/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js +6 -3
  125. package/mobile/lib/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.js.map +1 -1
  126. package/mobile/lib/retail/utils/mockLocalStorage.js +2 -2
  127. package/mobile/lib/retail/utils/mockLocalStorage.js.map +1 -1
  128. package/mobile/src/api/LeadServiceAPI.ts +64 -82
  129. package/mobile/src/api/getSubmitBody.ts +94 -0
  130. package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +2 -2
  131. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +33 -4
  132. package/mobile/src/components/ApplicationForm/ApplicationFormContent.ts +1 -1
  133. package/mobile/src/components/DebitForm/DebitFormProgress.tsx +4 -9
  134. package/mobile/src/components/DebitForm/PendingStatusContent.tsx +1 -1
  135. package/mobile/src/retail/api/checkCode.ts +47 -2
  136. package/mobile/src/retail/api/sendCode.ts +9 -1
  137. package/mobile/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +29 -8
  138. package/mobile/src/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.tsx +18 -5
  139. package/mobile/src/retail/utils/mockLocalStorage.ts +15 -9
  140. package/package.json +1 -1
  141. package/src/api/LeadServiceAPI.ts +64 -82
  142. package/src/api/getSubmitBody.ts +94 -0
  143. package/src/components/ApplicationForm/ApplicationForm.example.json +2 -2
  144. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +2 -2
  145. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +24 -2
  146. package/src/components/ApplicationForm/ApplicationForm.tsx +33 -4
  147. package/src/components/ApplicationForm/ApplicationFormContent.ts +1 -1
  148. package/src/components/DebitForm/DebitFormProgress.tsx +4 -9
  149. package/src/components/DebitForm/PendingStatusContent.tsx +1 -1
  150. package/src/retail/api/checkCode.ts +47 -2
  151. package/src/retail/api/sendCode.ts +9 -1
  152. package/src/retail/components/VerifyPhoneDialog/VerifyPhoneDialog.tsx +29 -8
  153. package/src/retail/components/VerifyPhoneDialog/useVerifyPhoneDialogSubmit.tsx +18 -5
  154. package/src/retail/utils/mockLocalStorage.ts +15 -9
@@ -1,5 +1,6 @@
1
1
  import { type JSONRecord, type JSONScalar } from '@redneckz/json-op';
2
2
  import { type Router } from '../external/useRouter';
3
+ import { type MainBody } from '../retail/api/checkCode';
3
4
  export declare type LeadRequest = Record<string, JSONRecord | JSONScalar | null> & {
4
5
  typeForm?: string;
5
6
  addressBranch?: string;
@@ -12,6 +13,13 @@ export declare type LeadRequest = Record<string, JSONRecord | JSONScalar | null>
12
13
  partnerSymbolCode?: string;
13
14
  companyNameByInn?: string;
14
15
  };
16
+ export declare type CheckCodeProps = MainBody;
17
+ declare type PhoneOnly = {
18
+ phone?: string;
19
+ };
15
20
  export declare function LeadServiceAPI(): {
16
21
  send: (body: LeadRequest, router: Router, isIndividualType?: boolean) => Promise<any>;
22
+ sendCode: ({ phone }: PhoneOnly) => Promise<string | null>;
23
+ checkCode: ({ reqId, code, body }: CheckCodeProps) => Promise<any>;
17
24
  };
25
+ export {};
@@ -0,0 +1,494 @@
1
+ import type { JSONRecord, JSONScalar } from '@redneckz/json-op';
2
+ import type { Router } from '../external/useRouter';
3
+ import { type LeadRequest } from './LeadServiceAPI';
4
+ export declare const getSubmitBody: (body: LeadRequest, isNaturalPerson: boolean, router?: Router) => {
5
+ secondaryPhoneNumber?: string | undefined;
6
+ inn: string | undefined;
7
+ region: string | undefined;
8
+ partnerComments: string | undefined;
9
+ fullname: string | undefined;
10
+ typeForm: string;
11
+ phone: string;
12
+ } | {
13
+ secondaryPhoneNumber?: string | undefined;
14
+ inn?: undefined;
15
+ region?: undefined;
16
+ partnerComments?: undefined;
17
+ fullname?: undefined;
18
+ typeForm: string;
19
+ phone: string;
20
+ } | {
21
+ secondaryPhoneNumber?: string | undefined;
22
+ inn: string | undefined;
23
+ region: string | undefined;
24
+ partnerComments: string | undefined;
25
+ fullname: string | undefined;
26
+ typeForm: string | undefined;
27
+ phone: string;
28
+ } | {
29
+ secondaryPhoneNumber?: string | undefined;
30
+ inn?: undefined;
31
+ region?: undefined;
32
+ partnerComments?: undefined;
33
+ fullname?: undefined;
34
+ typeForm: string | undefined;
35
+ phone: string;
36
+ } | {
37
+ secondaryPhoneNumber?: string | undefined;
38
+ inn: string | undefined;
39
+ region: string | undefined;
40
+ partnerComments: string | undefined;
41
+ fullname: string | undefined;
42
+ typeForm: string;
43
+ addressBranch: string | undefined;
44
+ bankEmpolee: JSONScalar | JSONRecord | null;
45
+ applicationDate: JSONScalar | JSONRecord | null;
46
+ phone: string;
47
+ } | {
48
+ secondaryPhoneNumber?: string | undefined;
49
+ inn?: undefined;
50
+ region?: undefined;
51
+ partnerComments?: undefined;
52
+ fullname?: undefined;
53
+ typeForm: string;
54
+ addressBranch: string | undefined;
55
+ bankEmpolee: JSONScalar | JSONRecord | null;
56
+ applicationDate: JSONScalar | JSONRecord | null;
57
+ phone: string;
58
+ } | {
59
+ secondaryPhoneNumber?: string | undefined;
60
+ inn: string | undefined;
61
+ region: string | undefined;
62
+ partnerComments: string | undefined;
63
+ fullname: string | undefined;
64
+ typeForm: string | undefined;
65
+ addressBranch: string | undefined;
66
+ bankEmpolee: JSONScalar | JSONRecord | null;
67
+ applicationDate: JSONScalar | JSONRecord | null;
68
+ phone: string;
69
+ } | {
70
+ secondaryPhoneNumber?: string | undefined;
71
+ inn?: undefined;
72
+ region?: undefined;
73
+ partnerComments?: undefined;
74
+ fullname?: undefined;
75
+ typeForm: string | undefined;
76
+ addressBranch: string | undefined;
77
+ bankEmpolee: JSONScalar | JSONRecord | null;
78
+ applicationDate: JSONScalar | JSONRecord | null;
79
+ phone: string;
80
+ } | {
81
+ secondaryPhoneNumber: string;
82
+ inn: string | undefined;
83
+ region: string | undefined;
84
+ partnerComments: string | undefined;
85
+ fullname: string | undefined;
86
+ typeForm: string;
87
+ addressBranch: string | undefined;
88
+ bankEmpolee: JSONScalar | JSONRecord | null;
89
+ applicationDate: JSONScalar | JSONRecord | null;
90
+ phone: string;
91
+ } | {
92
+ secondaryPhoneNumber: string;
93
+ inn?: undefined;
94
+ region?: undefined;
95
+ partnerComments?: undefined;
96
+ fullname?: undefined;
97
+ typeForm: string;
98
+ addressBranch: string | undefined;
99
+ bankEmpolee: JSONScalar | JSONRecord | null;
100
+ applicationDate: JSONScalar | JSONRecord | null;
101
+ phone: string;
102
+ } | {
103
+ secondaryPhoneNumber: string;
104
+ inn: string | undefined;
105
+ region: string | undefined;
106
+ partnerComments: string | undefined;
107
+ fullname: string | undefined;
108
+ typeForm: string | undefined;
109
+ addressBranch: string | undefined;
110
+ bankEmpolee: JSONScalar | JSONRecord | null;
111
+ applicationDate: JSONScalar | JSONRecord | null;
112
+ phone: string;
113
+ } | {
114
+ secondaryPhoneNumber: string;
115
+ inn?: undefined;
116
+ region?: undefined;
117
+ partnerComments?: undefined;
118
+ fullname?: undefined;
119
+ typeForm: string | undefined;
120
+ addressBranch: string | undefined;
121
+ bankEmpolee: JSONScalar | JSONRecord | null;
122
+ applicationDate: JSONScalar | JSONRecord | null;
123
+ phone: string;
124
+ } | {
125
+ secondaryPhoneNumber?: string | undefined;
126
+ inn: string | undefined;
127
+ region: string | undefined;
128
+ partnerComments: string | undefined;
129
+ fullname: string | undefined;
130
+ typeForm: string;
131
+ phone: string;
132
+ } | {
133
+ secondaryPhoneNumber?: string | undefined;
134
+ inn: string | undefined;
135
+ region?: undefined;
136
+ partnerComments?: undefined;
137
+ fullname?: undefined;
138
+ typeForm: string;
139
+ phone: string;
140
+ } | {
141
+ secondaryPhoneNumber?: string | undefined;
142
+ inn: string | undefined;
143
+ region: string | undefined;
144
+ partnerComments: string | undefined;
145
+ fullname: string | undefined;
146
+ typeForm: string | undefined;
147
+ phone: string;
148
+ } | {
149
+ secondaryPhoneNumber?: string | undefined;
150
+ inn: string | undefined;
151
+ region?: undefined;
152
+ partnerComments?: undefined;
153
+ fullname?: undefined;
154
+ typeForm: string | undefined;
155
+ phone: string;
156
+ } | {
157
+ secondaryPhoneNumber?: string | undefined;
158
+ inn: string | undefined;
159
+ region: string | undefined;
160
+ partnerComments: string | undefined;
161
+ fullname: string | undefined;
162
+ typeForm: string;
163
+ addressBranch: string | undefined;
164
+ bankEmpolee: JSONScalar | JSONRecord | null;
165
+ applicationDate: JSONScalar | JSONRecord | null;
166
+ phone: string;
167
+ } | {
168
+ secondaryPhoneNumber?: string | undefined;
169
+ inn: string | undefined;
170
+ region?: undefined;
171
+ partnerComments?: undefined;
172
+ fullname?: undefined;
173
+ typeForm: string;
174
+ addressBranch: string | undefined;
175
+ bankEmpolee: JSONScalar | JSONRecord | null;
176
+ applicationDate: JSONScalar | JSONRecord | null;
177
+ phone: string;
178
+ } | {
179
+ secondaryPhoneNumber?: string | undefined;
180
+ inn: string | undefined;
181
+ region: string | undefined;
182
+ partnerComments: string | undefined;
183
+ fullname: string | undefined;
184
+ typeForm: string | undefined;
185
+ addressBranch: string | undefined;
186
+ bankEmpolee: JSONScalar | JSONRecord | null;
187
+ applicationDate: JSONScalar | JSONRecord | null;
188
+ phone: string;
189
+ } | {
190
+ secondaryPhoneNumber?: string | undefined;
191
+ inn: string | undefined;
192
+ region?: undefined;
193
+ partnerComments?: undefined;
194
+ fullname?: undefined;
195
+ typeForm: string | undefined;
196
+ addressBranch: string | undefined;
197
+ bankEmpolee: JSONScalar | JSONRecord | null;
198
+ applicationDate: JSONScalar | JSONRecord | null;
199
+ phone: string;
200
+ } | {
201
+ secondaryPhoneNumber: string;
202
+ inn: string | undefined;
203
+ region: string | undefined;
204
+ partnerComments: string | undefined;
205
+ fullname: string | undefined;
206
+ typeForm: string;
207
+ addressBranch: string | undefined;
208
+ bankEmpolee: JSONScalar | JSONRecord | null;
209
+ applicationDate: JSONScalar | JSONRecord | null;
210
+ phone: string;
211
+ } | {
212
+ secondaryPhoneNumber: string;
213
+ inn: string | undefined;
214
+ region?: undefined;
215
+ partnerComments?: undefined;
216
+ fullname?: undefined;
217
+ typeForm: string;
218
+ addressBranch: string | undefined;
219
+ bankEmpolee: JSONScalar | JSONRecord | null;
220
+ applicationDate: JSONScalar | JSONRecord | null;
221
+ phone: string;
222
+ } | {
223
+ secondaryPhoneNumber: string;
224
+ inn: string | undefined;
225
+ region: string | undefined;
226
+ partnerComments: string | undefined;
227
+ fullname: string | undefined;
228
+ typeForm: string | undefined;
229
+ addressBranch: string | undefined;
230
+ bankEmpolee: JSONScalar | JSONRecord | null;
231
+ applicationDate: JSONScalar | JSONRecord | null;
232
+ phone: string;
233
+ } | {
234
+ secondaryPhoneNumber: string;
235
+ inn: string | undefined;
236
+ region?: undefined;
237
+ partnerComments?: undefined;
238
+ fullname?: undefined;
239
+ typeForm: string | undefined;
240
+ addressBranch: string | undefined;
241
+ bankEmpolee: JSONScalar | JSONRecord | null;
242
+ applicationDate: JSONScalar | JSONRecord | null;
243
+ phone: string;
244
+ } | {
245
+ secondaryPhoneNumber?: string | undefined;
246
+ inn: string | undefined;
247
+ region: string | undefined;
248
+ partnerComments: string | undefined;
249
+ fullname: string | undefined;
250
+ typeForm: string;
251
+ phone?: undefined;
252
+ } | {
253
+ secondaryPhoneNumber?: string | undefined;
254
+ inn?: undefined;
255
+ region?: undefined;
256
+ partnerComments?: undefined;
257
+ fullname?: undefined;
258
+ typeForm: string;
259
+ phone?: undefined;
260
+ } | {
261
+ secondaryPhoneNumber?: string | undefined;
262
+ inn: string | undefined;
263
+ region: string | undefined;
264
+ partnerComments: string | undefined;
265
+ fullname: string | undefined;
266
+ typeForm: string | undefined;
267
+ phone?: undefined;
268
+ } | {
269
+ secondaryPhoneNumber?: string | undefined;
270
+ inn?: undefined;
271
+ region?: undefined;
272
+ partnerComments?: undefined;
273
+ fullname?: undefined;
274
+ typeForm: string | undefined;
275
+ phone?: undefined;
276
+ } | {
277
+ secondaryPhoneNumber?: string | undefined;
278
+ inn: string | undefined;
279
+ region: string | undefined;
280
+ partnerComments: string | undefined;
281
+ fullname: string | undefined;
282
+ typeForm: string;
283
+ addressBranch: string | undefined;
284
+ bankEmpolee: JSONScalar | JSONRecord | null;
285
+ applicationDate: JSONScalar | JSONRecord | null;
286
+ phone?: undefined;
287
+ } | {
288
+ secondaryPhoneNumber?: string | undefined;
289
+ inn?: undefined;
290
+ region?: undefined;
291
+ partnerComments?: undefined;
292
+ fullname?: undefined;
293
+ typeForm: string;
294
+ addressBranch: string | undefined;
295
+ bankEmpolee: JSONScalar | JSONRecord | null;
296
+ applicationDate: JSONScalar | JSONRecord | null;
297
+ phone?: undefined;
298
+ } | {
299
+ secondaryPhoneNumber?: string | undefined;
300
+ inn: string | undefined;
301
+ region: string | undefined;
302
+ partnerComments: string | undefined;
303
+ fullname: string | undefined;
304
+ typeForm: string | undefined;
305
+ addressBranch: string | undefined;
306
+ bankEmpolee: JSONScalar | JSONRecord | null;
307
+ applicationDate: JSONScalar | JSONRecord | null;
308
+ phone?: undefined;
309
+ } | {
310
+ secondaryPhoneNumber?: string | undefined;
311
+ inn?: undefined;
312
+ region?: undefined;
313
+ partnerComments?: undefined;
314
+ fullname?: undefined;
315
+ typeForm: string | undefined;
316
+ addressBranch: string | undefined;
317
+ bankEmpolee: JSONScalar | JSONRecord | null;
318
+ applicationDate: JSONScalar | JSONRecord | null;
319
+ phone?: undefined;
320
+ } | {
321
+ secondaryPhoneNumber: string;
322
+ inn: string | undefined;
323
+ region: string | undefined;
324
+ partnerComments: string | undefined;
325
+ fullname: string | undefined;
326
+ typeForm: string;
327
+ addressBranch: string | undefined;
328
+ bankEmpolee: JSONScalar | JSONRecord | null;
329
+ applicationDate: JSONScalar | JSONRecord | null;
330
+ phone?: undefined;
331
+ } | {
332
+ secondaryPhoneNumber: string;
333
+ inn?: undefined;
334
+ region?: undefined;
335
+ partnerComments?: undefined;
336
+ fullname?: undefined;
337
+ typeForm: string;
338
+ addressBranch: string | undefined;
339
+ bankEmpolee: JSONScalar | JSONRecord | null;
340
+ applicationDate: JSONScalar | JSONRecord | null;
341
+ phone?: undefined;
342
+ } | {
343
+ secondaryPhoneNumber: string;
344
+ inn: string | undefined;
345
+ region: string | undefined;
346
+ partnerComments: string | undefined;
347
+ fullname: string | undefined;
348
+ typeForm: string | undefined;
349
+ addressBranch: string | undefined;
350
+ bankEmpolee: JSONScalar | JSONRecord | null;
351
+ applicationDate: JSONScalar | JSONRecord | null;
352
+ phone?: undefined;
353
+ } | {
354
+ secondaryPhoneNumber: string;
355
+ inn?: undefined;
356
+ region?: undefined;
357
+ partnerComments?: undefined;
358
+ fullname?: undefined;
359
+ typeForm: string | undefined;
360
+ addressBranch: string | undefined;
361
+ bankEmpolee: JSONScalar | JSONRecord | null;
362
+ applicationDate: JSONScalar | JSONRecord | null;
363
+ phone?: undefined;
364
+ } | {
365
+ secondaryPhoneNumber?: string | undefined;
366
+ inn: string | undefined;
367
+ region: string | undefined;
368
+ partnerComments: string | undefined;
369
+ fullname: string | undefined;
370
+ typeForm: string;
371
+ phone?: undefined;
372
+ } | {
373
+ secondaryPhoneNumber?: string | undefined;
374
+ inn: string | undefined;
375
+ region?: undefined;
376
+ partnerComments?: undefined;
377
+ fullname?: undefined;
378
+ typeForm: string;
379
+ phone?: undefined;
380
+ } | {
381
+ secondaryPhoneNumber?: string | undefined;
382
+ inn: string | undefined;
383
+ region: string | undefined;
384
+ partnerComments: string | undefined;
385
+ fullname: string | undefined;
386
+ typeForm: string | undefined;
387
+ phone?: undefined;
388
+ } | {
389
+ secondaryPhoneNumber?: string | undefined;
390
+ inn: string | undefined;
391
+ region?: undefined;
392
+ partnerComments?: undefined;
393
+ fullname?: undefined;
394
+ typeForm: string | undefined;
395
+ phone?: undefined;
396
+ } | {
397
+ secondaryPhoneNumber?: string | undefined;
398
+ inn: string | undefined;
399
+ region: string | undefined;
400
+ partnerComments: string | undefined;
401
+ fullname: string | undefined;
402
+ typeForm: string;
403
+ addressBranch: string | undefined;
404
+ bankEmpolee: JSONScalar | JSONRecord | null;
405
+ applicationDate: JSONScalar | JSONRecord | null;
406
+ phone?: undefined;
407
+ } | {
408
+ secondaryPhoneNumber?: string | undefined;
409
+ inn: string | undefined;
410
+ region?: undefined;
411
+ partnerComments?: undefined;
412
+ fullname?: undefined;
413
+ typeForm: string;
414
+ addressBranch: string | undefined;
415
+ bankEmpolee: JSONScalar | JSONRecord | null;
416
+ applicationDate: JSONScalar | JSONRecord | null;
417
+ phone?: undefined;
418
+ } | {
419
+ secondaryPhoneNumber?: string | undefined;
420
+ inn: string | undefined;
421
+ region: string | undefined;
422
+ partnerComments: string | undefined;
423
+ fullname: string | undefined;
424
+ typeForm: string | undefined;
425
+ addressBranch: string | undefined;
426
+ bankEmpolee: JSONScalar | JSONRecord | null;
427
+ applicationDate: JSONScalar | JSONRecord | null;
428
+ phone?: undefined;
429
+ } | {
430
+ secondaryPhoneNumber?: string | undefined;
431
+ inn: string | undefined;
432
+ region?: undefined;
433
+ partnerComments?: undefined;
434
+ fullname?: undefined;
435
+ typeForm: string | undefined;
436
+ addressBranch: string | undefined;
437
+ bankEmpolee: JSONScalar | JSONRecord | null;
438
+ applicationDate: JSONScalar | JSONRecord | null;
439
+ phone?: undefined;
440
+ } | {
441
+ secondaryPhoneNumber: string;
442
+ inn: string | undefined;
443
+ region: string | undefined;
444
+ partnerComments: string | undefined;
445
+ fullname: string | undefined;
446
+ typeForm: string;
447
+ addressBranch: string | undefined;
448
+ bankEmpolee: JSONScalar | JSONRecord | null;
449
+ applicationDate: JSONScalar | JSONRecord | null;
450
+ phone?: undefined;
451
+ } | {
452
+ secondaryPhoneNumber: string;
453
+ inn: string | undefined;
454
+ region?: undefined;
455
+ partnerComments?: undefined;
456
+ fullname?: undefined;
457
+ typeForm: string;
458
+ addressBranch: string | undefined;
459
+ bankEmpolee: JSONScalar | JSONRecord | null;
460
+ applicationDate: JSONScalar | JSONRecord | null;
461
+ phone?: undefined;
462
+ } | {
463
+ secondaryPhoneNumber: string;
464
+ inn: string | undefined;
465
+ region: string | undefined;
466
+ partnerComments: string | undefined;
467
+ fullname: string | undefined;
468
+ typeForm: string | undefined;
469
+ addressBranch: string | undefined;
470
+ bankEmpolee: JSONScalar | JSONRecord | null;
471
+ applicationDate: JSONScalar | JSONRecord | null;
472
+ phone?: undefined;
473
+ } | {
474
+ secondaryPhoneNumber: string;
475
+ inn: string | undefined;
476
+ region?: undefined;
477
+ partnerComments?: undefined;
478
+ fullname?: undefined;
479
+ typeForm: string | undefined;
480
+ addressBranch: string | undefined;
481
+ bankEmpolee: JSONScalar | JSONRecord | null;
482
+ applicationDate: JSONScalar | JSONRecord | null;
483
+ phone?: undefined;
484
+ };
485
+ export declare const getPhoneBody: (phone?: string) => {
486
+ phone: string;
487
+ } | {
488
+ phone?: undefined;
489
+ };
490
+ export declare const getPhone: (phone?: string) => {
491
+ phone: string;
492
+ } | {
493
+ phone?: undefined;
494
+ };