@coopenomics/factory 2026.5.15-5 → 2026.5.19-2

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.
package/dist/index.d.mts CHANGED
@@ -2,515 +2,493 @@ import { JSONSchemaType } from 'ajv';
2
2
  import { Cooperative, Interfaces, MeetContract } from 'cooptypes';
3
3
  import { InsertOneResult, Filter, UpdateResult, Document, MongoClient, Db, Collection } from 'mongodb';
4
4
 
5
- declare const registry_id$W = 1;
6
- type Action$W = Cooperative.Registry.WalletAgreement.Action;
7
- type Model$W = Cooperative.Registry.WalletAgreement.Model;
8
- declare const Schema$W: JSONSchemaType<Model$W>;
9
- declare const Template$W: ITemplate<Model$W>;
10
-
11
- declare namespace WalletAgreement {
12
- export { Schema$W as Schema, Template$W as Template, registry_id$W as registry_id };
13
- export type { Action$W as Action, Model$W as Model };
14
- }
15
-
16
- declare const registry_id$V = 2;
17
- type Action$V = Cooperative.Registry.RegulationElectronicSignature.Action;
18
- type Model$V = Cooperative.Registry.RegulationElectronicSignature.Model;
19
- declare const Schema$V: JSONSchemaType<Model$V>;
20
- declare const Template$V: ITemplate<Model$V>;
21
-
22
- declare namespace RegulationElectronicSignaturet {
23
- export { Schema$V as Schema, Template$V as Template, registry_id$V as registry_id };
24
- export type { Action$V as Action, Model$V as Model };
25
- }
26
-
27
- declare const registry_id$U = 3;
28
- type Action$U = Cooperative.Registry.PrivacyPolicy.Action;
29
- type Model$U = Cooperative.Registry.PrivacyPolicy.Model;
5
+ declare const registry_id$U = 1;
6
+ type Action$U = Cooperative.Registry.WalletAgreement.Action;
7
+ type Model$U = Cooperative.Registry.WalletAgreement.Model;
30
8
  declare const Schema$U: JSONSchemaType<Model$U>;
31
9
  declare const Template$U: ITemplate<Model$U>;
32
10
 
33
- declare namespace PrivacyPolicy {
11
+ declare namespace WalletAgreement {
34
12
  export { Schema$U as Schema, Template$U as Template, registry_id$U as registry_id };
35
13
  export type { Action$U as Action, Model$U as Model };
36
14
  }
37
15
 
38
- declare const registry_id$T = 4;
39
- type Action$T = Cooperative.Registry.UserAgreement.Action;
40
- type Model$T = Cooperative.Registry.UserAgreement.Model;
16
+ declare const registry_id$T = 2;
17
+ type Action$T = Cooperative.Registry.RegulationElectronicSignature.Action;
18
+ type Model$T = Cooperative.Registry.RegulationElectronicSignature.Model;
41
19
  declare const Schema$T: JSONSchemaType<Model$T>;
42
20
  declare const Template$T: ITemplate<Model$T>;
43
21
 
44
- declare namespace UserAgreement {
22
+ declare namespace RegulationElectronicSignaturet {
45
23
  export { Schema$T as Schema, Template$T as Template, registry_id$T as registry_id };
46
24
  export type { Action$T as Action, Model$T as Model };
47
25
  }
48
26
 
49
- declare const registry_id$S = 50;
50
- type Action$S = Cooperative.Registry.CoopenomicsAgreement.Action;
51
- type Model$S = Cooperative.Registry.CoopenomicsAgreement.Model;
27
+ declare const registry_id$S = 3;
28
+ type Action$S = Cooperative.Registry.PrivacyPolicy.Action;
29
+ type Model$S = Cooperative.Registry.PrivacyPolicy.Model;
52
30
  declare const Schema$S: JSONSchemaType<Model$S>;
53
31
  declare const Template$S: ITemplate<Model$S>;
54
32
 
55
- declare namespace CoopenomicsAgreement {
33
+ declare namespace PrivacyPolicy {
56
34
  export { Schema$S as Schema, Template$S as Template, registry_id$S as registry_id };
57
35
  export type { Action$S as Action, Model$S as Model };
58
36
  }
59
37
 
60
- declare const registry_id$R = 51;
61
- type Action$R = Cooperative.Registry.ConvertToAxonStatement.Action;
62
- type Model$R = Cooperative.Registry.ConvertToAxonStatement.Model;
38
+ declare const registry_id$R = 4;
39
+ type Action$R = Cooperative.Registry.UserAgreement.Action;
40
+ type Model$R = Cooperative.Registry.UserAgreement.Model;
63
41
  declare const Schema$R: JSONSchemaType<Model$R>;
64
42
  declare const Template$R: ITemplate<Model$R>;
65
43
 
66
- declare namespace ConvertToAxonStatement {
44
+ declare namespace UserAgreement {
67
45
  export { Schema$R as Schema, Template$R as Template, registry_id$R as registry_id };
68
46
  export type { Action$R as Action, Model$R as Model };
69
47
  }
70
48
 
71
- declare const registry_id$Q = 100;
72
- /**
73
- * Интерфейс генерации заявления на вступление в кооператив
74
- */
75
- type Action$Q = Cooperative.Registry.ParticipantApplication.Action;
76
- type Model$Q = Cooperative.Registry.ParticipantApplication.Model;
49
+ declare const registry_id$Q = 50;
50
+ type Action$Q = Cooperative.Registry.CoopenomicsAgreement.Action;
51
+ type Model$Q = Cooperative.Registry.CoopenomicsAgreement.Model;
77
52
  declare const Schema$Q: JSONSchemaType<Model$Q>;
78
53
  declare const Template$Q: ITemplate<Model$Q>;
79
54
 
80
- declare namespace ParticipantApplication {
55
+ declare namespace CoopenomicsAgreement {
81
56
  export { Schema$Q as Schema, Template$Q as Template, registry_id$Q as registry_id };
82
57
  export type { Action$Q as Action, Model$Q as Model };
83
58
  }
84
59
 
85
- declare const registry_id$P = 501;
86
- /**
87
- * Интерфейс генерации решения совета
88
- */
89
- type Action$P = Cooperative.Registry.DecisionOfParticipantApplication.Action;
90
- type Model$P = Cooperative.Registry.DecisionOfParticipantApplication.Model;
60
+ declare const registry_id$P = 51;
61
+ type Action$P = Cooperative.Registry.ConvertToAxonStatement.Action;
62
+ type Model$P = Cooperative.Registry.ConvertToAxonStatement.Model;
91
63
  declare const Schema$P: JSONSchemaType<Model$P>;
92
64
  declare const Template$P: ITemplate<Model$P>;
93
65
 
94
- declare namespace DecisionOfParticipantApplication {
66
+ declare namespace ConvertToAxonStatement {
95
67
  export { Schema$P as Schema, Template$P as Template, registry_id$P as registry_id };
96
68
  export type { Action$P as Action, Model$P as Model };
97
69
  }
98
70
 
99
- declare const registry_id$O = 101;
71
+ declare const registry_id$O = 100;
100
72
  /**
101
73
  * Интерфейс генерации заявления на вступление в кооператив
102
74
  */
103
- type Action$O = Cooperative.Registry.SelectBranchStatement.Action;
104
- type Model$O = Cooperative.Registry.SelectBranchStatement.Model;
75
+ type Action$O = Cooperative.Registry.ParticipantApplication.Action;
76
+ type Model$O = Cooperative.Registry.ParticipantApplication.Model;
105
77
  declare const Schema$O: JSONSchemaType<Model$O>;
106
78
  declare const Template$O: ITemplate<Model$O>;
107
79
 
108
- declare namespace SelectBranchStatement {
80
+ declare namespace ParticipantApplication {
109
81
  export { Schema$O as Schema, Template$O as Template, registry_id$O as registry_id };
110
82
  export type { Action$O as Action, Model$O as Model };
111
83
  }
112
84
 
113
- declare const registry_id$N = 599;
85
+ declare const registry_id$N = 501;
114
86
  /**
115
87
  * Интерфейс генерации решения совета
116
88
  */
117
- type Action$N = Cooperative.Registry.ProjectFreeDecision.Action;
118
- type Model$N = Cooperative.Registry.ProjectFreeDecision.Model;
89
+ type Action$N = Cooperative.Registry.DecisionOfParticipantApplication.Action;
90
+ type Model$N = Cooperative.Registry.DecisionOfParticipantApplication.Model;
119
91
  declare const Schema$N: JSONSchemaType<Model$N>;
120
92
  declare const Template$N: ITemplate<Model$N>;
121
93
 
122
- declare namespace ProjectFreeDecision {
94
+ declare namespace DecisionOfParticipantApplication {
123
95
  export { Schema$N as Schema, Template$N as Template, registry_id$N as registry_id };
124
96
  export type { Action$N as Action, Model$N as Model };
125
97
  }
126
98
 
127
- declare const registry_id$M = 600;
99
+ declare const registry_id$M = 101;
128
100
  /**
129
- * Интерфейс генерации решения совета
101
+ * Интерфейс генерации заявления на вступление в кооператив
130
102
  */
131
- type Action$M = Cooperative.Registry.FreeDecision.Action;
132
- type Model$M = Cooperative.Registry.FreeDecision.Model;
103
+ type Action$M = Cooperative.Registry.SelectBranchStatement.Action;
104
+ type Model$M = Cooperative.Registry.SelectBranchStatement.Model;
133
105
  declare const Schema$M: JSONSchemaType<Model$M>;
134
106
  declare const Template$M: ITemplate<Model$M>;
135
107
 
136
- declare namespace FreeDecision {
108
+ declare namespace SelectBranchStatement {
137
109
  export { Schema$M as Schema, Template$M as Template, registry_id$M as registry_id };
138
110
  export type { Action$M as Action, Model$M as Model };
139
111
  }
140
112
 
141
- declare const registry_id$L = 700;
142
- type Action$L = Cooperative.Registry.AssetContributionStatement.Action;
143
- type Model$L = Cooperative.Registry.AssetContributionStatement.Model;
113
+ declare const registry_id$L = 599;
114
+ /**
115
+ * Интерфейс генерации решения совета
116
+ */
117
+ type Action$L = Cooperative.Registry.ProjectFreeDecision.Action;
118
+ type Model$L = Cooperative.Registry.ProjectFreeDecision.Model;
144
119
  declare const Schema$L: JSONSchemaType<Model$L>;
145
120
  declare const Template$L: ITemplate<Model$L>;
146
121
 
147
- declare namespace AssetContributionStatement {
122
+ declare namespace ProjectFreeDecision {
148
123
  export { Schema$L as Schema, Template$L as Template, registry_id$L as registry_id };
149
124
  export type { Action$L as Action, Model$L as Model };
150
125
  }
151
126
 
152
- declare const registry_id$K = 800;
153
- type Action$K = Cooperative.Registry.ReturnByAssetStatement.Action;
154
- type Model$K = Cooperative.Registry.ReturnByAssetStatement.Model;
127
+ declare const registry_id$K = 600;
128
+ /**
129
+ * Интерфейс генерации решения совета
130
+ */
131
+ type Action$K = Cooperative.Registry.FreeDecision.Action;
132
+ type Model$K = Cooperative.Registry.FreeDecision.Model;
155
133
  declare const Schema$K: JSONSchemaType<Model$K>;
156
134
  declare const Template$K: ITemplate<Model$K>;
157
135
 
158
- declare namespace ReturnByAssetStatement {
136
+ declare namespace FreeDecision {
159
137
  export { Schema$K as Schema, Template$K as Template, registry_id$K as registry_id };
160
138
  export type { Action$K as Action, Model$K as Model };
161
139
  }
162
140
 
163
- declare const registry_id$J = 701;
164
- type Action$J = Cooperative.Registry.AssetContributionDecision.Action;
165
- type Model$J = Cooperative.Registry.AssetContributionDecision.Model;
141
+ declare const registry_id$J = 700;
142
+ type Action$J = Cooperative.Registry.AssetContributionStatement.Action;
143
+ type Model$J = Cooperative.Registry.AssetContributionStatement.Model;
166
144
  declare const Schema$J: JSONSchemaType<Model$J>;
167
145
  declare const Template$J: ITemplate<Model$J>;
168
146
 
169
- declare namespace AssetContributionDecision {
147
+ declare namespace AssetContributionStatement {
170
148
  export { Schema$J as Schema, Template$J as Template, registry_id$J as registry_id };
171
149
  export type { Action$J as Action, Model$J as Model };
172
150
  }
173
151
 
174
- declare const registry_id$I = 801;
175
- type Action$I = Cooperative.Registry.ReturnByAssetDecision.Action;
176
- type Model$I = Cooperative.Registry.ReturnByAssetDecision.Model;
152
+ declare const registry_id$I = 800;
153
+ type Action$I = Cooperative.Registry.ReturnByAssetStatement.Action;
154
+ type Model$I = Cooperative.Registry.ReturnByAssetStatement.Model;
177
155
  declare const Schema$I: JSONSchemaType<Model$I>;
178
156
  declare const Template$I: ITemplate<Model$I>;
179
157
 
180
- declare namespace ReturnByAssetDecision {
158
+ declare namespace ReturnByAssetStatement {
181
159
  export { Schema$I as Schema, Template$I as Template, registry_id$I as registry_id };
182
160
  export type { Action$I as Action, Model$I as Model };
183
161
  }
184
162
 
185
- declare const registry_id$H = 702;
186
- type Action$H = Cooperative.Registry.AssetContributionAct.Action;
187
- type Model$H = Cooperative.Registry.AssetContributionAct.Model;
163
+ declare const registry_id$H = 701;
164
+ type Action$H = Cooperative.Registry.AssetContributionDecision.Action;
165
+ type Model$H = Cooperative.Registry.AssetContributionDecision.Model;
188
166
  declare const Schema$H: JSONSchemaType<Model$H>;
189
167
  declare const Template$H: ITemplate<Model$H>;
190
168
 
191
- declare namespace AssetContributionAct {
169
+ declare namespace AssetContributionDecision {
192
170
  export { Schema$H as Schema, Template$H as Template, registry_id$H as registry_id };
193
171
  export type { Action$H as Action, Model$H as Model };
194
172
  }
195
173
 
196
- declare const registry_id$G = 802;
197
- type Action$G = Cooperative.Registry.ReturnByAssetAct.Action;
198
- type Model$G = Cooperative.Registry.ReturnByAssetAct.Model;
174
+ declare const registry_id$G = 801;
175
+ type Action$G = Cooperative.Registry.ReturnByAssetDecision.Action;
176
+ type Model$G = Cooperative.Registry.ReturnByAssetDecision.Model;
199
177
  declare const Schema$G: JSONSchemaType<Model$G>;
200
178
  declare const Template$G: ITemplate<Model$G>;
201
179
 
202
- declare namespace ReturnByAssetAct {
180
+ declare namespace ReturnByAssetDecision {
203
181
  export { Schema$G as Schema, Template$G as Template, registry_id$G as registry_id };
204
182
  export type { Action$G as Action, Model$G as Model };
205
183
  }
206
184
 
207
- declare const registry_id$F = 900;
208
- type Action$F = Cooperative.Registry.ReturnByMoney.Action;
209
- type Model$F = Cooperative.Registry.ReturnByMoney.Model;
185
+ declare const registry_id$F = 702;
186
+ type Action$F = Cooperative.Registry.AssetContributionAct.Action;
187
+ type Model$F = Cooperative.Registry.AssetContributionAct.Model;
210
188
  declare const Schema$F: JSONSchemaType<Model$F>;
211
189
  declare const Template$F: ITemplate<Model$F>;
212
190
 
213
- declare namespace ReturnByMoney {
191
+ declare namespace AssetContributionAct {
214
192
  export { Schema$F as Schema, Template$F as Template, registry_id$F as registry_id };
215
193
  export type { Action$F as Action, Model$F as Model };
216
194
  }
217
195
 
218
- declare const registry_id$E = 901;
219
- type Action$E = Cooperative.Registry.ReturnByMoneyDecision.Action;
220
- type Model$E = Cooperative.Registry.ReturnByMoneyDecision.Model;
196
+ declare const registry_id$E = 802;
197
+ type Action$E = Cooperative.Registry.ReturnByAssetAct.Action;
198
+ type Model$E = Cooperative.Registry.ReturnByAssetAct.Model;
221
199
  declare const Schema$E: JSONSchemaType<Model$E>;
222
200
  declare const Template$E: ITemplate<Model$E>;
223
201
 
224
- declare namespace ReturnByMoneyDecision {
202
+ declare namespace ReturnByAssetAct {
225
203
  export { Schema$E as Schema, Template$E as Template, registry_id$E as registry_id };
226
204
  export type { Action$E as Action, Model$E as Model };
227
205
  }
228
206
 
229
- declare const registry_id$D = 1001;
230
- type Action$D = Cooperative.Registry.GenerationContract.Action;
231
- type Model$D = Cooperative.Registry.GenerationContract.Model;
207
+ declare const registry_id$D = 900;
208
+ type Action$D = Cooperative.Registry.ReturnByMoney.Action;
209
+ type Model$D = Cooperative.Registry.ReturnByMoney.Model;
232
210
  declare const Schema$D: JSONSchemaType<Model$D>;
233
211
  declare const Template$D: ITemplate<Model$D>;
234
212
 
235
- declare namespace GenerationContract {
213
+ declare namespace ReturnByMoney {
236
214
  export { Schema$D as Schema, Template$D as Template, registry_id$D as registry_id };
237
215
  export type { Action$D as Action, Model$D as Model };
238
216
  }
239
217
 
240
- declare const registry_id$C = 1002;
241
- type Action$C = Cooperative.Registry.ProjectGenerationContract.Action;
242
- type Model$C = Cooperative.Registry.ProjectGenerationContract.Model;
218
+ declare const registry_id$C = 901;
219
+ type Action$C = Cooperative.Registry.ReturnByMoneyDecision.Action;
220
+ type Model$C = Cooperative.Registry.ReturnByMoneyDecision.Model;
243
221
  declare const Schema$C: JSONSchemaType<Model$C>;
244
222
  declare const Template$C: ITemplate<Model$C>;
245
223
 
246
- declare namespace ProjectGenerationContract {
224
+ declare namespace ReturnByMoneyDecision {
247
225
  export { Schema$C as Schema, Template$C as Template, registry_id$C as registry_id };
248
226
  export type { Action$C as Action, Model$C as Model };
249
227
  }
250
228
 
251
- declare const registry_id$B = 1003;
252
- type Action$B = Cooperative.Registry.ComponentGenerationContract.Action;
253
- type Model$B = Cooperative.Registry.ComponentGenerationContract.Model;
229
+ declare const registry_id$B = 1001;
230
+ type Action$B = Cooperative.Registry.GenerationContract.Action;
231
+ type Model$B = Cooperative.Registry.GenerationContract.Model;
254
232
  declare const Schema$B: JSONSchemaType<Model$B>;
255
233
  declare const Template$B: ITemplate<Model$B>;
256
234
 
257
- declare namespace ComponentGenerationContract {
235
+ declare namespace GenerationContract {
258
236
  export { Schema$B as Schema, Template$B as Template, registry_id$B as registry_id };
259
237
  export type { Action$B as Action, Model$B as Model };
260
238
  }
261
239
 
262
- declare const registry_id$A = 1004;
263
- type Action$A = Cooperative.Registry.StorageAgreement.Action;
264
- type Model$A = Cooperative.Registry.StorageAgreement.Model;
240
+ declare const registry_id$A = 1002;
241
+ type Action$A = Cooperative.Registry.ProjectGenerationContract.Action;
242
+ type Model$A = Cooperative.Registry.ProjectGenerationContract.Model;
265
243
  declare const Schema$A: JSONSchemaType<Model$A>;
266
244
  declare const Template$A: ITemplate<Model$A>;
267
245
 
268
- declare namespace StorageAgreement {
246
+ declare namespace ProjectGenerationContract {
269
247
  export { Schema$A as Schema, Template$A as Template, registry_id$A as registry_id };
270
248
  export type { Action$A as Action, Model$A as Model };
271
249
  }
272
250
 
273
- declare const registry_id$z = 1007;
274
- type Action$z = Cooperative.Registry.BlagorostAgreement.Action;
275
- type Model$z = Cooperative.Registry.BlagorostAgreement.Model;
251
+ declare const registry_id$z = 1003;
252
+ type Action$z = Cooperative.Registry.ComponentGenerationContract.Action;
253
+ type Model$z = Cooperative.Registry.ComponentGenerationContract.Model;
276
254
  declare const Schema$z: JSONSchemaType<Model$z>;
277
255
  declare const Template$z: ITemplate<Model$z>;
278
256
 
279
- declare namespace BlagorostAgreement {
257
+ declare namespace ComponentGenerationContract {
280
258
  export { Schema$z as Schema, Template$z as Template, registry_id$z as registry_id };
281
259
  export type { Action$z as Action, Model$z as Model };
282
260
  }
283
261
 
284
- declare const registry_id$y = 1005;
285
- type Action$y = Cooperative.Registry.InitProjectStatement.Action;
286
- type Model$y = Cooperative.Registry.InitProjectStatement.Model;
262
+ declare const registry_id$y = 1004;
263
+ type Action$y = Cooperative.Registry.StorageAgreement.Action;
264
+ type Model$y = Cooperative.Registry.StorageAgreement.Model;
287
265
  declare const Schema$y: JSONSchemaType<Model$y>;
288
266
  declare const Template$y: ITemplate<Model$y>;
289
267
 
290
- declare namespace InitProjectStatement {
268
+ declare namespace StorageAgreement {
291
269
  export { Schema$y as Schema, Template$y as Template, registry_id$y as registry_id };
292
270
  export type { Action$y as Action, Model$y as Model };
293
271
  }
294
272
 
295
- declare const registry_id$x = 1006;
296
- /**
297
- * Интерфейс генерации решения совета по инициализации проекта
298
- */
299
- type Action$x = Cooperative.Registry.InitProjectDecision.Action;
300
- type Model$x = Cooperative.Registry.InitProjectDecision.Model;
273
+ declare const registry_id$x = 1007;
274
+ type Action$x = Cooperative.Registry.BlagorostAgreement.Action;
275
+ type Model$x = Cooperative.Registry.BlagorostAgreement.Model;
301
276
  declare const Schema$x: JSONSchemaType<Model$x>;
302
277
  declare const Template$x: ITemplate<Model$x>;
303
278
 
304
- declare namespace InitProjectDecision {
279
+ declare namespace BlagorostAgreement {
305
280
  export { Schema$x as Schema, Template$x as Template, registry_id$x as registry_id };
306
281
  export type { Action$x as Action, Model$x as Model };
307
282
  }
308
283
 
309
- declare const registry_id$w = 1010;
310
- type Action$w = Cooperative.Registry.ExpenseStatement.Action;
311
- type Model$w = Cooperative.Registry.ExpenseStatement.Model;
284
+ declare const registry_id$w = 1005;
285
+ type Action$w = Cooperative.Registry.InitProjectStatement.Action;
286
+ type Model$w = Cooperative.Registry.InitProjectStatement.Model;
312
287
  declare const Schema$w: JSONSchemaType<Model$w>;
313
288
  declare const Template$w: ITemplate<Model$w>;
314
289
 
315
- declare namespace ExpenseStatement {
290
+ declare namespace InitProjectStatement {
316
291
  export { Schema$w as Schema, Template$w as Template, registry_id$w as registry_id };
317
292
  export type { Action$w as Action, Model$w as Model };
318
293
  }
319
294
 
320
- declare const registry_id$v = 1011;
321
- type Action$v = Cooperative.Registry.ExpenseDecision.Action;
322
- type Model$v = Cooperative.Registry.ExpenseDecision.Model;
295
+ declare const registry_id$v = 1006;
296
+ /**
297
+ * Интерфейс генерации решения совета по инициализации проекта
298
+ */
299
+ type Action$v = Cooperative.Registry.InitProjectDecision.Action;
300
+ type Model$v = Cooperative.Registry.InitProjectDecision.Model;
323
301
  declare const Schema$v: JSONSchemaType<Model$v>;
324
302
  declare const Template$v: ITemplate<Model$v>;
325
303
 
326
- declare namespace ExpenseDecision {
304
+ declare namespace InitProjectDecision {
327
305
  export { Schema$v as Schema, Template$v as Template, registry_id$v as registry_id };
328
306
  export type { Action$v as Action, Model$v as Model };
329
307
  }
330
308
 
331
- declare const registry_id$u = 1020;
332
- type Action$u = Cooperative.Registry.GenerationMoneyInvestStatement.Action;
333
- type Model$u = Cooperative.Registry.GenerationMoneyInvestStatement.Model;
309
+ declare const registry_id$u = 1010;
310
+ type Action$u = Cooperative.Registry.ExpenseStatement.Action;
311
+ type Model$u = Cooperative.Registry.ExpenseStatement.Model;
334
312
  declare const Schema$u: JSONSchemaType<Model$u>;
335
313
  declare const Template$u: ITemplate<Model$u>;
336
314
 
337
- declare namespace GenerationMoneyInvestStatement {
315
+ declare namespace ExpenseStatement {
338
316
  export { Schema$u as Schema, Template$u as Template, registry_id$u as registry_id };
339
317
  export type { Action$u as Action, Model$u as Model };
340
318
  }
341
319
 
342
- declare const registry_id$t = 1025;
343
- type Action$t = Cooperative.Registry.GenerationMoneyReturnUnusedStatement.Action;
344
- type Model$t = Cooperative.Registry.GenerationMoneyReturnUnusedStatement.Model;
320
+ declare const registry_id$t = 1011;
321
+ type Action$t = Cooperative.Registry.ExpenseDecision.Action;
322
+ type Model$t = Cooperative.Registry.ExpenseDecision.Model;
345
323
  declare const Schema$t: JSONSchemaType<Model$t>;
346
324
  declare const Template$t: ITemplate<Model$t>;
347
325
 
348
- declare namespace GenerationMoneyReturnUnusedStatement {
326
+ declare namespace ExpenseDecision {
349
327
  export { Schema$t as Schema, Template$t as Template, registry_id$t as registry_id };
350
328
  export type { Action$t as Action, Model$t as Model };
351
329
  }
352
330
 
353
- declare const registry_id$s = 1030;
354
- type Action$s = Cooperative.Registry.CapitalizationMoneyInvestStatement.Action;
355
- type Model$s = Cooperative.Registry.CapitalizationMoneyInvestStatement.Model;
331
+ declare const registry_id$s = 1020;
332
+ type Action$s = Cooperative.Registry.GenerationMoneyInvestStatement.Action;
333
+ type Model$s = Cooperative.Registry.GenerationMoneyInvestStatement.Model;
356
334
  declare const Schema$s: JSONSchemaType<Model$s>;
357
335
  declare const Template$s: ITemplate<Model$s>;
358
336
 
359
- declare namespace CapitalizationMoneyInvestStatement {
337
+ declare namespace GenerationMoneyInvestStatement {
360
338
  export { Schema$s as Schema, Template$s as Template, registry_id$s as registry_id };
361
339
  export type { Action$s as Action, Model$s as Model };
362
340
  }
363
341
 
364
- declare const registry_id$r = 1040;
365
- type Action$r = Cooperative.Registry.ResultContributionStatement.Action;
366
- type Model$r = Cooperative.Registry.ResultContributionStatement.Model;
342
+ declare const registry_id$r = 1025;
343
+ type Action$r = Cooperative.Registry.GenerationMoneyReturnUnusedStatement.Action;
344
+ type Model$r = Cooperative.Registry.GenerationMoneyReturnUnusedStatement.Model;
367
345
  declare const Schema$r: JSONSchemaType<Model$r>;
368
346
  declare const Template$r: ITemplate<Model$r>;
369
347
 
370
- declare namespace ResultContributionStatement {
348
+ declare namespace GenerationMoneyReturnUnusedStatement {
371
349
  export { Schema$r as Schema, Template$r as Template, registry_id$r as registry_id };
372
350
  export type { Action$r as Action, Model$r as Model };
373
351
  }
374
352
 
375
- declare const registry_id$q = 1041;
376
- type Action$q = Cooperative.Registry.ResultContributionDecision.Action;
377
- type Model$q = Cooperative.Registry.ResultContributionDecision.Model;
353
+ declare const registry_id$q = 1030;
354
+ type Action$q = Cooperative.Registry.CapitalizationMoneyInvestStatement.Action;
355
+ type Model$q = Cooperative.Registry.CapitalizationMoneyInvestStatement.Model;
378
356
  declare const Schema$q: JSONSchemaType<Model$q>;
379
357
  declare const Template$q: ITemplate<Model$q>;
380
358
 
381
- declare namespace ResultContributionDecision {
359
+ declare namespace CapitalizationMoneyInvestStatement {
382
360
  export { Schema$q as Schema, Template$q as Template, registry_id$q as registry_id };
383
361
  export type { Action$q as Action, Model$q as Model };
384
362
  }
385
363
 
386
- declare const registry_id$p = 1042;
387
- type Action$p = Cooperative.Registry.ResultContributionAct.Action;
388
- type Model$p = Cooperative.Registry.ResultContributionAct.Model;
364
+ declare const registry_id$p = 1040;
365
+ type Action$p = Cooperative.Registry.ResultContributionStatement.Action;
366
+ type Model$p = Cooperative.Registry.ResultContributionStatement.Model;
389
367
  declare const Schema$p: JSONSchemaType<Model$p>;
390
368
  declare const Template$p: ITemplate<Model$p>;
391
369
 
392
- declare namespace ResultContributionAct {
370
+ declare namespace ResultContributionStatement {
393
371
  export { Schema$p as Schema, Template$p as Template, registry_id$p as registry_id };
394
372
  export type { Action$p as Action, Model$p as Model };
395
373
  }
396
374
 
397
- declare const registry_id$o = 1050;
398
- type Action$o = Cooperative.Registry.GetLoanStatement.Action;
399
- type Model$o = Cooperative.Registry.GetLoanStatement.Model;
375
+ declare const registry_id$o = 1041;
376
+ type Action$o = Cooperative.Registry.ResultContributionDecision.Action;
377
+ type Model$o = Cooperative.Registry.ResultContributionDecision.Model;
400
378
  declare const Schema$o: JSONSchemaType<Model$o>;
401
379
  declare const Template$o: ITemplate<Model$o>;
402
380
 
403
- declare namespace GetLoanStatement {
381
+ declare namespace ResultContributionDecision {
404
382
  export { Schema$o as Schema, Template$o as Template, registry_id$o as registry_id };
405
383
  export type { Action$o as Action, Model$o as Model };
406
384
  }
407
385
 
408
- declare const registry_id$n = 1051;
409
- type Action$n = Cooperative.Registry.GetLoanDecision.Action;
410
- type Model$n = Cooperative.Registry.GetLoanDecision.Model;
386
+ declare const registry_id$n = 1042;
387
+ type Action$n = Cooperative.Registry.ResultContributionAct.Action;
388
+ type Model$n = Cooperative.Registry.ResultContributionAct.Model;
411
389
  declare const Schema$n: JSONSchemaType<Model$n>;
412
390
  declare const Template$n: ITemplate<Model$n>;
413
391
 
414
- declare namespace GetLoanDecision {
392
+ declare namespace ResultContributionAct {
415
393
  export { Schema$n as Schema, Template$n as Template, registry_id$n as registry_id };
416
394
  export type { Action$n as Action, Model$n as Model };
417
395
  }
418
396
 
419
- declare const registry_id$m = 1060;
420
- type Action$m = Cooperative.Registry.GenerationPropertyInvestStatement.Action;
421
- type Model$m = Cooperative.Registry.GenerationPropertyInvestStatement.Model;
397
+ declare const registry_id$m = 1050;
398
+ type Action$m = Cooperative.Registry.GetLoanStatement.Action;
399
+ type Model$m = Cooperative.Registry.GetLoanStatement.Model;
422
400
  declare const Schema$m: JSONSchemaType<Model$m>;
423
401
  declare const Template$m: ITemplate<Model$m>;
424
402
 
425
- declare namespace GenerationPropertyInvestStatement {
403
+ declare namespace GetLoanStatement {
426
404
  export { Schema$m as Schema, Template$m as Template, registry_id$m as registry_id };
427
405
  export type { Action$m as Action, Model$m as Model };
428
406
  }
429
407
 
430
- declare const registry_id$l = 1061;
431
- type Action$l = Cooperative.Registry.GenerationPropertyInvestDecision.Action;
432
- type Model$l = Cooperative.Registry.GenerationPropertyInvestDecision.Model;
408
+ declare const registry_id$l = 1051;
409
+ type Action$l = Cooperative.Registry.GetLoanDecision.Action;
410
+ type Model$l = Cooperative.Registry.GetLoanDecision.Model;
433
411
  declare const Schema$l: JSONSchemaType<Model$l>;
434
412
  declare const Template$l: ITemplate<Model$l>;
435
413
 
436
- declare namespace GenerationPropertyInvestDecision {
414
+ declare namespace GetLoanDecision {
437
415
  export { Schema$l as Schema, Template$l as Template, registry_id$l as registry_id };
438
416
  export type { Action$l as Action, Model$l as Model };
439
417
  }
440
418
 
441
- declare const registry_id$k = 1062;
442
- type Action$k = Cooperative.Registry.GenerationPropertyInvestAct.Action;
443
- type Model$k = Cooperative.Registry.GenerationPropertyInvestAct.Model;
419
+ declare const registry_id$k = 1060;
420
+ type Action$k = Cooperative.Registry.GenerationPropertyInvestStatement.Action;
421
+ type Model$k = Cooperative.Registry.GenerationPropertyInvestStatement.Model;
444
422
  declare const Schema$k: JSONSchemaType<Model$k>;
445
423
  declare const Template$k: ITemplate<Model$k>;
446
424
 
447
- declare namespace GenerationPropertyInvestAct {
425
+ declare namespace GenerationPropertyInvestStatement {
448
426
  export { Schema$k as Schema, Template$k as Template, registry_id$k as registry_id };
449
427
  export type { Action$k as Action, Model$k as Model };
450
428
  }
451
429
 
452
- declare const registry_id$j = 1070;
453
- type Action$j = Cooperative.Registry.CapitalizationPropertyInvestStatement.Action;
454
- type Model$j = Cooperative.Registry.CapitalizationPropertyInvestStatement.Model;
430
+ declare const registry_id$j = 1061;
431
+ type Action$j = Cooperative.Registry.GenerationPropertyInvestDecision.Action;
432
+ type Model$j = Cooperative.Registry.GenerationPropertyInvestDecision.Model;
455
433
  declare const Schema$j: JSONSchemaType<Model$j>;
456
434
  declare const Template$j: ITemplate<Model$j>;
457
435
 
458
- declare namespace CapitalizationPropertyInvestStatement {
436
+ declare namespace GenerationPropertyInvestDecision {
459
437
  export { Schema$j as Schema, Template$j as Template, registry_id$j as registry_id };
460
438
  export type { Action$j as Action, Model$j as Model };
461
439
  }
462
440
 
463
- declare const registry_id$i = 1071;
464
- type Action$i = Cooperative.Registry.CapitalizationPropertyInvestDecision.Action;
465
- type Model$i = Cooperative.Registry.CapitalizationPropertyInvestDecision.Model;
441
+ declare const registry_id$i = 1062;
442
+ type Action$i = Cooperative.Registry.GenerationPropertyInvestAct.Action;
443
+ type Model$i = Cooperative.Registry.GenerationPropertyInvestAct.Model;
466
444
  declare const Schema$i: JSONSchemaType<Model$i>;
467
445
  declare const Template$i: ITemplate<Model$i>;
468
446
 
469
- declare namespace CapitalizationPropertyInvestDecision {
447
+ declare namespace GenerationPropertyInvestAct {
470
448
  export { Schema$i as Schema, Template$i as Template, registry_id$i as registry_id };
471
449
  export type { Action$i as Action, Model$i as Model };
472
450
  }
473
451
 
474
- declare const registry_id$h = 1072;
475
- type Action$h = Cooperative.Registry.CapitalizationPropertyInvestAct.Action;
476
- type Model$h = Cooperative.Registry.CapitalizationPropertyInvestAct.Model;
452
+ declare const registry_id$h = 1070;
453
+ type Action$h = Cooperative.Registry.CapitalizationPropertyInvestStatement.Action;
454
+ type Model$h = Cooperative.Registry.CapitalizationPropertyInvestStatement.Model;
477
455
  declare const Schema$h: JSONSchemaType<Model$h>;
478
456
  declare const Template$h: ITemplate<Model$h>;
479
457
 
480
- declare namespace CapitalizationPropertyInvestAct {
458
+ declare namespace CapitalizationPropertyInvestStatement {
481
459
  export { Schema$h as Schema, Template$h as Template, registry_id$h as registry_id };
482
460
  export type { Action$h as Action, Model$h as Model };
483
461
  }
484
462
 
485
- declare const registry_id$g = 1080;
486
- type Action$g = Cooperative.Registry.GenerationToMainWalletConvertStatement.Action;
487
- type Model$g = Cooperative.Registry.GenerationToMainWalletConvertStatement.Model;
463
+ declare const registry_id$g = 1071;
464
+ type Action$g = Cooperative.Registry.CapitalizationPropertyInvestDecision.Action;
465
+ type Model$g = Cooperative.Registry.CapitalizationPropertyInvestDecision.Model;
488
466
  declare const Schema$g: JSONSchemaType<Model$g>;
489
467
  declare const Template$g: ITemplate<Model$g>;
490
468
 
491
- declare namespace GenerationToMainWalletConvertStatement {
469
+ declare namespace CapitalizationPropertyInvestDecision {
492
470
  export { Schema$g as Schema, Template$g as Template, registry_id$g as registry_id };
493
471
  export type { Action$g as Action, Model$g as Model };
494
472
  }
495
473
 
496
- declare const registry_id$f = 1081;
497
- type Action$f = Cooperative.Registry.GenerationToProjectConvertStatement.Action;
498
- type Model$f = Cooperative.Registry.GenerationToProjectConvertStatement.Model;
474
+ declare const registry_id$f = 1072;
475
+ type Action$f = Cooperative.Registry.CapitalizationPropertyInvestAct.Action;
476
+ type Model$f = Cooperative.Registry.CapitalizationPropertyInvestAct.Model;
499
477
  declare const Schema$f: JSONSchemaType<Model$f>;
500
478
  declare const Template$f: ITemplate<Model$f>;
501
479
 
502
- declare namespace GenerationToProjectConvertStatement {
480
+ declare namespace CapitalizationPropertyInvestAct {
503
481
  export { Schema$f as Schema, Template$f as Template, registry_id$f as registry_id };
504
482
  export type { Action$f as Action, Model$f as Model };
505
483
  }
506
484
 
507
- declare const registry_id$e = 1082;
508
- type Action$e = Cooperative.Registry.GenerationToCapitalizationConvertStatement.Action;
509
- type Model$e = Cooperative.Registry.GenerationToCapitalizationConvertStatement.Model;
485
+ declare const registry_id$e = 1080;
486
+ type Action$e = Cooperative.Registry.GenerationConvertStatement.Action;
487
+ type Model$e = Cooperative.Registry.GenerationConvertStatement.Model;
510
488
  declare const Schema$e: JSONSchemaType<Model$e>;
511
489
  declare const Template$e: ITemplate<Model$e>;
512
490
 
513
- declare namespace GenerationToCapitalizationConvertStatement {
491
+ declare namespace GenerationConvertStatement {
514
492
  export { Schema$e as Schema, Template$e as Template, registry_id$e as registry_id };
515
493
  export type { Action$e as Action, Model$e as Model };
516
494
  }
@@ -911,9 +889,7 @@ declare const Registry: {
911
889
  1070: typeof CapitalizationPropertyInvestStatement;
912
890
  1071: typeof CapitalizationPropertyInvestDecision;
913
891
  1072: typeof CapitalizationPropertyInvestAct;
914
- 1080: typeof GenerationToMainWalletConvertStatement;
915
- 1081: typeof GenerationToProjectConvertStatement;
916
- 1082: typeof GenerationToCapitalizationConvertStatement;
892
+ 1080: typeof GenerationConvertStatement;
917
893
  1090: typeof CapitalizationToMainWalletConvertStatement;
918
894
  };
919
895
 
@@ -1051,6 +1027,12 @@ declare abstract class DocFactory<T extends IGenerate> {
1051
1027
  getMeta<T extends IMetaDocumentPartial>({ title, username, coopname, registry_id, links, lang, generator, version, // TODO перенести в .env
1052
1028
  created_at, block_num, timezone, // TODO перенести в .env
1053
1029
  ...restParams }: T): Promise<IMetaDocument>;
1030
+ /**
1031
+ * Truncate (toward-zero) числовой строки до displayPrecision знаков
1032
+ * на уровне строки — без FP-погрешности (0.29 * 100 = 28.999... в IEEE 754).
1033
+ * Принцип: «никогда не показать в документе сумму больше реальной».
1034
+ */
1035
+ private truncateDecimal;
1054
1036
  formatShare(value: string | number, precision?: number): string;
1055
1037
  formatAsset(asset: string, precision?: number): string;
1056
1038
  formatPaymentDetails(paymentMethod: any, recipientName: string): string;
@@ -1098,5 +1080,5 @@ declare class Generator implements IGenerator {
1098
1080
  search(query: string): Promise<ISearchResult[]>;
1099
1081
  }
1100
1082
 
1101
- export { AgendaMeetSchema, AgendaQuestionSchema, AnnualGeneralMeetingAgenda, AnnualGeneralMeetingDecision, AnnualGeneralMeetingNotification, AnnualGeneralMeetingSovietDecision, AnnualGeneralMeetingVotingBallot, AssetContributionAct, AssetContributionDecision, AssetContributionStatement, BankAccountSchema, BlagorostAgreement, BlagorostOffer, BlagorostOfferTemplate, BlagorostProgramTemplate, CapitalizationMoneyInvestStatement, CapitalizationPropertyInvestAct, CapitalizationPropertyInvestDecision, CapitalizationPropertyInvestStatement, CapitalizationToMainWalletConvertStatement, CommonUserSchema, ComponentGenerationContract, ConvertToAxonStatement, CoopenomicsAgreement, CooperativeSchema, DecisionOfParticipantApplication, ExpenseDecision, ExpenseStatement, FreeDecision, GenerationContract, GenerationContractTemplate, GenerationMoneyInvestStatement, GenerationMoneyReturnUnusedStatement, GenerationPropertyInvestAct, GenerationPropertyInvestDecision, GenerationPropertyInvestStatement, GenerationToCapitalizationConvertStatement, GenerationToMainWalletConvertStatement, GenerationToProjectConvertStatement, Generator, GeneratorOffer, GeneratorOfferTemplate, GeneratorProgramTemplate, GetLoanDecision, GetLoanStatement, InitProjectDecision, InitProjectStatement, MeetPointSchema, MeetSchema, ParticipantApplication, PrivacyPolicy, ProjectFreeDecision, ProjectGenerationContract, QuestionExtendedSchema, QuestionSchema, Registry, RegulationElectronicSignaturet as RegulationElectronicSignature, ResultContributionAct, ResultContributionDecision, ResultContributionStatement, ReturnByAssetAct, ReturnByAssetDecision, ReturnByAssetStatement, ReturnByMoney, ReturnByMoneyDecision, SelectBranchStatement, SosediAgreement, StorageAgreement, UserAgreement, VarsSchema, WalletAgreement, decisionSchema, entrepreneurSchema, individualSchema, organizationSchema, paymentMethodSchema, udataSchema };
1083
+ export { AgendaMeetSchema, AgendaQuestionSchema, AnnualGeneralMeetingAgenda, AnnualGeneralMeetingDecision, AnnualGeneralMeetingNotification, AnnualGeneralMeetingSovietDecision, AnnualGeneralMeetingVotingBallot, AssetContributionAct, AssetContributionDecision, AssetContributionStatement, BankAccountSchema, BlagorostAgreement, BlagorostOffer, BlagorostOfferTemplate, BlagorostProgramTemplate, CapitalizationMoneyInvestStatement, CapitalizationPropertyInvestAct, CapitalizationPropertyInvestDecision, CapitalizationPropertyInvestStatement, CapitalizationToMainWalletConvertStatement, CommonUserSchema, ComponentGenerationContract, ConvertToAxonStatement, CoopenomicsAgreement, CooperativeSchema, DecisionOfParticipantApplication, ExpenseDecision, ExpenseStatement, FreeDecision, GenerationContract, GenerationContractTemplate, GenerationConvertStatement, GenerationMoneyInvestStatement, GenerationMoneyReturnUnusedStatement, GenerationPropertyInvestAct, GenerationPropertyInvestDecision, GenerationPropertyInvestStatement, Generator, GeneratorOffer, GeneratorOfferTemplate, GeneratorProgramTemplate, GetLoanDecision, GetLoanStatement, InitProjectDecision, InitProjectStatement, MeetPointSchema, MeetSchema, ParticipantApplication, PrivacyPolicy, ProjectFreeDecision, ProjectGenerationContract, QuestionExtendedSchema, QuestionSchema, Registry, RegulationElectronicSignaturet as RegulationElectronicSignature, ResultContributionAct, ResultContributionDecision, ResultContributionStatement, ReturnByAssetAct, ReturnByAssetDecision, ReturnByAssetStatement, ReturnByMoney, ReturnByMoneyDecision, SelectBranchStatement, SosediAgreement, StorageAgreement, UserAgreement, VarsSchema, WalletAgreement, decisionSchema, entrepreneurSchema, individualSchema, organizationSchema, paymentMethodSchema, udataSchema };
1102
1084
  export type { Currency, IBCState, IBankAccount, ICombinedData, CooperativeData as ICooperativeData, ExternalEntrepreneurData as IEntrepreneurData, ExternalProjectData as IExternalProjectData, IFilterActions, IFilterDeltas, IFilterDocuments, IGenerate, IGenerateAgreement, IGenerateJoinCoop, IGenerateJoinCoopDecision, IGeneratedDocument, IGenerationOptions, IGenerator, ExternalIndividualData as IIndividualData, IMetaDocument, IMetaDocumentPartial, ExternalOrganizationData as IOrganizationData, IPaymentData, ISearchResult, ITemplate, ITranslations, ExternalUdata as IUdata, LangType, NestedRecord, Numbers, dataTypes, externalDataTypes, externalDataTypesArrays, internalFilterTypes };