@coopenomics/factory 2025.12.2-alpha-3 → 2026.2.21-alpha-4
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.cjs +2189 -524
- package/dist/index.d.cts +519 -368
- package/dist/index.d.mts +519 -368
- package/dist/index.d.ts +519 -368
- package/dist/index.mjs +2175 -522
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -2,566 +2,625 @@ 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$
|
|
6
|
-
type Action$
|
|
7
|
-
type Model$
|
|
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 { type Action$W as Action, type Model$W as Model, Schema$W as Schema, Template$W as Template, registry_id$W as registry_id };
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare const registry_id$V = 2;
|
|
16
|
+
type Action$V = Cooperative.Registry.RegulationElectronicSignature.Action;
|
|
17
|
+
type Model$V = Cooperative.Registry.RegulationElectronicSignature.Model;
|
|
18
|
+
declare const Schema$V: JSONSchemaType<Model$V>;
|
|
19
|
+
declare const Template$V: ITemplate<Model$V>;
|
|
20
|
+
|
|
21
|
+
declare namespace RegulationElectronicSignaturet {
|
|
22
|
+
export { type Action$V as Action, type Model$V as Model, Schema$V as Schema, Template$V as Template, registry_id$V as registry_id };
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare const registry_id$U = 3;
|
|
26
|
+
type Action$U = Cooperative.Registry.PrivacyPolicy.Action;
|
|
27
|
+
type Model$U = Cooperative.Registry.PrivacyPolicy.Model;
|
|
28
|
+
declare const Schema$U: JSONSchemaType<Model$U>;
|
|
29
|
+
declare const Template$U: ITemplate<Model$U>;
|
|
30
|
+
|
|
31
|
+
declare namespace PrivacyPolicy {
|
|
32
|
+
export { type Action$U as Action, type Model$U as Model, Schema$U as Schema, Template$U as Template, registry_id$U as registry_id };
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
declare const registry_id$T = 4;
|
|
36
|
+
type Action$T = Cooperative.Registry.UserAgreement.Action;
|
|
37
|
+
type Model$T = Cooperative.Registry.UserAgreement.Model;
|
|
38
|
+
declare const Schema$T: JSONSchemaType<Model$T>;
|
|
39
|
+
declare const Template$T: ITemplate<Model$T>;
|
|
40
|
+
|
|
41
|
+
declare namespace UserAgreement {
|
|
42
|
+
export { type Action$T as Action, type Model$T as Model, Schema$T as Schema, Template$T as Template, registry_id$T as registry_id };
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
declare const registry_id$S = 50;
|
|
46
|
+
type Action$S = Cooperative.Registry.CoopenomicsAgreement.Action;
|
|
47
|
+
type Model$S = Cooperative.Registry.CoopenomicsAgreement.Model;
|
|
48
|
+
declare const Schema$S: JSONSchemaType<Model$S>;
|
|
49
|
+
declare const Template$S: ITemplate<Model$S>;
|
|
50
|
+
|
|
51
|
+
declare namespace CoopenomicsAgreement {
|
|
52
|
+
export { type Action$S as Action, type Model$S as Model, Schema$S as Schema, Template$S as Template, registry_id$S as registry_id };
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
declare const registry_id$R = 51;
|
|
56
|
+
type Action$R = Cooperative.Registry.ConvertToAxonStatement.Action;
|
|
57
|
+
type Model$R = Cooperative.Registry.ConvertToAxonStatement.Model;
|
|
58
|
+
declare const Schema$R: JSONSchemaType<Model$R>;
|
|
59
|
+
declare const Template$R: ITemplate<Model$R>;
|
|
60
|
+
|
|
61
|
+
declare namespace ConvertToAxonStatement {
|
|
62
|
+
export { type Action$R as Action, type Model$R as Model, Schema$R as Schema, Template$R as Template, registry_id$R as registry_id };
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
declare const registry_id$Q = 100;
|
|
66
|
+
/**
|
|
67
|
+
* Интерфейс генерации заявления на вступление в кооператив
|
|
68
|
+
*/
|
|
69
|
+
type Action$Q = Cooperative.Registry.ParticipantApplication.Action;
|
|
70
|
+
type Model$Q = Cooperative.Registry.ParticipantApplication.Model;
|
|
71
|
+
declare const Schema$Q: JSONSchemaType<Model$Q>;
|
|
72
|
+
declare const Template$Q: ITemplate<Model$Q>;
|
|
73
|
+
|
|
74
|
+
declare namespace ParticipantApplication {
|
|
75
|
+
export { type Action$Q as Action, type Model$Q as Model, Schema$Q as Schema, Template$Q as Template, registry_id$Q as registry_id };
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
declare const registry_id$P = 501;
|
|
79
|
+
/**
|
|
80
|
+
* Интерфейс генерации решения совета
|
|
81
|
+
*/
|
|
82
|
+
type Action$P = Cooperative.Registry.DecisionOfParticipantApplication.Action;
|
|
83
|
+
type Model$P = Cooperative.Registry.DecisionOfParticipantApplication.Model;
|
|
84
|
+
declare const Schema$P: JSONSchemaType<Model$P>;
|
|
85
|
+
declare const Template$P: ITemplate<Model$P>;
|
|
86
|
+
|
|
87
|
+
declare namespace DecisionOfParticipantApplication {
|
|
88
|
+
export { type Action$P as Action, type Model$P as Model, Schema$P as Schema, Template$P as Template, registry_id$P as registry_id };
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
declare const registry_id$O = 101;
|
|
92
|
+
/**
|
|
93
|
+
* Интерфейс генерации заявления на вступление в кооператив
|
|
94
|
+
*/
|
|
95
|
+
type Action$O = Cooperative.Registry.SelectBranchStatement.Action;
|
|
96
|
+
type Model$O = Cooperative.Registry.SelectBranchStatement.Model;
|
|
97
|
+
declare const Schema$O: JSONSchemaType<Model$O>;
|
|
98
|
+
declare const Template$O: ITemplate<Model$O>;
|
|
99
|
+
|
|
100
|
+
declare namespace SelectBranchStatement {
|
|
101
|
+
export { type Action$O as Action, type Model$O as Model, Schema$O as Schema, Template$O as Template, registry_id$O as registry_id };
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
declare const registry_id$N = 599;
|
|
105
|
+
/**
|
|
106
|
+
* Интерфейс генерации решения совета
|
|
107
|
+
*/
|
|
108
|
+
type Action$N = Cooperative.Registry.ProjectFreeDecision.Action;
|
|
109
|
+
type Model$N = Cooperative.Registry.ProjectFreeDecision.Model;
|
|
110
|
+
declare const Schema$N: JSONSchemaType<Model$N>;
|
|
111
|
+
declare const Template$N: ITemplate<Model$N>;
|
|
112
|
+
|
|
113
|
+
declare namespace ProjectFreeDecision {
|
|
114
|
+
export { type Action$N as Action, type Model$N as Model, Schema$N as Schema, Template$N as Template, registry_id$N as registry_id };
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
declare const registry_id$M = 600;
|
|
118
|
+
/**
|
|
119
|
+
* Интерфейс генерации решения совета
|
|
120
|
+
*/
|
|
121
|
+
type Action$M = Cooperative.Registry.FreeDecision.Action;
|
|
122
|
+
type Model$M = Cooperative.Registry.FreeDecision.Model;
|
|
123
|
+
declare const Schema$M: JSONSchemaType<Model$M>;
|
|
124
|
+
declare const Template$M: ITemplate<Model$M>;
|
|
125
|
+
|
|
126
|
+
declare namespace FreeDecision {
|
|
127
|
+
export { type Action$M as Action, type Model$M as Model, Schema$M as Schema, Template$M as Template, registry_id$M as registry_id };
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
declare const registry_id$L = 700;
|
|
131
|
+
type Action$L = Cooperative.Registry.AssetContributionStatement.Action;
|
|
132
|
+
type Model$L = Cooperative.Registry.AssetContributionStatement.Model;
|
|
8
133
|
declare const Schema$L: JSONSchemaType<Model$L>;
|
|
9
134
|
declare const Template$L: ITemplate<Model$L>;
|
|
10
135
|
|
|
11
|
-
declare namespace
|
|
136
|
+
declare namespace AssetContributionStatement {
|
|
12
137
|
export { type Action$L as Action, type Model$L as Model, Schema$L as Schema, Template$L as Template, registry_id$L as registry_id };
|
|
13
138
|
}
|
|
14
139
|
|
|
15
|
-
declare const registry_id$K =
|
|
16
|
-
type Action$K = Cooperative.Registry.
|
|
17
|
-
type Model$K = Cooperative.Registry.
|
|
140
|
+
declare const registry_id$K = 800;
|
|
141
|
+
type Action$K = Cooperative.Registry.ReturnByAssetStatement.Action;
|
|
142
|
+
type Model$K = Cooperative.Registry.ReturnByAssetStatement.Model;
|
|
18
143
|
declare const Schema$K: JSONSchemaType<Model$K>;
|
|
19
144
|
declare const Template$K: ITemplate<Model$K>;
|
|
20
145
|
|
|
21
|
-
declare namespace
|
|
146
|
+
declare namespace ReturnByAssetStatement {
|
|
22
147
|
export { type Action$K as Action, type Model$K as Model, Schema$K as Schema, Template$K as Template, registry_id$K as registry_id };
|
|
23
148
|
}
|
|
24
149
|
|
|
25
|
-
declare const registry_id$J =
|
|
26
|
-
type Action$J = Cooperative.Registry.
|
|
27
|
-
type Model$J = Cooperative.Registry.
|
|
150
|
+
declare const registry_id$J = 701;
|
|
151
|
+
type Action$J = Cooperative.Registry.AssetContributionDecision.Action;
|
|
152
|
+
type Model$J = Cooperative.Registry.AssetContributionDecision.Model;
|
|
28
153
|
declare const Schema$J: JSONSchemaType<Model$J>;
|
|
29
154
|
declare const Template$J: ITemplate<Model$J>;
|
|
30
155
|
|
|
31
|
-
declare namespace
|
|
156
|
+
declare namespace AssetContributionDecision {
|
|
32
157
|
export { type Action$J as Action, type Model$J as Model, Schema$J as Schema, Template$J as Template, registry_id$J as registry_id };
|
|
33
158
|
}
|
|
34
159
|
|
|
35
|
-
declare const registry_id$I =
|
|
36
|
-
type Action$I = Cooperative.Registry.
|
|
37
|
-
type Model$I = Cooperative.Registry.
|
|
160
|
+
declare const registry_id$I = 801;
|
|
161
|
+
type Action$I = Cooperative.Registry.ReturnByAssetDecision.Action;
|
|
162
|
+
type Model$I = Cooperative.Registry.ReturnByAssetDecision.Model;
|
|
38
163
|
declare const Schema$I: JSONSchemaType<Model$I>;
|
|
39
164
|
declare const Template$I: ITemplate<Model$I>;
|
|
40
165
|
|
|
41
|
-
declare namespace
|
|
166
|
+
declare namespace ReturnByAssetDecision {
|
|
42
167
|
export { type Action$I as Action, type Model$I as Model, Schema$I as Schema, Template$I as Template, registry_id$I as registry_id };
|
|
43
168
|
}
|
|
44
169
|
|
|
45
|
-
declare const registry_id$H =
|
|
46
|
-
type Action$H = Cooperative.Registry.
|
|
47
|
-
type Model$H = Cooperative.Registry.
|
|
170
|
+
declare const registry_id$H = 702;
|
|
171
|
+
type Action$H = Cooperative.Registry.AssetContributionAct.Action;
|
|
172
|
+
type Model$H = Cooperative.Registry.AssetContributionAct.Model;
|
|
48
173
|
declare const Schema$H: JSONSchemaType<Model$H>;
|
|
49
174
|
declare const Template$H: ITemplate<Model$H>;
|
|
50
175
|
|
|
51
|
-
declare namespace
|
|
176
|
+
declare namespace AssetContributionAct {
|
|
52
177
|
export { type Action$H as Action, type Model$H as Model, Schema$H as Schema, Template$H as Template, registry_id$H as registry_id };
|
|
53
178
|
}
|
|
54
179
|
|
|
55
|
-
declare const registry_id$G =
|
|
56
|
-
type Action$G = Cooperative.Registry.
|
|
57
|
-
type Model$G = Cooperative.Registry.
|
|
180
|
+
declare const registry_id$G = 802;
|
|
181
|
+
type Action$G = Cooperative.Registry.ReturnByAssetAct.Action;
|
|
182
|
+
type Model$G = Cooperative.Registry.ReturnByAssetAct.Model;
|
|
58
183
|
declare const Schema$G: JSONSchemaType<Model$G>;
|
|
59
184
|
declare const Template$G: ITemplate<Model$G>;
|
|
60
185
|
|
|
61
|
-
declare namespace
|
|
186
|
+
declare namespace ReturnByAssetAct {
|
|
62
187
|
export { type Action$G as Action, type Model$G as Model, Schema$G as Schema, Template$G as Template, registry_id$G as registry_id };
|
|
63
188
|
}
|
|
64
189
|
|
|
65
|
-
declare const registry_id$F =
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
*/
|
|
69
|
-
type Action$F = Cooperative.Registry.ParticipantApplication.Action;
|
|
70
|
-
type Model$F = Cooperative.Registry.ParticipantApplication.Model;
|
|
190
|
+
declare const registry_id$F = 900;
|
|
191
|
+
type Action$F = Cooperative.Registry.ReturnByMoney.Action;
|
|
192
|
+
type Model$F = Cooperative.Registry.ReturnByMoney.Model;
|
|
71
193
|
declare const Schema$F: JSONSchemaType<Model$F>;
|
|
72
194
|
declare const Template$F: ITemplate<Model$F>;
|
|
73
195
|
|
|
74
|
-
declare namespace
|
|
196
|
+
declare namespace ReturnByMoney {
|
|
75
197
|
export { type Action$F as Action, type Model$F as Model, Schema$F as Schema, Template$F as Template, registry_id$F as registry_id };
|
|
76
198
|
}
|
|
77
199
|
|
|
78
|
-
declare const registry_id$E =
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
*/
|
|
82
|
-
type Action$E = Cooperative.Registry.DecisionOfParticipantApplication.Action;
|
|
83
|
-
type Model$E = Cooperative.Registry.DecisionOfParticipantApplication.Model;
|
|
200
|
+
declare const registry_id$E = 901;
|
|
201
|
+
type Action$E = Cooperative.Registry.ReturnByMoneyDecision.Action;
|
|
202
|
+
type Model$E = Cooperative.Registry.ReturnByMoneyDecision.Model;
|
|
84
203
|
declare const Schema$E: JSONSchemaType<Model$E>;
|
|
85
204
|
declare const Template$E: ITemplate<Model$E>;
|
|
86
205
|
|
|
87
|
-
declare namespace
|
|
206
|
+
declare namespace ReturnByMoneyDecision {
|
|
88
207
|
export { type Action$E as Action, type Model$E as Model, Schema$E as Schema, Template$E as Template, registry_id$E as registry_id };
|
|
89
208
|
}
|
|
90
209
|
|
|
91
|
-
declare const registry_id$D =
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
*/
|
|
95
|
-
type Action$D = Cooperative.Registry.SelectBranchStatement.Action;
|
|
96
|
-
type Model$D = Cooperative.Registry.SelectBranchStatement.Model;
|
|
210
|
+
declare const registry_id$D = 1001;
|
|
211
|
+
type Action$D = Cooperative.Registry.GenerationContract.Action;
|
|
212
|
+
type Model$D = Cooperative.Registry.GenerationContract.Model;
|
|
97
213
|
declare const Schema$D: JSONSchemaType<Model$D>;
|
|
98
214
|
declare const Template$D: ITemplate<Model$D>;
|
|
99
215
|
|
|
100
|
-
declare namespace
|
|
216
|
+
declare namespace GenerationContract {
|
|
101
217
|
export { type Action$D as Action, type Model$D as Model, Schema$D as Schema, Template$D as Template, registry_id$D as registry_id };
|
|
102
218
|
}
|
|
103
219
|
|
|
104
|
-
declare const registry_id$C =
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
*/
|
|
108
|
-
type Action$C = Cooperative.Registry.ProjectFreeDecision.Action;
|
|
109
|
-
type Model$C = Cooperative.Registry.ProjectFreeDecision.Model;
|
|
220
|
+
declare const registry_id$C = 1002;
|
|
221
|
+
type Action$C = Cooperative.Registry.ProjectGenerationContract.Action;
|
|
222
|
+
type Model$C = Cooperative.Registry.ProjectGenerationContract.Model;
|
|
110
223
|
declare const Schema$C: JSONSchemaType<Model$C>;
|
|
111
224
|
declare const Template$C: ITemplate<Model$C>;
|
|
112
225
|
|
|
113
|
-
declare namespace
|
|
226
|
+
declare namespace ProjectGenerationContract {
|
|
114
227
|
export { type Action$C as Action, type Model$C as Model, Schema$C as Schema, Template$C as Template, registry_id$C as registry_id };
|
|
115
228
|
}
|
|
116
229
|
|
|
117
|
-
declare const registry_id$B =
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
*/
|
|
121
|
-
type Action$B = Cooperative.Registry.FreeDecision.Action;
|
|
122
|
-
type Model$B = Cooperative.Registry.FreeDecision.Model;
|
|
230
|
+
declare const registry_id$B = 1003;
|
|
231
|
+
type Action$B = Cooperative.Registry.ComponentGenerationContract.Action;
|
|
232
|
+
type Model$B = Cooperative.Registry.ComponentGenerationContract.Model;
|
|
123
233
|
declare const Schema$B: JSONSchemaType<Model$B>;
|
|
124
234
|
declare const Template$B: ITemplate<Model$B>;
|
|
125
235
|
|
|
126
|
-
declare namespace
|
|
236
|
+
declare namespace ComponentGenerationContract {
|
|
127
237
|
export { type Action$B as Action, type Model$B as Model, Schema$B as Schema, Template$B as Template, registry_id$B as registry_id };
|
|
128
238
|
}
|
|
129
239
|
|
|
130
|
-
declare const registry_id$A =
|
|
131
|
-
type Action$A = Cooperative.Registry.
|
|
132
|
-
type Model$A = Cooperative.Registry.
|
|
240
|
+
declare const registry_id$A = 1004;
|
|
241
|
+
type Action$A = Cooperative.Registry.StorageAgreement.Action;
|
|
242
|
+
type Model$A = Cooperative.Registry.StorageAgreement.Model;
|
|
133
243
|
declare const Schema$A: JSONSchemaType<Model$A>;
|
|
134
244
|
declare const Template$A: ITemplate<Model$A>;
|
|
135
245
|
|
|
136
|
-
declare namespace
|
|
246
|
+
declare namespace StorageAgreement {
|
|
137
247
|
export { type Action$A as Action, type Model$A as Model, Schema$A as Schema, Template$A as Template, registry_id$A as registry_id };
|
|
138
248
|
}
|
|
139
249
|
|
|
140
|
-
declare const registry_id$z =
|
|
141
|
-
type Action$z = Cooperative.Registry.
|
|
142
|
-
type Model$z = Cooperative.Registry.
|
|
250
|
+
declare const registry_id$z = 1007;
|
|
251
|
+
type Action$z = Cooperative.Registry.BlagorostAgreement.Action;
|
|
252
|
+
type Model$z = Cooperative.Registry.BlagorostAgreement.Model;
|
|
143
253
|
declare const Schema$z: JSONSchemaType<Model$z>;
|
|
144
254
|
declare const Template$z: ITemplate<Model$z>;
|
|
145
255
|
|
|
146
|
-
declare namespace
|
|
256
|
+
declare namespace BlagorostAgreement {
|
|
147
257
|
export { type Action$z as Action, type Model$z as Model, Schema$z as Schema, Template$z as Template, registry_id$z as registry_id };
|
|
148
258
|
}
|
|
149
259
|
|
|
150
|
-
declare const registry_id$y =
|
|
151
|
-
type Action$y = Cooperative.Registry.
|
|
152
|
-
type Model$y = Cooperative.Registry.
|
|
260
|
+
declare const registry_id$y = 1005;
|
|
261
|
+
type Action$y = Cooperative.Registry.InitProjectStatement.Action;
|
|
262
|
+
type Model$y = Cooperative.Registry.InitProjectStatement.Model;
|
|
153
263
|
declare const Schema$y: JSONSchemaType<Model$y>;
|
|
154
264
|
declare const Template$y: ITemplate<Model$y>;
|
|
155
265
|
|
|
156
|
-
declare namespace
|
|
266
|
+
declare namespace InitProjectStatement {
|
|
157
267
|
export { type Action$y as Action, type Model$y as Model, Schema$y as Schema, Template$y as Template, registry_id$y as registry_id };
|
|
158
268
|
}
|
|
159
269
|
|
|
160
|
-
declare const registry_id$x =
|
|
161
|
-
|
|
162
|
-
|
|
270
|
+
declare const registry_id$x = 1006;
|
|
271
|
+
/**
|
|
272
|
+
* Интерфейс генерации решения совета по инициализации проекта
|
|
273
|
+
*/
|
|
274
|
+
type Action$x = Cooperative.Registry.InitProjectDecision.Action;
|
|
275
|
+
type Model$x = Cooperative.Registry.InitProjectDecision.Model;
|
|
163
276
|
declare const Schema$x: JSONSchemaType<Model$x>;
|
|
164
277
|
declare const Template$x: ITemplate<Model$x>;
|
|
165
278
|
|
|
166
|
-
declare namespace
|
|
279
|
+
declare namespace InitProjectDecision {
|
|
167
280
|
export { type Action$x as Action, type Model$x as Model, Schema$x as Schema, Template$x as Template, registry_id$x as registry_id };
|
|
168
281
|
}
|
|
169
282
|
|
|
170
|
-
declare const registry_id$w =
|
|
171
|
-
type Action$w = Cooperative.Registry.
|
|
172
|
-
type Model$w = Cooperative.Registry.
|
|
283
|
+
declare const registry_id$w = 1010;
|
|
284
|
+
type Action$w = Cooperative.Registry.ExpenseStatement.Action;
|
|
285
|
+
type Model$w = Cooperative.Registry.ExpenseStatement.Model;
|
|
173
286
|
declare const Schema$w: JSONSchemaType<Model$w>;
|
|
174
287
|
declare const Template$w: ITemplate<Model$w>;
|
|
175
288
|
|
|
176
|
-
declare namespace
|
|
289
|
+
declare namespace ExpenseStatement {
|
|
177
290
|
export { type Action$w as Action, type Model$w as Model, Schema$w as Schema, Template$w as Template, registry_id$w as registry_id };
|
|
178
291
|
}
|
|
179
292
|
|
|
180
|
-
declare const registry_id$v =
|
|
181
|
-
type Action$v = Cooperative.Registry.
|
|
182
|
-
type Model$v = Cooperative.Registry.
|
|
293
|
+
declare const registry_id$v = 1011;
|
|
294
|
+
type Action$v = Cooperative.Registry.ExpenseDecision.Action;
|
|
295
|
+
type Model$v = Cooperative.Registry.ExpenseDecision.Model;
|
|
183
296
|
declare const Schema$v: JSONSchemaType<Model$v>;
|
|
184
297
|
declare const Template$v: ITemplate<Model$v>;
|
|
185
298
|
|
|
186
|
-
declare namespace
|
|
299
|
+
declare namespace ExpenseDecision {
|
|
187
300
|
export { type Action$v as Action, type Model$v as Model, Schema$v as Schema, Template$v as Template, registry_id$v as registry_id };
|
|
188
301
|
}
|
|
189
302
|
|
|
190
|
-
declare const registry_id$u =
|
|
191
|
-
type Action$u = Cooperative.Registry.
|
|
192
|
-
type Model$u = Cooperative.Registry.
|
|
303
|
+
declare const registry_id$u = 1020;
|
|
304
|
+
type Action$u = Cooperative.Registry.GenerationMoneyInvestStatement.Action;
|
|
305
|
+
type Model$u = Cooperative.Registry.GenerationMoneyInvestStatement.Model;
|
|
193
306
|
declare const Schema$u: JSONSchemaType<Model$u>;
|
|
194
307
|
declare const Template$u: ITemplate<Model$u>;
|
|
195
308
|
|
|
196
|
-
declare namespace
|
|
309
|
+
declare namespace GenerationMoneyInvestStatement {
|
|
197
310
|
export { type Action$u as Action, type Model$u as Model, Schema$u as Schema, Template$u as Template, registry_id$u as registry_id };
|
|
198
311
|
}
|
|
199
312
|
|
|
200
|
-
declare const registry_id$t =
|
|
201
|
-
type Action$t = Cooperative.Registry.
|
|
202
|
-
type Model$t = Cooperative.Registry.
|
|
313
|
+
declare const registry_id$t = 1025;
|
|
314
|
+
type Action$t = Cooperative.Registry.GenerationMoneyReturnUnusedStatement.Action;
|
|
315
|
+
type Model$t = Cooperative.Registry.GenerationMoneyReturnUnusedStatement.Model;
|
|
203
316
|
declare const Schema$t: JSONSchemaType<Model$t>;
|
|
204
317
|
declare const Template$t: ITemplate<Model$t>;
|
|
205
318
|
|
|
206
|
-
declare namespace
|
|
319
|
+
declare namespace GenerationMoneyReturnUnusedStatement {
|
|
207
320
|
export { type Action$t as Action, type Model$t as Model, Schema$t as Schema, Template$t as Template, registry_id$t as registry_id };
|
|
208
321
|
}
|
|
209
322
|
|
|
210
|
-
declare const registry_id$s =
|
|
211
|
-
type Action$s = Cooperative.Registry.
|
|
212
|
-
type Model$s = Cooperative.Registry.
|
|
323
|
+
declare const registry_id$s = 1030;
|
|
324
|
+
type Action$s = Cooperative.Registry.CapitalizationMoneyInvestStatement.Action;
|
|
325
|
+
type Model$s = Cooperative.Registry.CapitalizationMoneyInvestStatement.Model;
|
|
213
326
|
declare const Schema$s: JSONSchemaType<Model$s>;
|
|
214
327
|
declare const Template$s: ITemplate<Model$s>;
|
|
215
328
|
|
|
216
|
-
declare namespace
|
|
329
|
+
declare namespace CapitalizationMoneyInvestStatement {
|
|
217
330
|
export { type Action$s as Action, type Model$s as Model, Schema$s as Schema, Template$s as Template, registry_id$s as registry_id };
|
|
218
331
|
}
|
|
219
332
|
|
|
220
|
-
declare const registry_id$r =
|
|
221
|
-
type Action$r = Cooperative.Registry.
|
|
222
|
-
type Model$r = Cooperative.Registry.
|
|
333
|
+
declare const registry_id$r = 1040;
|
|
334
|
+
type Action$r = Cooperative.Registry.ResultContributionStatement.Action;
|
|
335
|
+
type Model$r = Cooperative.Registry.ResultContributionStatement.Model;
|
|
223
336
|
declare const Schema$r: JSONSchemaType<Model$r>;
|
|
224
337
|
declare const Template$r: ITemplate<Model$r>;
|
|
225
338
|
|
|
226
|
-
declare namespace
|
|
339
|
+
declare namespace ResultContributionStatement {
|
|
227
340
|
export { type Action$r as Action, type Model$r as Model, Schema$r as Schema, Template$r as Template, registry_id$r as registry_id };
|
|
228
341
|
}
|
|
229
342
|
|
|
230
|
-
declare const registry_id$q =
|
|
231
|
-
type Action$q = Cooperative.Registry.
|
|
232
|
-
type Model$q = Cooperative.Registry.
|
|
343
|
+
declare const registry_id$q = 1041;
|
|
344
|
+
type Action$q = Cooperative.Registry.ResultContributionDecision.Action;
|
|
345
|
+
type Model$q = Cooperative.Registry.ResultContributionDecision.Model;
|
|
233
346
|
declare const Schema$q: JSONSchemaType<Model$q>;
|
|
234
347
|
declare const Template$q: ITemplate<Model$q>;
|
|
235
348
|
|
|
236
|
-
declare namespace
|
|
349
|
+
declare namespace ResultContributionDecision {
|
|
237
350
|
export { type Action$q as Action, type Model$q as Model, Schema$q as Schema, Template$q as Template, registry_id$q as registry_id };
|
|
238
351
|
}
|
|
239
352
|
|
|
240
|
-
declare const registry_id$p =
|
|
241
|
-
type Action$p = Cooperative.Registry.
|
|
242
|
-
type Model$p = Cooperative.Registry.
|
|
353
|
+
declare const registry_id$p = 1042;
|
|
354
|
+
type Action$p = Cooperative.Registry.ResultContributionAct.Action;
|
|
355
|
+
type Model$p = Cooperative.Registry.ResultContributionAct.Model;
|
|
243
356
|
declare const Schema$p: JSONSchemaType<Model$p>;
|
|
244
357
|
declare const Template$p: ITemplate<Model$p>;
|
|
245
358
|
|
|
246
|
-
declare namespace
|
|
359
|
+
declare namespace ResultContributionAct {
|
|
247
360
|
export { type Action$p as Action, type Model$p as Model, Schema$p as Schema, Template$p as Template, registry_id$p as registry_id };
|
|
248
361
|
}
|
|
249
362
|
|
|
250
|
-
declare const registry_id$o =
|
|
251
|
-
type Action$o = Cooperative.Registry.
|
|
252
|
-
type Model$o = Cooperative.Registry.
|
|
363
|
+
declare const registry_id$o = 1050;
|
|
364
|
+
type Action$o = Cooperative.Registry.GetLoanStatement.Action;
|
|
365
|
+
type Model$o = Cooperative.Registry.GetLoanStatement.Model;
|
|
253
366
|
declare const Schema$o: JSONSchemaType<Model$o>;
|
|
254
367
|
declare const Template$o: ITemplate<Model$o>;
|
|
255
368
|
|
|
256
|
-
declare namespace
|
|
369
|
+
declare namespace GetLoanStatement {
|
|
257
370
|
export { type Action$o as Action, type Model$o as Model, Schema$o as Schema, Template$o as Template, registry_id$o as registry_id };
|
|
258
371
|
}
|
|
259
372
|
|
|
260
|
-
declare const registry_id$n =
|
|
261
|
-
type Action$n = Cooperative.Registry.
|
|
262
|
-
type Model$n = Cooperative.Registry.
|
|
373
|
+
declare const registry_id$n = 1051;
|
|
374
|
+
type Action$n = Cooperative.Registry.GetLoanDecision.Action;
|
|
375
|
+
type Model$n = Cooperative.Registry.GetLoanDecision.Model;
|
|
263
376
|
declare const Schema$n: JSONSchemaType<Model$n>;
|
|
264
377
|
declare const Template$n: ITemplate<Model$n>;
|
|
265
378
|
|
|
266
|
-
declare namespace
|
|
379
|
+
declare namespace GetLoanDecision {
|
|
267
380
|
export { type Action$n as Action, type Model$n as Model, Schema$n as Schema, Template$n as Template, registry_id$n as registry_id };
|
|
268
381
|
}
|
|
269
382
|
|
|
270
|
-
declare const registry_id$m =
|
|
271
|
-
type Action$m = Cooperative.Registry.
|
|
272
|
-
type Model$m = Cooperative.Registry.
|
|
383
|
+
declare const registry_id$m = 1060;
|
|
384
|
+
type Action$m = Cooperative.Registry.GenerationPropertyInvestStatement.Action;
|
|
385
|
+
type Model$m = Cooperative.Registry.GenerationPropertyInvestStatement.Model;
|
|
273
386
|
declare const Schema$m: JSONSchemaType<Model$m>;
|
|
274
387
|
declare const Template$m: ITemplate<Model$m>;
|
|
275
388
|
|
|
276
|
-
declare namespace
|
|
389
|
+
declare namespace GenerationPropertyInvestStatement {
|
|
277
390
|
export { type Action$m as Action, type Model$m as Model, Schema$m as Schema, Template$m as Template, registry_id$m as registry_id };
|
|
278
391
|
}
|
|
279
392
|
|
|
280
|
-
declare const registry_id$l =
|
|
281
|
-
type Action$l = Cooperative.Registry.
|
|
282
|
-
type Model$l = Cooperative.Registry.
|
|
393
|
+
declare const registry_id$l = 1061;
|
|
394
|
+
type Action$l = Cooperative.Registry.GenerationPropertyInvestDecision.Action;
|
|
395
|
+
type Model$l = Cooperative.Registry.GenerationPropertyInvestDecision.Model;
|
|
283
396
|
declare const Schema$l: JSONSchemaType<Model$l>;
|
|
284
397
|
declare const Template$l: ITemplate<Model$l>;
|
|
285
398
|
|
|
286
|
-
declare namespace
|
|
399
|
+
declare namespace GenerationPropertyInvestDecision {
|
|
287
400
|
export { type Action$l as Action, type Model$l as Model, Schema$l as Schema, Template$l as Template, registry_id$l as registry_id };
|
|
288
401
|
}
|
|
289
402
|
|
|
290
|
-
declare const registry_id$k =
|
|
291
|
-
type Action$k = Cooperative.Registry.
|
|
292
|
-
type Model$k = Cooperative.Registry.
|
|
403
|
+
declare const registry_id$k = 1062;
|
|
404
|
+
type Action$k = Cooperative.Registry.GenerationPropertyInvestAct.Action;
|
|
405
|
+
type Model$k = Cooperative.Registry.GenerationPropertyInvestAct.Model;
|
|
293
406
|
declare const Schema$k: JSONSchemaType<Model$k>;
|
|
294
407
|
declare const Template$k: ITemplate<Model$k>;
|
|
295
408
|
|
|
296
|
-
declare namespace
|
|
409
|
+
declare namespace GenerationPropertyInvestAct {
|
|
297
410
|
export { type Action$k as Action, type Model$k as Model, Schema$k as Schema, Template$k as Template, registry_id$k as registry_id };
|
|
298
411
|
}
|
|
299
412
|
|
|
300
|
-
declare const registry_id$j =
|
|
301
|
-
type Action$j = Cooperative.Registry.
|
|
302
|
-
type Model$j = Cooperative.Registry.
|
|
413
|
+
declare const registry_id$j = 1070;
|
|
414
|
+
type Action$j = Cooperative.Registry.CapitalizationPropertyInvestStatement.Action;
|
|
415
|
+
type Model$j = Cooperative.Registry.CapitalizationPropertyInvestStatement.Model;
|
|
303
416
|
declare const Schema$j: JSONSchemaType<Model$j>;
|
|
304
417
|
declare const Template$j: ITemplate<Model$j>;
|
|
305
418
|
|
|
306
|
-
declare namespace
|
|
419
|
+
declare namespace CapitalizationPropertyInvestStatement {
|
|
307
420
|
export { type Action$j as Action, type Model$j as Model, Schema$j as Schema, Template$j as Template, registry_id$j as registry_id };
|
|
308
421
|
}
|
|
309
422
|
|
|
310
|
-
declare const registry_id$i =
|
|
311
|
-
type Action$i = Cooperative.Registry.
|
|
312
|
-
type Model$i = Cooperative.Registry.
|
|
423
|
+
declare const registry_id$i = 1071;
|
|
424
|
+
type Action$i = Cooperative.Registry.CapitalizationPropertyInvestDecision.Action;
|
|
425
|
+
type Model$i = Cooperative.Registry.CapitalizationPropertyInvestDecision.Model;
|
|
313
426
|
declare const Schema$i: JSONSchemaType<Model$i>;
|
|
314
427
|
declare const Template$i: ITemplate<Model$i>;
|
|
315
428
|
|
|
316
|
-
declare namespace
|
|
429
|
+
declare namespace CapitalizationPropertyInvestDecision {
|
|
317
430
|
export { type Action$i as Action, type Model$i as Model, Schema$i as Schema, Template$i as Template, registry_id$i as registry_id };
|
|
318
431
|
}
|
|
319
432
|
|
|
320
|
-
declare const registry_id$h =
|
|
321
|
-
type Action$h = Cooperative.Registry.
|
|
322
|
-
type Model$h = Cooperative.Registry.
|
|
433
|
+
declare const registry_id$h = 1072;
|
|
434
|
+
type Action$h = Cooperative.Registry.CapitalizationPropertyInvestAct.Action;
|
|
435
|
+
type Model$h = Cooperative.Registry.CapitalizationPropertyInvestAct.Model;
|
|
323
436
|
declare const Schema$h: JSONSchemaType<Model$h>;
|
|
324
437
|
declare const Template$h: ITemplate<Model$h>;
|
|
325
438
|
|
|
326
|
-
declare namespace
|
|
439
|
+
declare namespace CapitalizationPropertyInvestAct {
|
|
327
440
|
export { type Action$h as Action, type Model$h as Model, Schema$h as Schema, Template$h as Template, registry_id$h as registry_id };
|
|
328
441
|
}
|
|
329
442
|
|
|
330
|
-
declare const registry_id$g =
|
|
331
|
-
type Action$g = Cooperative.Registry.
|
|
332
|
-
type Model$g = Cooperative.Registry.
|
|
443
|
+
declare const registry_id$g = 1080;
|
|
444
|
+
type Action$g = Cooperative.Registry.GenerationToMainWalletConvertStatement.Action;
|
|
445
|
+
type Model$g = Cooperative.Registry.GenerationToMainWalletConvertStatement.Model;
|
|
333
446
|
declare const Schema$g: JSONSchemaType<Model$g>;
|
|
334
447
|
declare const Template$g: ITemplate<Model$g>;
|
|
335
448
|
|
|
336
|
-
declare namespace
|
|
449
|
+
declare namespace GenerationToMainWalletConvertStatement {
|
|
337
450
|
export { type Action$g as Action, type Model$g as Model, Schema$g as Schema, Template$g as Template, registry_id$g as registry_id };
|
|
338
451
|
}
|
|
339
452
|
|
|
340
|
-
declare const registry_id$f =
|
|
341
|
-
type Action$f = Cooperative.Registry.
|
|
342
|
-
type Model$f = Cooperative.Registry.
|
|
453
|
+
declare const registry_id$f = 1081;
|
|
454
|
+
type Action$f = Cooperative.Registry.GenerationToProjectConvertStatement.Action;
|
|
455
|
+
type Model$f = Cooperative.Registry.GenerationToProjectConvertStatement.Model;
|
|
343
456
|
declare const Schema$f: JSONSchemaType<Model$f>;
|
|
344
457
|
declare const Template$f: ITemplate<Model$f>;
|
|
345
458
|
|
|
346
|
-
declare namespace
|
|
459
|
+
declare namespace GenerationToProjectConvertStatement {
|
|
347
460
|
export { type Action$f as Action, type Model$f as Model, Schema$f as Schema, Template$f as Template, registry_id$f as registry_id };
|
|
348
461
|
}
|
|
349
462
|
|
|
350
|
-
declare const registry_id$e =
|
|
351
|
-
type Action$e = Cooperative.Registry.
|
|
352
|
-
type Model$e = Cooperative.Registry.
|
|
463
|
+
declare const registry_id$e = 1082;
|
|
464
|
+
type Action$e = Cooperative.Registry.GenerationToCapitalizationConvertStatement.Action;
|
|
465
|
+
type Model$e = Cooperative.Registry.GenerationToCapitalizationConvertStatement.Model;
|
|
353
466
|
declare const Schema$e: JSONSchemaType<Model$e>;
|
|
354
467
|
declare const Template$e: ITemplate<Model$e>;
|
|
355
468
|
|
|
356
|
-
declare namespace
|
|
469
|
+
declare namespace GenerationToCapitalizationConvertStatement {
|
|
357
470
|
export { type Action$e as Action, type Model$e as Model, Schema$e as Schema, Template$e as Template, registry_id$e as registry_id };
|
|
358
471
|
}
|
|
359
472
|
|
|
360
|
-
declare const registry_id$d =
|
|
361
|
-
type Action$d = Cooperative.Registry.
|
|
362
|
-
type Model$d = Cooperative.Registry.
|
|
473
|
+
declare const registry_id$d = 1090;
|
|
474
|
+
type Action$d = Cooperative.Registry.CapitalizationToMainWalletConvertStatement.Action;
|
|
475
|
+
type Model$d = Cooperative.Registry.CapitalizationToMainWalletConvertStatement.Model;
|
|
363
476
|
declare const Schema$d: JSONSchemaType<Model$d>;
|
|
364
477
|
declare const Template$d: ITemplate<Model$d>;
|
|
365
478
|
|
|
366
|
-
declare namespace
|
|
479
|
+
declare namespace CapitalizationToMainWalletConvertStatement {
|
|
367
480
|
export { type Action$d as Action, type Model$d as Model, Schema$d as Schema, Template$d as Template, registry_id$d as registry_id };
|
|
368
481
|
}
|
|
369
482
|
|
|
370
|
-
declare const registry_id$c =
|
|
371
|
-
type Action$c = Cooperative.Registry.
|
|
372
|
-
type Model$c = Cooperative.Registry.
|
|
483
|
+
declare const registry_id$c = 699;
|
|
484
|
+
type Action$c = Cooperative.Registry.SosediAgreement.Action;
|
|
485
|
+
type Model$c = Cooperative.Registry.SosediAgreement.Model;
|
|
373
486
|
declare const Schema$c: JSONSchemaType<Model$c>;
|
|
374
487
|
declare const Template$c: ITemplate<Model$c>;
|
|
375
488
|
|
|
376
|
-
declare namespace
|
|
489
|
+
declare namespace SosediAgreement {
|
|
377
490
|
export { type Action$c as Action, type Model$c as Model, Schema$c as Schema, Template$c as Template, registry_id$c as registry_id };
|
|
378
491
|
}
|
|
379
492
|
|
|
380
|
-
declare const registry_id$b =
|
|
381
|
-
type Action$b = Cooperative.Registry.
|
|
382
|
-
type Model$b = Cooperative.Registry.
|
|
493
|
+
declare const registry_id$b = 300;
|
|
494
|
+
type Action$b = Cooperative.Registry.AnnualGeneralMeetingAgenda.Action;
|
|
495
|
+
type Model$b = Cooperative.Registry.AnnualGeneralMeetingAgenda.Model;
|
|
383
496
|
declare const Schema$b: JSONSchemaType<Model$b>;
|
|
384
497
|
declare const Template$b: ITemplate<Model$b>;
|
|
385
498
|
|
|
386
|
-
declare namespace
|
|
499
|
+
declare namespace AnnualGeneralMeetingAgenda {
|
|
387
500
|
export { type Action$b as Action, type Model$b as Model, Schema$b as Schema, Template$b as Template, registry_id$b as registry_id };
|
|
388
501
|
}
|
|
389
502
|
|
|
390
|
-
declare const registry_id$a =
|
|
391
|
-
type Action$a = Cooperative.Registry.
|
|
392
|
-
type Model$a = Cooperative.Registry.
|
|
503
|
+
declare const registry_id$a = 301;
|
|
504
|
+
type Action$a = Cooperative.Registry.AnnualGeneralMeetingSovietDecision.Action;
|
|
505
|
+
type Model$a = Cooperative.Registry.AnnualGeneralMeetingSovietDecision.Model;
|
|
393
506
|
declare const Schema$a: JSONSchemaType<Model$a>;
|
|
394
507
|
declare const Template$a: ITemplate<Model$a>;
|
|
395
508
|
|
|
396
|
-
declare namespace
|
|
509
|
+
declare namespace AnnualGeneralMeetingSovietDecision {
|
|
397
510
|
export { type Action$a as Action, type Model$a as Model, Schema$a as Schema, Template$a as Template, registry_id$a as registry_id };
|
|
398
511
|
}
|
|
399
512
|
|
|
400
|
-
declare const registry_id$9 =
|
|
401
|
-
type Action$9 = Cooperative.Registry.
|
|
402
|
-
type Model$9 = Cooperative.Registry.
|
|
513
|
+
declare const registry_id$9 = 302;
|
|
514
|
+
type Action$9 = Cooperative.Registry.AnnualGeneralMeetingNotification.Action;
|
|
515
|
+
type Model$9 = Cooperative.Registry.AnnualGeneralMeetingNotification.Model;
|
|
403
516
|
declare const Schema$9: JSONSchemaType<Model$9>;
|
|
404
517
|
declare const Template$9: ITemplate<Model$9>;
|
|
405
518
|
|
|
406
|
-
declare namespace
|
|
519
|
+
declare namespace AnnualGeneralMeetingNotification {
|
|
407
520
|
export { type Action$9 as Action, type Model$9 as Model, Schema$9 as Schema, Template$9 as Template, registry_id$9 as registry_id };
|
|
408
521
|
}
|
|
409
522
|
|
|
410
|
-
declare const registry_id$8 =
|
|
411
|
-
type Action$8 = Cooperative.Registry.
|
|
412
|
-
type Model$8 = Cooperative.Registry.
|
|
523
|
+
declare const registry_id$8 = 303;
|
|
524
|
+
type Action$8 = Cooperative.Registry.AnnualGeneralMeetingVotingBallot.Action;
|
|
525
|
+
type Model$8 = Cooperative.Registry.AnnualGeneralMeetingVotingBallot.Model;
|
|
413
526
|
declare const Schema$8: JSONSchemaType<Model$8>;
|
|
414
527
|
declare const Template$8: ITemplate<Model$8>;
|
|
415
528
|
|
|
416
|
-
declare namespace
|
|
529
|
+
declare namespace AnnualGeneralMeetingVotingBallot {
|
|
417
530
|
export { type Action$8 as Action, type Model$8 as Model, Schema$8 as Schema, Template$8 as Template, registry_id$8 as registry_id };
|
|
418
531
|
}
|
|
419
532
|
|
|
420
|
-
declare const registry_id$7
|
|
421
|
-
|
|
422
|
-
|
|
533
|
+
declare const registry_id$7: 304;
|
|
534
|
+
/**
|
|
535
|
+
* Интерфейс генерации протокола решения общего собрания
|
|
536
|
+
*/
|
|
537
|
+
type Action$7 = Cooperative.Registry.AnnualGeneralMeetingDecision.Action;
|
|
538
|
+
/**
|
|
539
|
+
* Модель данных документа
|
|
540
|
+
*/
|
|
541
|
+
type Model$7 = Cooperative.Registry.AnnualGeneralMeetingDecision.Model;
|
|
423
542
|
declare const Schema$7: JSONSchemaType<Model$7>;
|
|
424
543
|
declare const Template$7: ITemplate<Model$7>;
|
|
425
544
|
|
|
426
|
-
declare namespace
|
|
545
|
+
declare namespace AnnualGeneralMeetingDecision {
|
|
427
546
|
export { type Action$7 as Action, type Model$7 as Model, Schema$7 as Schema, Template$7 as Template, registry_id$7 as registry_id };
|
|
428
547
|
}
|
|
429
548
|
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
declare const Schema$6: JSONSchemaType<Model$6>;
|
|
434
|
-
declare const Template$6: ITemplate<Model$6>;
|
|
435
|
-
|
|
436
|
-
declare namespace CapitalizationToMainWalletConvertStatement {
|
|
437
|
-
export { type Action$6 as Action, type Model$6 as Model, Schema$6 as Schema, Template$6 as Template, registry_id$6 as registry_id };
|
|
549
|
+
interface ValidateResult {
|
|
550
|
+
valid: boolean;
|
|
551
|
+
error: string;
|
|
438
552
|
}
|
|
439
553
|
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
554
|
+
type PaymentData = IPaymentData;
|
|
555
|
+
declare class PaymentMethod {
|
|
556
|
+
db: MongoDBConnector;
|
|
557
|
+
paymentMethod?: PaymentData;
|
|
558
|
+
private data_service;
|
|
559
|
+
constructor(storage: MongoDBConnector, data?: PaymentData);
|
|
560
|
+
validate(): ValidateResult;
|
|
561
|
+
save(): Promise<InsertOneResult<PaymentData>>;
|
|
562
|
+
getOne(filter: Filter<PaymentData>): Promise<PaymentData | null>;
|
|
563
|
+
getMany(filter: Filter<PaymentData>): Promise<Cooperative.Document.IGetResponse<PaymentData>>;
|
|
564
|
+
getHistory(filter: Filter<PaymentData>): Promise<PaymentData[]>;
|
|
565
|
+
del(filter: Filter<PaymentData>): Promise<UpdateResult>;
|
|
448
566
|
}
|
|
449
567
|
|
|
450
|
-
|
|
451
|
-
type
|
|
452
|
-
type
|
|
453
|
-
declare const Schema$4: JSONSchemaType<Model$4>;
|
|
454
|
-
declare const Template$4: ITemplate<Model$4>;
|
|
568
|
+
type Currency = 'RUB' | 'Other';
|
|
569
|
+
type IBankAccount = Cooperative.Payments.IBankAccount;
|
|
570
|
+
type IPaymentData = Cooperative.Payments.IPaymentData;
|
|
455
571
|
|
|
456
|
-
|
|
457
|
-
|
|
572
|
+
interface IFilterDeltas {
|
|
573
|
+
present: boolean;
|
|
574
|
+
code: string;
|
|
575
|
+
scope: string;
|
|
576
|
+
table: string;
|
|
577
|
+
primary_key: string;
|
|
578
|
+
value?: any;
|
|
579
|
+
block_num: number;
|
|
580
|
+
block_id: string;
|
|
458
581
|
}
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
582
|
+
interface IFilterActions {
|
|
583
|
+
transaction_id: string;
|
|
584
|
+
account: string;
|
|
585
|
+
name: string;
|
|
586
|
+
authorization: Array<{
|
|
587
|
+
actor: string;
|
|
588
|
+
permission: string;
|
|
589
|
+
}>;
|
|
590
|
+
data: any;
|
|
468
591
|
}
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
type Model$2 = Cooperative.Registry.AnnualGeneralMeetingNotification.Model;
|
|
473
|
-
declare const Schema$2: JSONSchemaType<Model$2>;
|
|
474
|
-
declare const Template$2: ITemplate<Model$2>;
|
|
475
|
-
|
|
476
|
-
declare namespace AnnualGeneralMeetingNotification {
|
|
477
|
-
export { type Action$2 as Action, type Model$2 as Model, Schema$2 as Schema, Template$2 as Template, registry_id$2 as registry_id };
|
|
592
|
+
interface IBCState {
|
|
593
|
+
key: string;
|
|
594
|
+
block_num: number;
|
|
478
595
|
}
|
|
479
|
-
|
|
480
|
-
declare const registry_id$1 = 303;
|
|
481
|
-
type Action$1 = Cooperative.Registry.AnnualGeneralMeetingVotingBallot.Action;
|
|
482
|
-
type Model$1 = Cooperative.Registry.AnnualGeneralMeetingVotingBallot.Model;
|
|
483
|
-
declare const Schema$1: JSONSchemaType<Model$1>;
|
|
484
|
-
declare const Template$1: ITemplate<Model$1>;
|
|
485
|
-
|
|
486
|
-
declare namespace AnnualGeneralMeetingVotingBallot {
|
|
487
|
-
export { type Action$1 as Action, type Model$1 as Model, Schema$1 as Schema, Template$1 as Template, registry_id$1 as registry_id };
|
|
596
|
+
interface IFilterDocuments extends Document, IGeneratedDocument {
|
|
488
597
|
}
|
|
598
|
+
type internalFilterTypes = InternalIndividualData | InternalEntrepreneurData | InternalOrganizationData | IPaymentData | IVars | InternalProjectData | InternalUdata;
|
|
599
|
+
type externalDataTypes = ExternalIndividualData | ExternalEntrepreneurData | ExternalOrganizationData | PaymentData | IVars | ExternalProjectData | ExternalUdata;
|
|
600
|
+
type externalDataTypesArrays = ExternalIndividualData[] | ExternalEntrepreneurData[] | ExternalOrganizationData[] | PaymentData[] | IVars[] | ExternalProjectData[] | ExternalUdata[];
|
|
489
601
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
* Интерфейс генерации протокола решения общего собрания
|
|
493
|
-
*/
|
|
494
|
-
type Action = Cooperative.Registry.AnnualGeneralMeetingDecision.Action;
|
|
495
|
-
/**
|
|
496
|
-
* Модель данных документа
|
|
497
|
-
*/
|
|
498
|
-
type Model = Cooperative.Registry.AnnualGeneralMeetingDecision.Model;
|
|
499
|
-
declare const Schema: JSONSchemaType<Model>;
|
|
500
|
-
declare const Template: ITemplate<Model>;
|
|
501
|
-
|
|
502
|
-
type AnnualGeneralMeetingDecision_Action = Action;
|
|
503
|
-
type AnnualGeneralMeetingDecision_Model = Model;
|
|
504
|
-
declare const AnnualGeneralMeetingDecision_Schema: typeof Schema;
|
|
505
|
-
declare const AnnualGeneralMeetingDecision_Template: typeof Template;
|
|
506
|
-
declare const AnnualGeneralMeetingDecision_registry_id: typeof registry_id;
|
|
507
|
-
declare namespace AnnualGeneralMeetingDecision {
|
|
508
|
-
export { type AnnualGeneralMeetingDecision_Action as Action, type AnnualGeneralMeetingDecision_Model as Model, AnnualGeneralMeetingDecision_Schema as Schema, AnnualGeneralMeetingDecision_Template as Template, AnnualGeneralMeetingDecision_registry_id as registry_id };
|
|
602
|
+
interface IDocument {
|
|
603
|
+
[key: string]: any;
|
|
509
604
|
}
|
|
510
605
|
|
|
511
|
-
declare
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
303: typeof AnnualGeneralMeetingVotingBallot;
|
|
524
|
-
304: typeof AnnualGeneralMeetingDecision;
|
|
525
|
-
501: typeof DecisionOfParticipantApplication;
|
|
526
|
-
599: typeof ProjectFreeDecision;
|
|
527
|
-
600: typeof FreeDecision;
|
|
528
|
-
699: typeof SosediAgreement;
|
|
529
|
-
700: typeof AssetContributionStatement;
|
|
530
|
-
701: typeof AssetContributionDecision;
|
|
531
|
-
702: typeof AssetContributionAct;
|
|
532
|
-
800: typeof ReturnByAssetStatement;
|
|
533
|
-
801: typeof ReturnByAssetDecision;
|
|
534
|
-
802: typeof ReturnByAssetAct;
|
|
535
|
-
900: typeof ReturnByMoney;
|
|
536
|
-
901: typeof ReturnByMoneyDecision;
|
|
537
|
-
1000: typeof CapitalizationAgreement;
|
|
538
|
-
1001: typeof GenerationAgreement;
|
|
539
|
-
1002: typeof AppendixGenerationAgreement;
|
|
540
|
-
1010: typeof ExpenseStatement;
|
|
541
|
-
1011: typeof ExpenseDecision;
|
|
542
|
-
1020: typeof GenerationMoneyInvestStatement;
|
|
543
|
-
1025: typeof GenerationMoneyReturnUnusedStatement;
|
|
544
|
-
1030: typeof CapitalizationMoneyInvestStatement;
|
|
545
|
-
1040: typeof ResultContributionStatement;
|
|
546
|
-
1041: typeof ResultContributionDecision;
|
|
547
|
-
1042: typeof ResultContributionAct;
|
|
548
|
-
1050: typeof GetLoanStatement;
|
|
549
|
-
1051: typeof GetLoanDecision;
|
|
550
|
-
1060: typeof GenerationPropertyInvestStatement;
|
|
551
|
-
1061: typeof GenerationPropertyInvestDecision;
|
|
552
|
-
1062: typeof GenerationPropertyInvestAct;
|
|
553
|
-
1070: typeof CapitalizationPropertyInvestStatement;
|
|
554
|
-
1071: typeof CapitalizationPropertyInvestDecision;
|
|
555
|
-
1072: typeof CapitalizationPropertyInvestAct;
|
|
556
|
-
1080: typeof GenerationToMainWalletConvertStatement;
|
|
557
|
-
1081: typeof GenerationToProjectConvertStatement;
|
|
558
|
-
1082: typeof GenerationToCapitalizationConvertStatement;
|
|
559
|
-
1090: typeof CapitalizationToMainWalletConvertStatement;
|
|
560
|
-
};
|
|
606
|
+
declare class MongoDBConnector {
|
|
607
|
+
client: MongoClient;
|
|
608
|
+
db: Db;
|
|
609
|
+
private documents;
|
|
610
|
+
constructor(uri: string);
|
|
611
|
+
private extractDbNameFromUri;
|
|
612
|
+
connect(): Promise<void>;
|
|
613
|
+
disconnect(): Promise<void>;
|
|
614
|
+
getCollection<T extends IDocument>(collectionName: string): Collection<T>;
|
|
615
|
+
getDocument(filter: Filter<IFilterDocuments>): Promise<IGeneratedDocument>;
|
|
616
|
+
saveDraft(document: IGeneratedDocument): Promise<void>;
|
|
617
|
+
}
|
|
561
618
|
|
|
562
|
-
interface
|
|
563
|
-
|
|
564
|
-
|
|
619
|
+
interface ISearchResult {
|
|
620
|
+
type: 'individual' | 'entrepreneur' | 'organization';
|
|
621
|
+
data: ExternalIndividualData | ExternalEntrepreneurData | ExternalOrganizationData;
|
|
622
|
+
score?: number;
|
|
623
|
+
highlightedFields?: string[];
|
|
565
624
|
}
|
|
566
625
|
|
|
567
626
|
type ExternalIndividualData = Cooperative.Users.IIndividualData;
|
|
@@ -610,19 +669,7 @@ declare class Entrepreneur {
|
|
|
610
669
|
del(filter: Filter<InternalEntrepreneurData>): Promise<UpdateResult>;
|
|
611
670
|
}
|
|
612
671
|
|
|
613
|
-
type
|
|
614
|
-
declare class PaymentMethod {
|
|
615
|
-
db: MongoDBConnector;
|
|
616
|
-
paymentMethod?: PaymentData;
|
|
617
|
-
private data_service;
|
|
618
|
-
constructor(storage: MongoDBConnector, data?: PaymentData);
|
|
619
|
-
validate(): ValidateResult;
|
|
620
|
-
save(): Promise<InsertOneResult<PaymentData>>;
|
|
621
|
-
getOne(filter: Filter<PaymentData>): Promise<PaymentData | null>;
|
|
622
|
-
getMany(filter: Filter<PaymentData>): Promise<Cooperative.Document.IGetResponse<PaymentData>>;
|
|
623
|
-
getHistory(filter: Filter<PaymentData>): Promise<PaymentData[]>;
|
|
624
|
-
del(filter: Filter<PaymentData>): Promise<UpdateResult>;
|
|
625
|
-
}
|
|
672
|
+
type CooperativeData = Cooperative.Model.ICooperativeData;
|
|
626
673
|
|
|
627
674
|
type IVars = Cooperative.Model.IVars;
|
|
628
675
|
declare class Vars {
|
|
@@ -634,6 +681,7 @@ declare class Vars {
|
|
|
634
681
|
getOne(filter: Filter<IVars>): Promise<IVars | null>;
|
|
635
682
|
getMany(filter: Filter<IVars>): Promise<Cooperative.Document.IGetResponse<IVars>>;
|
|
636
683
|
getHistory(filter: Filter<IVars>): Promise<IVars[]>;
|
|
684
|
+
update(filter: Filter<IVars>, updateData: Partial<IVars>): Promise<UpdateResult>;
|
|
637
685
|
del(filter: Filter<IVars>): Promise<UpdateResult>;
|
|
638
686
|
}
|
|
639
687
|
|
|
@@ -654,65 +702,161 @@ declare class Project {
|
|
|
654
702
|
del(filter: Filter<InternalProjectData>): Promise<UpdateResult>;
|
|
655
703
|
}
|
|
656
704
|
|
|
657
|
-
type
|
|
658
|
-
type
|
|
659
|
-
|
|
705
|
+
type ExternalUdata = Cooperative.Model.IUdata;
|
|
706
|
+
type InternalUdata = ExternalUdata;
|
|
707
|
+
declare class Udata {
|
|
708
|
+
udata?: ExternalUdata;
|
|
709
|
+
private data_service;
|
|
710
|
+
constructor(storage: MongoDBConnector, data?: ExternalUdata);
|
|
711
|
+
validate(): ValidateResult;
|
|
712
|
+
save(): Promise<InsertOneResult<InternalUdata>>;
|
|
713
|
+
getOne(filter: Filter<InternalUdata>): Promise<ExternalUdata | null>;
|
|
714
|
+
getMany(filter: Filter<InternalUdata>): Promise<Cooperative.Document.IGetResponse<ExternalUdata>>;
|
|
715
|
+
getHistory(filter: Filter<InternalUdata>): Promise<ExternalUdata[]>;
|
|
716
|
+
del(filter: Filter<InternalUdata>): Promise<UpdateResult>;
|
|
717
|
+
}
|
|
660
718
|
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
scope: string;
|
|
665
|
-
table: string;
|
|
666
|
-
primary_key: string;
|
|
667
|
-
value?: any;
|
|
668
|
-
block_num: number;
|
|
669
|
-
block_id: string;
|
|
719
|
+
declare const registry_id$6 = 998;
|
|
720
|
+
interface Action$6 extends IGenerate {
|
|
721
|
+
registry_id: number;
|
|
670
722
|
}
|
|
671
|
-
interface
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
name: string;
|
|
675
|
-
authorization: Array<{
|
|
676
|
-
actor: string;
|
|
677
|
-
permission: string;
|
|
678
|
-
}>;
|
|
679
|
-
data: any;
|
|
723
|
+
interface Model$6 {
|
|
724
|
+
meta: IMetaDocument;
|
|
725
|
+
vars: IVars;
|
|
680
726
|
}
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
727
|
+
declare const Schema$6: JSONSchemaType<Model$6>;
|
|
728
|
+
declare const Template$6: ITemplate<Model$6>;
|
|
729
|
+
|
|
730
|
+
declare namespace BlagorostProgramTemplate {
|
|
731
|
+
export { type Action$6 as Action, type Model$6 as Model, Schema$6 as Schema, Template$6 as Template, registry_id$6 as registry_id };
|
|
684
732
|
}
|
|
685
|
-
|
|
733
|
+
|
|
734
|
+
declare const registry_id$5 = 999;
|
|
735
|
+
type Action$5 = Cooperative.Registry.BlagorostOfferTemplate.Action;
|
|
736
|
+
type Model$5 = Cooperative.Registry.BlagorostOfferTemplate.Model;
|
|
737
|
+
declare const Schema$5: JSONSchemaType<Model$5>;
|
|
738
|
+
declare const Template$5: ITemplate<Model$5>;
|
|
739
|
+
|
|
740
|
+
declare namespace BlagorostOfferTemplate {
|
|
741
|
+
export { type Action$5 as Action, type Model$5 as Model, Schema$5 as Schema, Template$5 as Template, registry_id$5 as registry_id };
|
|
686
742
|
}
|
|
687
|
-
type internalFilterTypes = InternalIndividualData | InternalEntrepreneurData | InternalOrganizationData | IPaymentData | IVars | InternalProjectData;
|
|
688
|
-
type externalDataTypes = ExternalIndividualData | ExternalEntrepreneurData | ExternalOrganizationData | PaymentData | IVars | ExternalProjectData;
|
|
689
|
-
type externalDataTypesArrays = ExternalIndividualData[] | ExternalEntrepreneurData[] | ExternalOrganizationData[] | PaymentData[] | IVars[] | ExternalProjectData[];
|
|
690
743
|
|
|
691
|
-
|
|
692
|
-
|
|
744
|
+
declare const registry_id$4 = 997;
|
|
745
|
+
type Action$4 = Cooperative.Registry.GenerationContractTemplate.Action;
|
|
746
|
+
type Model$4 = Cooperative.Registry.GenerationContractTemplate.Model;
|
|
747
|
+
declare const Schema$4: JSONSchemaType<Model$4>;
|
|
748
|
+
declare const Template$4: ITemplate<Model$4>;
|
|
749
|
+
|
|
750
|
+
declare namespace GenerationContractTemplate {
|
|
751
|
+
export { type Action$4 as Action, type Model$4 as Model, Schema$4 as Schema, Template$4 as Template, registry_id$4 as registry_id };
|
|
693
752
|
}
|
|
694
753
|
|
|
695
|
-
declare
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
getCollection<T extends IDocument>(collectionName: string): Collection<T>;
|
|
704
|
-
getDocument(filter: Filter<IFilterDocuments>): Promise<IGeneratedDocument>;
|
|
705
|
-
saveDraft(document: IGeneratedDocument): Promise<void>;
|
|
754
|
+
declare const registry_id$3 = 995;
|
|
755
|
+
type Action$3 = Cooperative.Registry.GeneratorOfferTemplate.Action;
|
|
756
|
+
type Model$3 = Cooperative.Registry.GeneratorOfferTemplate.Model;
|
|
757
|
+
declare const Schema$3: JSONSchemaType<Model$3>;
|
|
758
|
+
declare const Template$3: ITemplate<Model$3>;
|
|
759
|
+
|
|
760
|
+
declare namespace GeneratorOfferTemplate {
|
|
761
|
+
export { type Action$3 as Action, type Model$3 as Model, Schema$3 as Schema, Template$3 as Template, registry_id$3 as registry_id };
|
|
706
762
|
}
|
|
707
763
|
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
764
|
+
declare const registry_id$2 = 996;
|
|
765
|
+
type Action$2 = Cooperative.Registry.GeneratorOffer.Action;
|
|
766
|
+
type Model$2 = Cooperative.Registry.GeneratorOffer.Model;
|
|
767
|
+
declare const Schema$2: JSONSchemaType<Model$2>;
|
|
768
|
+
declare const Template$2: ITemplate<Model$2>;
|
|
769
|
+
|
|
770
|
+
declare namespace GeneratorOffer {
|
|
771
|
+
export { type Action$2 as Action, type Model$2 as Model, Schema$2 as Schema, Template$2 as Template, registry_id$2 as registry_id };
|
|
713
772
|
}
|
|
714
773
|
|
|
715
|
-
|
|
774
|
+
declare const registry_id$1 = 994;
|
|
775
|
+
type Action$1 = Cooperative.Registry.GeneratorProgramTemplate.Action;
|
|
776
|
+
type Model$1 = Cooperative.Registry.GeneratorProgramTemplate.Model;
|
|
777
|
+
declare const Schema$1: JSONSchemaType<Model$1>;
|
|
778
|
+
declare const Template$1: ITemplate<Model$1>;
|
|
779
|
+
|
|
780
|
+
declare namespace GeneratorProgramTemplate {
|
|
781
|
+
export { type Action$1 as Action, type Model$1 as Model, Schema$1 as Schema, Template$1 as Template, registry_id$1 as registry_id };
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
declare const registry_id = 1000;
|
|
785
|
+
type Action = Cooperative.Registry.BlagorostOffer.Action;
|
|
786
|
+
type Model = Cooperative.Registry.BlagorostOffer.Model;
|
|
787
|
+
declare const Schema: JSONSchemaType<Model>;
|
|
788
|
+
declare const Template: ITemplate<Model>;
|
|
789
|
+
|
|
790
|
+
type BlagorostOffer_Action = Action;
|
|
791
|
+
type BlagorostOffer_Model = Model;
|
|
792
|
+
declare const BlagorostOffer_Schema: typeof Schema;
|
|
793
|
+
declare const BlagorostOffer_Template: typeof Template;
|
|
794
|
+
declare const BlagorostOffer_registry_id: typeof registry_id;
|
|
795
|
+
declare namespace BlagorostOffer {
|
|
796
|
+
export { type BlagorostOffer_Action as Action, type BlagorostOffer_Model as Model, BlagorostOffer_Schema as Schema, BlagorostOffer_Template as Template, BlagorostOffer_registry_id as registry_id };
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
declare const Registry: {
|
|
800
|
+
1: typeof WalletAgreement;
|
|
801
|
+
2: typeof RegulationElectronicSignaturet;
|
|
802
|
+
3: typeof PrivacyPolicy;
|
|
803
|
+
4: typeof UserAgreement;
|
|
804
|
+
50: typeof CoopenomicsAgreement;
|
|
805
|
+
51: typeof ConvertToAxonStatement;
|
|
806
|
+
100: typeof ParticipantApplication;
|
|
807
|
+
101: typeof SelectBranchStatement;
|
|
808
|
+
300: typeof AnnualGeneralMeetingAgenda;
|
|
809
|
+
301: typeof AnnualGeneralMeetingSovietDecision;
|
|
810
|
+
302: typeof AnnualGeneralMeetingNotification;
|
|
811
|
+
303: typeof AnnualGeneralMeetingVotingBallot;
|
|
812
|
+
304: typeof AnnualGeneralMeetingDecision;
|
|
813
|
+
501: typeof DecisionOfParticipantApplication;
|
|
814
|
+
599: typeof ProjectFreeDecision;
|
|
815
|
+
600: typeof FreeDecision;
|
|
816
|
+
699: typeof SosediAgreement;
|
|
817
|
+
700: typeof AssetContributionStatement;
|
|
818
|
+
701: typeof AssetContributionDecision;
|
|
819
|
+
702: typeof AssetContributionAct;
|
|
820
|
+
800: typeof ReturnByAssetStatement;
|
|
821
|
+
801: typeof ReturnByAssetDecision;
|
|
822
|
+
802: typeof ReturnByAssetAct;
|
|
823
|
+
900: typeof ReturnByMoney;
|
|
824
|
+
901: typeof ReturnByMoneyDecision;
|
|
825
|
+
994: typeof GeneratorProgramTemplate;
|
|
826
|
+
995: typeof GeneratorOfferTemplate;
|
|
827
|
+
996: typeof GeneratorOffer;
|
|
828
|
+
997: typeof GenerationContractTemplate;
|
|
829
|
+
998: typeof BlagorostProgramTemplate;
|
|
830
|
+
999: typeof BlagorostOfferTemplate;
|
|
831
|
+
1000: typeof BlagorostOffer;
|
|
832
|
+
1001: typeof GenerationContract;
|
|
833
|
+
1002: typeof ProjectGenerationContract;
|
|
834
|
+
1003: typeof ComponentGenerationContract;
|
|
835
|
+
1004: typeof StorageAgreement;
|
|
836
|
+
1007: typeof BlagorostAgreement;
|
|
837
|
+
1005: typeof InitProjectStatement;
|
|
838
|
+
1006: typeof InitProjectDecision;
|
|
839
|
+
1010: typeof ExpenseStatement;
|
|
840
|
+
1011: typeof ExpenseDecision;
|
|
841
|
+
1020: typeof GenerationMoneyInvestStatement;
|
|
842
|
+
1025: typeof GenerationMoneyReturnUnusedStatement;
|
|
843
|
+
1030: typeof CapitalizationMoneyInvestStatement;
|
|
844
|
+
1040: typeof ResultContributionStatement;
|
|
845
|
+
1041: typeof ResultContributionDecision;
|
|
846
|
+
1042: typeof ResultContributionAct;
|
|
847
|
+
1050: typeof GetLoanStatement;
|
|
848
|
+
1051: typeof GetLoanDecision;
|
|
849
|
+
1060: typeof GenerationPropertyInvestStatement;
|
|
850
|
+
1061: typeof GenerationPropertyInvestDecision;
|
|
851
|
+
1062: typeof GenerationPropertyInvestAct;
|
|
852
|
+
1070: typeof CapitalizationPropertyInvestStatement;
|
|
853
|
+
1071: typeof CapitalizationPropertyInvestDecision;
|
|
854
|
+
1072: typeof CapitalizationPropertyInvestAct;
|
|
855
|
+
1080: typeof GenerationToMainWalletConvertStatement;
|
|
856
|
+
1081: typeof GenerationToProjectConvertStatement;
|
|
857
|
+
1082: typeof GenerationToCapitalizationConvertStatement;
|
|
858
|
+
1090: typeof CapitalizationToMainWalletConvertStatement;
|
|
859
|
+
};
|
|
716
860
|
|
|
717
861
|
type IMetaDocument = Cooperative.Document.IMetaDocument;
|
|
718
862
|
interface IGeneratedDocument {
|
|
@@ -798,6 +942,8 @@ interface IAgendaQuestion {
|
|
|
798
942
|
declare const AgendaMeetSchema: JSONSchemaType<IAgendaMeet>;
|
|
799
943
|
declare const AgendaQuestionSchema: JSONSchemaType<IAgendaQuestion>;
|
|
800
944
|
|
|
945
|
+
declare const udataSchema: JSONSchemaType<Cooperative.Model.IUdata>;
|
|
946
|
+
|
|
801
947
|
interface InternalGetUserResult {
|
|
802
948
|
type: string;
|
|
803
949
|
data: externalDataTypes;
|
|
@@ -817,6 +963,7 @@ declare abstract class DocFactory<T extends IGenerate> {
|
|
|
817
963
|
getProgram(_program_id: number): Promise<Cooperative.Model.ICommonProgram>;
|
|
818
964
|
getGeneralMeetingDecision(meet: Interfaces.Meet.IMeet, created_at: string): Promise<Cooperative.Document.IDecisionData>;
|
|
819
965
|
getDecision(coop: CooperativeData, coopname: string, decision_id: number, created_at: string): Promise<Cooperative.Document.IDecisionData>;
|
|
966
|
+
getApprovedDecision(coop: CooperativeData, coopname: string, decision_id: number): Promise<Cooperative.Document.IDecisionData>;
|
|
820
967
|
getMeet(coopname: string, meet_hash: string, block_num?: number): Promise<Cooperative.Model.IMeetExtended>;
|
|
821
968
|
getMeetQuestions(coopname: string, meet_id: number, block_num?: number): Promise<Cooperative.Model.IQuestionExtended[]>;
|
|
822
969
|
/**
|
|
@@ -838,17 +985,19 @@ declare abstract class DocFactory<T extends IGenerate> {
|
|
|
838
985
|
month: string;
|
|
839
986
|
year: string;
|
|
840
987
|
};
|
|
841
|
-
|
|
988
|
+
constructUHDContractNumber(contributor_hash: string): string;
|
|
842
989
|
getCommonUser(input: InternalGetUserResult): Cooperative.Model.ICommonUser;
|
|
990
|
+
getShortHash(hash: string, length?: number): string;
|
|
843
991
|
saveDraft(document: IGeneratedDocument): Promise<void>;
|
|
844
992
|
getMeta<T extends IMetaDocumentPartial>({ title, username, coopname, registry_id, links, lang, generator, version, // TODO перенести в .env
|
|
845
993
|
created_at, block_num, timezone, // TODO перенести в .env
|
|
846
994
|
...restParams }: T): Promise<IMetaDocument>;
|
|
995
|
+
formatShare(value: string | number, precision?: number): string;
|
|
847
996
|
formatAsset(asset: string, precision?: number): string;
|
|
848
997
|
formatPaymentDetails(paymentMethod: any, recipientName: string): string;
|
|
849
998
|
}
|
|
850
999
|
|
|
851
|
-
type dataTypes = 'individual' | 'entrepreneur' | 'organization' | 'paymentMethod' | 'vars' | 'project';
|
|
1000
|
+
type dataTypes = 'individual' | 'entrepreneur' | 'organization' | 'paymentMethod' | 'vars' | 'project' | 'udata';
|
|
852
1001
|
|
|
853
1002
|
interface IGenerator {
|
|
854
1003
|
connect: (mongoUri: string) => Promise<void>;
|
|
@@ -856,11 +1005,11 @@ interface IGenerator {
|
|
|
856
1005
|
generate: (data: IGenerate, options?: IGenerationOptions) => Promise<IGeneratedDocument>;
|
|
857
1006
|
getDocument: (filter: Filter<IFilterDocuments>) => Promise<IGeneratedDocument>;
|
|
858
1007
|
constructCooperative: (username: string, block_num?: number) => Promise<CooperativeData | null>;
|
|
859
|
-
save: ((type: 'individual', data: ExternalIndividualData) => Promise<InsertOneResult>) & ((type: 'entrepreneur', data: ExternalEntrepreneurData) => Promise<InsertOneResult>) & ((type: 'organization', data: ExternalOrganizationData) => Promise<InsertOneResult>) & ((type: 'paymentMethod', data: PaymentData) => Promise<InsertOneResult>) & ((type: 'vars', data: IVars) => Promise<InsertOneResult>) & ((type: 'project', data: ExternalProjectData) => Promise<InsertOneResult>);
|
|
1008
|
+
save: ((type: 'individual', data: ExternalIndividualData) => Promise<InsertOneResult>) & ((type: 'entrepreneur', data: ExternalEntrepreneurData) => Promise<InsertOneResult>) & ((type: 'organization', data: ExternalOrganizationData) => Promise<InsertOneResult>) & ((type: 'paymentMethod', data: PaymentData) => Promise<InsertOneResult>) & ((type: 'vars', data: IVars) => Promise<InsertOneResult>) & ((type: 'project', data: ExternalProjectData) => Promise<InsertOneResult>) & ((type: 'udata', data: ExternalUdata) => Promise<InsertOneResult>);
|
|
860
1009
|
get: (type: dataTypes, filter: Filter<internalFilterTypes>) => Promise<externalDataTypes | null>;
|
|
861
1010
|
del: (type: dataTypes, filter: Filter<internalFilterTypes>) => Promise<UpdateResult>;
|
|
862
1011
|
list: (type: dataTypes, filter: Filter<internalFilterTypes>) => Promise<Cooperative.Document.IGetResponse<internalFilterTypes>>;
|
|
863
|
-
getHistory: (type:
|
|
1012
|
+
getHistory: (type: 'individual' | 'entrepreneur' | 'organization' | 'paymentMethod' | 'vars' | 'project' | 'udata', filter: Filter<internalFilterTypes>) => Promise<externalDataTypesArrays>;
|
|
864
1013
|
search: (query: string) => Promise<ISearchResult[]>;
|
|
865
1014
|
}
|
|
866
1015
|
declare class Generator implements IGenerator {
|
|
@@ -879,13 +1028,15 @@ declare class Generator implements IGenerator {
|
|
|
879
1028
|
save(type: 'paymentMethod', data: PaymentData): Promise<InsertOneResult>;
|
|
880
1029
|
save(type: 'vars', data: IVars): Promise<InsertOneResult>;
|
|
881
1030
|
save(type: 'project', data: ExternalProjectData): Promise<InsertOneResult>;
|
|
1031
|
+
save(type: 'udata', data: ExternalUdata): Promise<InsertOneResult>;
|
|
1032
|
+
update(type: 'vars', filter: Filter<IVars>, data: Partial<IVars>): Promise<UpdateResult>;
|
|
882
1033
|
del(type: dataTypes, filter: Filter<internalFilterTypes>): Promise<UpdateResult>;
|
|
883
1034
|
get(type: dataTypes, filter: Filter<internalFilterTypes>): Promise<externalDataTypes | null>;
|
|
884
1035
|
list(type: dataTypes, filter: Filter<internalFilterTypes>): Promise<Cooperative.Document.IGetResponse<externalDataTypes>>;
|
|
885
|
-
getHistory(type: 'individual' | 'entrepreneur' | 'organization' | 'paymentMethod' | 'vars' | 'project', filter: Filter<internalFilterTypes>): Promise<externalDataTypesArrays>;
|
|
886
|
-
getModel(type:
|
|
1036
|
+
getHistory(type: 'individual' | 'entrepreneur' | 'organization' | 'paymentMethod' | 'vars' | 'project' | 'udata', filter: Filter<internalFilterTypes>): Promise<externalDataTypesArrays>;
|
|
1037
|
+
getModel(type: 'individual' | 'entrepreneur' | 'organization' | 'paymentMethod' | 'vars' | 'project' | 'udata', data?: externalDataTypes): Individual | Entrepreneur | Organization | PaymentMethod | Vars | Project | Udata;
|
|
887
1038
|
constructCooperative(username: string, block_num?: number): Promise<CooperativeData | null>;
|
|
888
1039
|
search(query: string): Promise<ISearchResult[]>;
|
|
889
1040
|
}
|
|
890
1041
|
|
|
891
|
-
export { AgendaMeetSchema, AgendaQuestionSchema, AnnualGeneralMeetingAgenda, AnnualGeneralMeetingDecision, AnnualGeneralMeetingNotification, AnnualGeneralMeetingSovietDecision, AnnualGeneralMeetingVotingBallot,
|
|
1042
|
+
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, type Currency, DecisionOfParticipantApplication, ExpenseDecision, ExpenseStatement, FreeDecision, GenerationContract, GenerationContractTemplate, GenerationMoneyInvestStatement, GenerationMoneyReturnUnusedStatement, GenerationPropertyInvestAct, GenerationPropertyInvestDecision, GenerationPropertyInvestStatement, GenerationToCapitalizationConvertStatement, GenerationToMainWalletConvertStatement, GenerationToProjectConvertStatement, Generator, GeneratorOffer, GeneratorOfferTemplate, GeneratorProgramTemplate, GetLoanDecision, GetLoanStatement, type IBCState, type IBankAccount, type ICombinedData, type CooperativeData as ICooperativeData, type ExternalEntrepreneurData as IEntrepreneurData, type ExternalProjectData as IExternalProjectData, type IFilterActions, type IFilterDeltas, type IFilterDocuments, type IGenerate, type IGenerateAgreement, type IGenerateJoinCoop, type IGenerateJoinCoopDecision, type IGeneratedDocument, type IGenerationOptions, type IGenerator, type ExternalIndividualData as IIndividualData, type IMetaDocument, type IMetaDocumentPartial, type ExternalOrganizationData as IOrganizationData, type IPaymentData, type ISearchResult, type ITemplate, type ITranslations, type ExternalUdata as IUdata, InitProjectDecision, InitProjectStatement, type LangType, MeetPointSchema, MeetSchema, type NestedRecord, type Numbers, ParticipantApplication, PrivacyPolicy, ProjectFreeDecision, ProjectGenerationContract, QuestionExtendedSchema, QuestionSchema, Registry, RegulationElectronicSignaturet as RegulationElectronicSignature, ResultContributionAct, ResultContributionDecision, ResultContributionStatement, ReturnByAssetAct, ReturnByAssetDecision, ReturnByAssetStatement, ReturnByMoney, ReturnByMoneyDecision, SelectBranchStatement, SosediAgreement, StorageAgreement, UserAgreement, VarsSchema, WalletAgreement, type dataTypes, decisionSchema, entrepreneurSchema, type externalDataTypes, type externalDataTypesArrays, individualSchema, type internalFilterTypes, organizationSchema, paymentMethodSchema, udataSchema };
|