@coopenomics/factory 2025.10.16 → 2025.11.7

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 CHANGED
@@ -657,8 +657,8 @@ const AgendaQuestionSchema = {
657
657
  additionalProperties: true
658
658
  };
659
659
 
660
- const registry_id$s = cooptypes.Cooperative.Registry.WalletAgreement.registry_id;
661
- const Schema$s = {
660
+ const registry_id$K = cooptypes.Cooperative.Registry.WalletAgreement.registry_id;
661
+ const Schema$K = {
662
662
  type: "object",
663
663
  properties: {
664
664
  meta: IMetaJSONSchema,
@@ -668,23 +668,23 @@ const Schema$s = {
668
668
  required: ["meta", "coop", "vars"],
669
669
  additionalProperties: true
670
670
  };
671
- const Template$s = {
671
+ const Template$K = {
672
672
  title: cooptypes.Cooperative.Registry.WalletAgreement.title,
673
673
  description: cooptypes.Cooperative.Registry.WalletAgreement.description,
674
- model: Schema$s,
674
+ model: Schema$K,
675
675
  context: cooptypes.Cooperative.Registry.WalletAgreement.context,
676
676
  translations: cooptypes.Cooperative.Registry.WalletAgreement.translations
677
677
  };
678
678
 
679
679
  const WalletAgreement = {
680
680
  __proto__: null,
681
- Schema: Schema$s,
682
- Template: Template$s,
683
- registry_id: registry_id$s
681
+ Schema: Schema$K,
682
+ Template: Template$K,
683
+ registry_id: registry_id$K
684
684
  };
685
685
 
686
- const registry_id$r = cooptypes.Cooperative.Registry.RegulationElectronicSignature.registry_id;
687
- const Schema$r = {
686
+ const registry_id$J = cooptypes.Cooperative.Registry.RegulationElectronicSignature.registry_id;
687
+ const Schema$J = {
688
688
  type: "object",
689
689
  properties: {
690
690
  meta: IMetaJSONSchema,
@@ -694,23 +694,23 @@ const Schema$r = {
694
694
  required: ["meta", "coop", "vars"],
695
695
  additionalProperties: true
696
696
  };
697
- const Template$r = {
697
+ const Template$J = {
698
698
  title: cooptypes.Cooperative.Registry.RegulationElectronicSignature.title,
699
699
  description: cooptypes.Cooperative.Registry.RegulationElectronicSignature.description,
700
- model: Schema$r,
700
+ model: Schema$J,
701
701
  context: cooptypes.Cooperative.Registry.RegulationElectronicSignature.context,
702
702
  translations: cooptypes.Cooperative.Registry.RegulationElectronicSignature.translations
703
703
  };
704
704
 
705
705
  const RegulationElectronicSignaturet = {
706
706
  __proto__: null,
707
- Schema: Schema$r,
708
- Template: Template$r,
709
- registry_id: registry_id$r
707
+ Schema: Schema$J,
708
+ Template: Template$J,
709
+ registry_id: registry_id$J
710
710
  };
711
711
 
712
- const registry_id$q = cooptypes.Cooperative.Registry.PrivacyPolicy.registry_id;
713
- const Schema$q = {
712
+ const registry_id$I = cooptypes.Cooperative.Registry.PrivacyPolicy.registry_id;
713
+ const Schema$I = {
714
714
  type: "object",
715
715
  properties: {
716
716
  meta: IMetaJSONSchema,
@@ -720,23 +720,23 @@ const Schema$q = {
720
720
  required: ["meta", "coop", "vars"],
721
721
  additionalProperties: true
722
722
  };
723
- const Template$q = {
723
+ const Template$I = {
724
724
  title: cooptypes.Cooperative.Registry.PrivacyPolicy.title,
725
725
  description: cooptypes.Cooperative.Registry.PrivacyPolicy.description,
726
- model: Schema$q,
726
+ model: Schema$I,
727
727
  context: cooptypes.Cooperative.Registry.PrivacyPolicy.context,
728
728
  translations: cooptypes.Cooperative.Registry.PrivacyPolicy.translations
729
729
  };
730
730
 
731
731
  const PrivacyPolicy = {
732
732
  __proto__: null,
733
- Schema: Schema$q,
734
- Template: Template$q,
735
- registry_id: registry_id$q
733
+ Schema: Schema$I,
734
+ Template: Template$I,
735
+ registry_id: registry_id$I
736
736
  };
737
737
 
738
- const registry_id$p = cooptypes.Cooperative.Registry.UserAgreement.registry_id;
739
- const Schema$p = {
738
+ const registry_id$H = cooptypes.Cooperative.Registry.UserAgreement.registry_id;
739
+ const Schema$H = {
740
740
  type: "object",
741
741
  properties: {
742
742
  meta: IMetaJSONSchema,
@@ -753,23 +753,23 @@ const Schema$p = {
753
753
  required: ["meta", "coop", "vars", "user"],
754
754
  additionalProperties: true
755
755
  };
756
- const Template$p = {
756
+ const Template$H = {
757
757
  title: cooptypes.Cooperative.Registry.UserAgreement.title,
758
758
  description: cooptypes.Cooperative.Registry.UserAgreement.description,
759
- model: Schema$p,
759
+ model: Schema$H,
760
760
  context: cooptypes.Cooperative.Registry.UserAgreement.context,
761
761
  translations: cooptypes.Cooperative.Registry.UserAgreement.translations
762
762
  };
763
763
 
764
764
  const UserAgreement = {
765
765
  __proto__: null,
766
- Schema: Schema$p,
767
- Template: Template$p,
768
- registry_id: registry_id$p
766
+ Schema: Schema$H,
767
+ Template: Template$H,
768
+ registry_id: registry_id$H
769
769
  };
770
770
 
771
- const registry_id$o = cooptypes.Cooperative.Registry.CoopenomicsAgreement.registry_id;
772
- const Schema$o = {
771
+ const registry_id$G = cooptypes.Cooperative.Registry.CoopenomicsAgreement.registry_id;
772
+ const Schema$G = {
773
773
  type: "object",
774
774
  properties: {
775
775
  meta: IMetaJSONSchema,
@@ -780,23 +780,23 @@ const Schema$o = {
780
780
  required: ["meta", "coop", "vars", "partner"],
781
781
  additionalProperties: true
782
782
  };
783
- const Template$o = {
783
+ const Template$G = {
784
784
  title: cooptypes.Cooperative.Registry.CoopenomicsAgreement.title,
785
785
  description: cooptypes.Cooperative.Registry.CoopenomicsAgreement.description,
786
- model: Schema$o,
786
+ model: Schema$G,
787
787
  context: cooptypes.Cooperative.Registry.CoopenomicsAgreement.context,
788
788
  translations: cooptypes.Cooperative.Registry.CoopenomicsAgreement.translations
789
789
  };
790
790
 
791
791
  const CoopenomicsAgreement = {
792
792
  __proto__: null,
793
- Schema: Schema$o,
794
- Template: Template$o,
795
- registry_id: registry_id$o
793
+ Schema: Schema$G,
794
+ Template: Template$G,
795
+ registry_id: registry_id$G
796
796
  };
797
797
 
798
- const registry_id$n = cooptypes.Cooperative.Registry.ParticipantApplication.registry_id;
799
- const Schema$n = {
798
+ const registry_id$F = cooptypes.Cooperative.Registry.ParticipantApplication.registry_id;
799
+ const Schema$F = {
800
800
  type: "object",
801
801
  properties: {
802
802
  type: {
@@ -885,23 +885,23 @@ const Schema$n = {
885
885
  required: ["meta", "coop", "type"],
886
886
  additionalProperties: true
887
887
  };
888
- const Template$n = {
888
+ const Template$F = {
889
889
  title: cooptypes.Cooperative.Registry.ParticipantApplication.title,
890
890
  description: cooptypes.Cooperative.Registry.ParticipantApplication.description,
891
- model: Schema$n,
891
+ model: Schema$F,
892
892
  context: cooptypes.Cooperative.Registry.ParticipantApplication.context,
893
893
  translations: cooptypes.Cooperative.Registry.ParticipantApplication.translations
894
894
  };
895
895
 
896
896
  const ParticipantApplication = {
897
897
  __proto__: null,
898
- Schema: Schema$n,
899
- Template: Template$n,
900
- registry_id: registry_id$n
898
+ Schema: Schema$F,
899
+ Template: Template$F,
900
+ registry_id: registry_id$F
901
901
  };
902
902
 
903
- const registry_id$m = cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.registry_id;
904
- const Schema$m = {
903
+ const registry_id$E = cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.registry_id;
904
+ const Schema$E = {
905
905
  type: "object",
906
906
  properties: {
907
907
  type: {
@@ -965,23 +965,23 @@ const Schema$m = {
965
965
  // vars не добавляем в обязательные параметры для обратной совместимости (начиная с 2.26)
966
966
  additionalProperties: true
967
967
  };
968
- const Template$m = {
968
+ const Template$E = {
969
969
  title: cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.title,
970
970
  description: cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.description,
971
- model: Schema$m,
971
+ model: Schema$E,
972
972
  context: cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.context,
973
973
  translations: cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.translations
974
974
  };
975
975
 
976
976
  const DecisionOfParticipantApplication = {
977
977
  __proto__: null,
978
- Schema: Schema$m,
979
- Template: Template$m,
980
- registry_id: registry_id$m
978
+ Schema: Schema$E,
979
+ Template: Template$E,
980
+ registry_id: registry_id$E
981
981
  };
982
982
 
983
- const registry_id$l = cooptypes.Cooperative.Registry.SelectBranchStatement.registry_id;
984
- const Schema$l = {
983
+ const registry_id$D = cooptypes.Cooperative.Registry.SelectBranchStatement.registry_id;
984
+ const Schema$D = {
985
985
  type: "object",
986
986
  properties: {
987
987
  type: {
@@ -1044,23 +1044,23 @@ const Schema$l = {
1044
1044
  required: ["meta", "type", "branch", "vars", "coop"],
1045
1045
  additionalProperties: true
1046
1046
  };
1047
- const Template$l = {
1047
+ const Template$D = {
1048
1048
  title: cooptypes.Cooperative.Registry.SelectBranchStatement.title,
1049
1049
  description: cooptypes.Cooperative.Registry.SelectBranchStatement.description,
1050
- model: Schema$l,
1050
+ model: Schema$D,
1051
1051
  context: cooptypes.Cooperative.Registry.SelectBranchStatement.context,
1052
1052
  translations: cooptypes.Cooperative.Registry.SelectBranchStatement.translations
1053
1053
  };
1054
1054
 
1055
1055
  const SelectBranchStatement = {
1056
1056
  __proto__: null,
1057
- Schema: Schema$l,
1058
- Template: Template$l,
1059
- registry_id: registry_id$l
1057
+ Schema: Schema$D,
1058
+ Template: Template$D,
1059
+ registry_id: registry_id$D
1060
1060
  };
1061
1061
 
1062
- const registry_id$k = cooptypes.Cooperative.Registry.ProjectFreeDecision.registry_id;
1063
- const Schema$k = {
1062
+ const registry_id$C = cooptypes.Cooperative.Registry.ProjectFreeDecision.registry_id;
1063
+ const Schema$C = {
1064
1064
  type: "object",
1065
1065
  properties: {
1066
1066
  coop: {
@@ -1095,23 +1095,23 @@ const Schema$k = {
1095
1095
  required: ["meta", "coop", "project", "suggester_name", "vars"],
1096
1096
  additionalProperties: true
1097
1097
  };
1098
- const Template$k = {
1098
+ const Template$C = {
1099
1099
  title: cooptypes.Cooperative.Registry.ProjectFreeDecision.title,
1100
1100
  description: cooptypes.Cooperative.Registry.ProjectFreeDecision.description,
1101
- model: Schema$k,
1101
+ model: Schema$C,
1102
1102
  context: cooptypes.Cooperative.Registry.ProjectFreeDecision.context,
1103
1103
  translations: cooptypes.Cooperative.Registry.ProjectFreeDecision.translations
1104
1104
  };
1105
1105
 
1106
1106
  const ProjectFreeDecision = {
1107
1107
  __proto__: null,
1108
- Schema: Schema$k,
1109
- Template: Template$k,
1110
- registry_id: registry_id$k
1108
+ Schema: Schema$C,
1109
+ Template: Template$C,
1110
+ registry_id: registry_id$C
1111
1111
  };
1112
1112
 
1113
- const registry_id$j = cooptypes.Cooperative.Registry.FreeDecision.registry_id;
1114
- const Schema$j = {
1113
+ const registry_id$B = cooptypes.Cooperative.Registry.FreeDecision.registry_id;
1114
+ const Schema$B = {
1115
1115
  type: "object",
1116
1116
  properties: {
1117
1117
  coop: {
@@ -1154,19 +1154,19 @@ const Schema$j = {
1154
1154
  // vars не вносим для обратной совместимости начиная с версии 2.25
1155
1155
  additionalProperties: true
1156
1156
  };
1157
- const Template$j = {
1157
+ const Template$B = {
1158
1158
  title: cooptypes.Cooperative.Registry.FreeDecision.title,
1159
1159
  description: cooptypes.Cooperative.Registry.FreeDecision.description,
1160
- model: Schema$j,
1160
+ model: Schema$B,
1161
1161
  context: cooptypes.Cooperative.Registry.FreeDecision.context,
1162
1162
  translations: cooptypes.Cooperative.Registry.FreeDecision.translations
1163
1163
  };
1164
1164
 
1165
1165
  const FreeDecision = {
1166
1166
  __proto__: null,
1167
- Schema: Schema$j,
1168
- Template: Template$j,
1169
- registry_id: registry_id$j
1167
+ Schema: Schema$B,
1168
+ Template: Template$B,
1169
+ registry_id: registry_id$B
1170
1170
  };
1171
1171
 
1172
1172
  const CommonRequestSchema = {
@@ -1196,8 +1196,8 @@ const CommonRequestSchema = {
1196
1196
  additionalProperties: true
1197
1197
  };
1198
1198
 
1199
- const registry_id$i = cooptypes.Cooperative.Registry.AssetContributionStatement.registry_id;
1200
- const Schema$i = {
1199
+ const registry_id$A = cooptypes.Cooperative.Registry.AssetContributionStatement.registry_id;
1200
+ const Schema$A = {
1201
1201
  type: "object",
1202
1202
  properties: {
1203
1203
  meta: IMetaJSONSchema,
@@ -1209,23 +1209,23 @@ const Schema$i = {
1209
1209
  required: ["meta", "coop", "vars", "request", "user"],
1210
1210
  additionalProperties: true
1211
1211
  };
1212
- const Template$i = {
1212
+ const Template$A = {
1213
1213
  title: cooptypes.Cooperative.Registry.AssetContributionStatement.title,
1214
1214
  description: cooptypes.Cooperative.Registry.AssetContributionStatement.description,
1215
- model: Schema$i,
1215
+ model: Schema$A,
1216
1216
  context: cooptypes.Cooperative.Registry.AssetContributionStatement.context,
1217
1217
  translations: cooptypes.Cooperative.Registry.AssetContributionStatement.translations
1218
1218
  };
1219
1219
 
1220
1220
  const AssetContributionStatement = {
1221
1221
  __proto__: null,
1222
- Schema: Schema$i,
1223
- Template: Template$i,
1224
- registry_id: registry_id$i
1222
+ Schema: Schema$A,
1223
+ Template: Template$A,
1224
+ registry_id: registry_id$A
1225
1225
  };
1226
1226
 
1227
- const registry_id$h = cooptypes.Cooperative.Registry.ReturnByAssetStatement.registry_id;
1228
- const Schema$h = {
1227
+ const registry_id$z = cooptypes.Cooperative.Registry.ReturnByAssetStatement.registry_id;
1228
+ const Schema$z = {
1229
1229
  type: "object",
1230
1230
  properties: {
1231
1231
  meta: IMetaJSONSchema,
@@ -1237,23 +1237,23 @@ const Schema$h = {
1237
1237
  required: ["meta", "coop", "vars", "request", "user"],
1238
1238
  additionalProperties: true
1239
1239
  };
1240
- const Template$h = {
1240
+ const Template$z = {
1241
1241
  title: cooptypes.Cooperative.Registry.ReturnByAssetStatement.title,
1242
1242
  description: cooptypes.Cooperative.Registry.ReturnByAssetStatement.description,
1243
- model: Schema$h,
1243
+ model: Schema$z,
1244
1244
  context: cooptypes.Cooperative.Registry.ReturnByAssetStatement.context,
1245
1245
  translations: cooptypes.Cooperative.Registry.ReturnByAssetStatement.translations
1246
1246
  };
1247
1247
 
1248
1248
  const ReturnByAssetStatement = {
1249
1249
  __proto__: null,
1250
- Schema: Schema$h,
1251
- Template: Template$h,
1252
- registry_id: registry_id$h
1250
+ Schema: Schema$z,
1251
+ Template: Template$z,
1252
+ registry_id: registry_id$z
1253
1253
  };
1254
1254
 
1255
- const registry_id$g = cooptypes.Cooperative.Registry.AssetContributionDecision.registry_id;
1256
- const Schema$g = {
1255
+ const registry_id$y = cooptypes.Cooperative.Registry.AssetContributionDecision.registry_id;
1256
+ const Schema$y = {
1257
1257
  type: "object",
1258
1258
  properties: {
1259
1259
  meta: IMetaJSONSchema,
@@ -1266,23 +1266,23 @@ const Schema$g = {
1266
1266
  required: ["meta", "coop", "vars", "request", "user", "decision"],
1267
1267
  additionalProperties: true
1268
1268
  };
1269
- const Template$g = {
1269
+ const Template$y = {
1270
1270
  title: cooptypes.Cooperative.Registry.AssetContributionDecision.title,
1271
1271
  description: cooptypes.Cooperative.Registry.AssetContributionDecision.description,
1272
- model: Schema$g,
1272
+ model: Schema$y,
1273
1273
  context: cooptypes.Cooperative.Registry.AssetContributionDecision.context,
1274
1274
  translations: cooptypes.Cooperative.Registry.AssetContributionDecision.translations
1275
1275
  };
1276
1276
 
1277
1277
  const AssetContributionDecision = {
1278
1278
  __proto__: null,
1279
- Schema: Schema$g,
1280
- Template: Template$g,
1281
- registry_id: registry_id$g
1279
+ Schema: Schema$y,
1280
+ Template: Template$y,
1281
+ registry_id: registry_id$y
1282
1282
  };
1283
1283
 
1284
- const registry_id$f = cooptypes.Cooperative.Registry.ReturnByAssetDecision.registry_id;
1285
- const Schema$f = {
1284
+ const registry_id$x = cooptypes.Cooperative.Registry.ReturnByAssetDecision.registry_id;
1285
+ const Schema$x = {
1286
1286
  type: "object",
1287
1287
  properties: {
1288
1288
  meta: IMetaJSONSchema,
@@ -1295,19 +1295,19 @@ const Schema$f = {
1295
1295
  required: ["meta", "coop", "vars", "request", "user", "decision"],
1296
1296
  additionalProperties: true
1297
1297
  };
1298
- const Template$f = {
1298
+ const Template$x = {
1299
1299
  title: cooptypes.Cooperative.Registry.ReturnByAssetDecision.title,
1300
1300
  description: cooptypes.Cooperative.Registry.ReturnByAssetDecision.description,
1301
- model: Schema$f,
1301
+ model: Schema$x,
1302
1302
  context: cooptypes.Cooperative.Registry.ReturnByAssetDecision.context,
1303
1303
  translations: cooptypes.Cooperative.Registry.ReturnByAssetDecision.translations
1304
1304
  };
1305
1305
 
1306
1306
  const ReturnByAssetDecision = {
1307
1307
  __proto__: null,
1308
- Schema: Schema$f,
1309
- Template: Template$f,
1310
- registry_id: registry_id$f
1308
+ Schema: Schema$x,
1309
+ Template: Template$x,
1310
+ registry_id: registry_id$x
1311
1311
  };
1312
1312
 
1313
1313
  const FirstLastMiddleNameSchema = {
@@ -1330,8 +1330,8 @@ const CommonProgramSchema = {
1330
1330
  additionalProperties: true
1331
1331
  };
1332
1332
 
1333
- const registry_id$e = cooptypes.Cooperative.Registry.AssetContributionAct.registry_id;
1334
- const Schema$e = {
1333
+ const registry_id$w = cooptypes.Cooperative.Registry.AssetContributionAct.registry_id;
1334
+ const Schema$w = {
1335
1335
  type: "object",
1336
1336
  properties: {
1337
1337
  meta: IMetaJSONSchema,
@@ -1348,23 +1348,23 @@ const Schema$e = {
1348
1348
  required: ["meta", "coop", "vars", "request", "user", "decision", "act_id", "receiver", "program"],
1349
1349
  additionalProperties: true
1350
1350
  };
1351
- const Template$e = {
1351
+ const Template$w = {
1352
1352
  title: cooptypes.Cooperative.Registry.AssetContributionAct.title,
1353
1353
  description: cooptypes.Cooperative.Registry.AssetContributionAct.description,
1354
- model: Schema$e,
1354
+ model: Schema$w,
1355
1355
  context: cooptypes.Cooperative.Registry.AssetContributionAct.context,
1356
1356
  translations: cooptypes.Cooperative.Registry.AssetContributionAct.translations
1357
1357
  };
1358
1358
 
1359
1359
  const AssetContributionAct = {
1360
1360
  __proto__: null,
1361
- Schema: Schema$e,
1362
- Template: Template$e,
1363
- registry_id: registry_id$e
1361
+ Schema: Schema$w,
1362
+ Template: Template$w,
1363
+ registry_id: registry_id$w
1364
1364
  };
1365
1365
 
1366
- const registry_id$d = cooptypes.Cooperative.Registry.ReturnByAssetAct.registry_id;
1367
- const Schema$d = {
1366
+ const registry_id$v = cooptypes.Cooperative.Registry.ReturnByAssetAct.registry_id;
1367
+ const Schema$v = {
1368
1368
  type: "object",
1369
1369
  properties: {
1370
1370
  meta: IMetaJSONSchema,
@@ -1381,23 +1381,23 @@ const Schema$d = {
1381
1381
  required: ["meta", "coop", "vars", "request", "user", "decision", "act_id", "transmitter", "program"],
1382
1382
  additionalProperties: true
1383
1383
  };
1384
- const Template$d = {
1384
+ const Template$v = {
1385
1385
  title: cooptypes.Cooperative.Registry.ReturnByAssetAct.title,
1386
1386
  description: cooptypes.Cooperative.Registry.ReturnByAssetAct.description,
1387
- model: Schema$d,
1387
+ model: Schema$v,
1388
1388
  context: cooptypes.Cooperative.Registry.ReturnByAssetAct.context,
1389
1389
  translations: cooptypes.Cooperative.Registry.ReturnByAssetAct.translations
1390
1390
  };
1391
1391
 
1392
1392
  const ReturnByAssetAct = {
1393
1393
  __proto__: null,
1394
- Schema: Schema$d,
1395
- Template: Template$d,
1396
- registry_id: registry_id$d
1394
+ Schema: Schema$v,
1395
+ Template: Template$v,
1396
+ registry_id: registry_id$v
1397
1397
  };
1398
1398
 
1399
- const registry_id$c = cooptypes.Cooperative.Registry.ReturnByMoney.registry_id;
1400
- const Schema$c = {
1399
+ const registry_id$u = cooptypes.Cooperative.Registry.ReturnByMoney.registry_id;
1400
+ const Schema$u = {
1401
1401
  type: "object",
1402
1402
  properties: {
1403
1403
  meta: IMetaJSONSchema,
@@ -1412,23 +1412,23 @@ const Schema$c = {
1412
1412
  required: ["meta", "coop", "vars", "user", "payment_details", "quantity", "currency", "payment_hash"],
1413
1413
  additionalProperties: false
1414
1414
  };
1415
- const Template$c = {
1415
+ const Template$u = {
1416
1416
  title: cooptypes.Cooperative.Registry.ReturnByMoney.title,
1417
1417
  description: cooptypes.Cooperative.Registry.ReturnByMoney.description,
1418
- model: Schema$c,
1418
+ model: Schema$u,
1419
1419
  context: cooptypes.Cooperative.Registry.ReturnByMoney.context,
1420
1420
  translations: cooptypes.Cooperative.Registry.ReturnByMoney.translations
1421
1421
  };
1422
1422
 
1423
1423
  const ReturnByMoney = {
1424
1424
  __proto__: null,
1425
- Schema: Schema$c,
1426
- Template: Template$c,
1427
- registry_id: registry_id$c
1425
+ Schema: Schema$u,
1426
+ Template: Template$u,
1427
+ registry_id: registry_id$u
1428
1428
  };
1429
1429
 
1430
- const registry_id$b = cooptypes.Cooperative.Registry.ReturnByMoneyDecision.registry_id;
1431
- const Schema$b = {
1430
+ const registry_id$t = cooptypes.Cooperative.Registry.ReturnByMoneyDecision.registry_id;
1431
+ const Schema$t = {
1432
1432
  type: "object",
1433
1433
  properties: {
1434
1434
  meta: {
@@ -1463,272 +1463,568 @@ const Schema$b = {
1463
1463
  required: ["meta", "coop", "decision", "user", "quantity", "currency", "vars"],
1464
1464
  additionalProperties: false
1465
1465
  };
1466
- const Template$b = {
1466
+ const Template$t = {
1467
1467
  title: cooptypes.Cooperative.Registry.ReturnByMoneyDecision.title,
1468
1468
  description: cooptypes.Cooperative.Registry.ReturnByMoneyDecision.description,
1469
- model: Schema$b,
1469
+ model: Schema$t,
1470
1470
  context: cooptypes.Cooperative.Registry.ReturnByMoneyDecision.context,
1471
1471
  translations: cooptypes.Cooperative.Registry.ReturnByMoneyDecision.translations
1472
1472
  };
1473
1473
 
1474
1474
  const ReturnByMoneyDecision = {
1475
1475
  __proto__: null,
1476
- Schema: Schema$b,
1477
- Template: Template$b,
1478
- registry_id: registry_id$b
1476
+ Schema: Schema$t,
1477
+ Template: Template$t,
1478
+ registry_id: registry_id$t
1479
1479
  };
1480
1480
 
1481
- const registry_id$a = cooptypes.Cooperative.Registry.InvestmentAgreement.registry_id;
1482
- const Schema$a = {
1481
+ const registry_id$s = cooptypes.Cooperative.Registry.CapitalizationAgreement.registry_id;
1482
+ const Schema$s = {
1483
1483
  type: "object",
1484
1484
  properties: {
1485
- meta: IMetaJSONSchema,
1486
- coop: CooperativeSchema,
1487
- vars: {
1488
- ...VarsSchema,
1489
- required: [...VarsSchema.required || [], "investment_agreement"]
1490
- },
1491
- subject: { type: "string" },
1492
- terms: { type: "string" },
1493
- uhdContract: {
1494
- type: "object",
1495
- properties: {
1496
- date: { type: "string" },
1497
- number: { type: "string" }
1498
- },
1499
- required: ["date", "number"]
1500
- },
1501
- user: CommonUserSchema,
1502
- coopBankAccount: BankAccountSchema,
1503
- type: {
1504
- type: "string",
1505
- enum: ["individual", "entrepreneur", "organization"]
1506
- },
1507
- individual: {
1508
- type: "object",
1509
- properties: {
1510
- ...individualSchema.properties
1511
- },
1512
- required: individualSchema.required,
1513
- additionalProperties: true,
1514
- nullable: true
1515
- },
1516
- organization: {
1517
- type: "object",
1518
- properties: {
1519
- ...organizationSchema.properties
1520
- },
1521
- required: organizationSchema.required,
1522
- additionalProperties: true,
1523
- nullable: true
1524
- },
1525
- entrepreneur: {
1526
- type: "object",
1527
- properties: {
1528
- ...entrepreneurSchema.properties
1529
- },
1530
- required: entrepreneurSchema.required,
1531
- additionalProperties: true,
1532
- nullable: true
1533
- },
1534
- organizationBankAccount: {
1535
- type: "object",
1536
- properties: {
1537
- ...BankAccountSchema.properties
1538
- },
1539
- required: BankAccountSchema.required,
1540
- additionalProperties: true,
1541
- nullable: true
1542
- },
1543
- entrepreneurBankAccount: {
1544
- type: "object",
1545
- properties: {
1546
- ...BankAccountSchema.properties
1547
- },
1548
- required: BankAccountSchema.required,
1549
- additionalProperties: true,
1550
- nullable: true
1551
- }
1485
+ meta: IMetaJSONSchema
1552
1486
  },
1553
- required: ["meta", "coop", "vars", "uhdContract", "user", "coopBankAccount", "type"],
1487
+ required: ["meta"],
1554
1488
  additionalProperties: true
1555
1489
  };
1556
- const Template$a = {
1557
- title: cooptypes.Cooperative.Registry.InvestmentAgreement.title,
1558
- description: cooptypes.Cooperative.Registry.InvestmentAgreement.description,
1559
- model: Schema$a,
1560
- context: cooptypes.Cooperative.Registry.InvestmentAgreement.context,
1561
- translations: cooptypes.Cooperative.Registry.InvestmentAgreement.translations
1490
+ const Template$s = {
1491
+ title: cooptypes.Cooperative.Registry.CapitalizationAgreement.title,
1492
+ description: cooptypes.Cooperative.Registry.CapitalizationAgreement.description,
1493
+ model: Schema$s,
1494
+ context: cooptypes.Cooperative.Registry.CapitalizationAgreement.context,
1495
+ translations: cooptypes.Cooperative.Registry.CapitalizationAgreement.translations
1562
1496
  };
1563
1497
 
1564
- const InvestmentAgreement = {
1498
+ const CapitalizationAgreement = {
1565
1499
  __proto__: null,
1566
- Schema: Schema$a,
1567
- Template: Template$a,
1568
- registry_id: registry_id$a
1500
+ Schema: Schema$s,
1501
+ Template: Template$s,
1502
+ registry_id: registry_id$s
1569
1503
  };
1570
1504
 
1571
- const UHDContractSchema = {
1505
+ const registry_id$r = cooptypes.Cooperative.Registry.GenerationAgreement.registry_id;
1506
+ const Schema$r = {
1572
1507
  type: "object",
1573
1508
  properties: {
1574
- number: { type: "string" },
1575
- date: { type: "string" }
1509
+ meta: IMetaJSONSchema,
1510
+ coop: CooperativeSchema
1576
1511
  },
1577
- required: ["number", "date"],
1512
+ required: ["meta", "coop"],
1578
1513
  additionalProperties: true
1579
1514
  };
1515
+ const Template$r = {
1516
+ title: cooptypes.Cooperative.Registry.GenerationAgreement.title,
1517
+ description: cooptypes.Cooperative.Registry.GenerationAgreement.description,
1518
+ model: Schema$r,
1519
+ context: cooptypes.Cooperative.Registry.GenerationAgreement.context,
1520
+ translations: cooptypes.Cooperative.Registry.GenerationAgreement.translations
1521
+ };
1522
+
1523
+ const GenerationAgreement = {
1524
+ __proto__: null,
1525
+ Schema: Schema$r,
1526
+ Template: Template$r,
1527
+ registry_id: registry_id$r
1528
+ };
1580
1529
 
1581
- const IntellectualResultSchema = {
1530
+ const registry_id$q = cooptypes.Cooperative.Registry.AppendixGenerationAgreement.registry_id;
1531
+ const Schema$q = {
1582
1532
  type: "object",
1583
1533
  properties: {
1584
- quantity: { type: "number" },
1585
- name: { type: "string" },
1586
- currency: { type: "string" },
1587
- unit_price: { type: "number" },
1588
- total_price: { type: "number" },
1589
- description: { type: "string" }
1534
+ meta: IMetaJSONSchema
1590
1535
  },
1591
- required: ["quantity", "name", "currency", "unit_price", "total_price", "description"],
1536
+ required: ["meta"],
1592
1537
  additionalProperties: true
1593
1538
  };
1539
+ const Template$q = {
1540
+ title: cooptypes.Cooperative.Registry.AppendixGenerationAgreement.title,
1541
+ description: cooptypes.Cooperative.Registry.AppendixGenerationAgreement.description,
1542
+ model: Schema$q,
1543
+ context: cooptypes.Cooperative.Registry.AppendixGenerationAgreement.context,
1544
+ translations: cooptypes.Cooperative.Registry.AppendixGenerationAgreement.translations
1545
+ };
1594
1546
 
1595
- const registry_id$9 = cooptypes.Cooperative.Registry.InvestByResultStatement.registry_id;
1596
- const Schema$9 = {
1547
+ const AppendixGenerationAgreement = {
1548
+ __proto__: null,
1549
+ Schema: Schema$q,
1550
+ Template: Template$q,
1551
+ registry_id: registry_id$q
1552
+ };
1553
+
1554
+ const registry_id$p = cooptypes.Cooperative.Registry.ExpenseStatement.registry_id;
1555
+ const Schema$p = {
1597
1556
  type: "object",
1598
1557
  properties: {
1599
- meta: IMetaJSONSchema,
1600
- coop: CooperativeSchema,
1601
- vars: VarsSchema,
1602
- uhdContract: UHDContractSchema,
1603
- user: CommonUserSchema,
1604
- result: IntellectualResultSchema
1558
+ meta: IMetaJSONSchema
1605
1559
  },
1606
- required: ["meta", "coop", "vars", "uhdContract", "result", "user"],
1560
+ required: ["meta"],
1607
1561
  additionalProperties: true
1608
1562
  };
1609
- const Template$9 = {
1610
- title: cooptypes.Cooperative.Registry.InvestByResultStatement.title,
1611
- description: cooptypes.Cooperative.Registry.InvestByResultStatement.description,
1612
- model: Schema$9,
1613
- context: cooptypes.Cooperative.Registry.InvestByResultStatement.context,
1614
- translations: cooptypes.Cooperative.Registry.InvestByResultStatement.translations
1563
+ const Template$p = {
1564
+ title: cooptypes.Cooperative.Registry.ExpenseStatement.title,
1565
+ description: cooptypes.Cooperative.Registry.ExpenseStatement.description,
1566
+ model: Schema$p,
1567
+ context: cooptypes.Cooperative.Registry.ExpenseStatement.context,
1568
+ translations: cooptypes.Cooperative.Registry.ExpenseStatement.translations
1615
1569
  };
1616
1570
 
1617
- const InvestByResultStatement = {
1571
+ const ExpenseStatement = {
1618
1572
  __proto__: null,
1619
- Schema: Schema$9,
1620
- Template: Template$9,
1621
- registry_id: registry_id$9
1573
+ Schema: Schema$p,
1574
+ Template: Template$p,
1575
+ registry_id: registry_id$p
1622
1576
  };
1623
1577
 
1624
- const registry_id$8 = cooptypes.Cooperative.Registry.InvestByResultAct.registry_id;
1625
- const Schema$8 = {
1578
+ const registry_id$o = cooptypes.Cooperative.Registry.ExpenseDecision.registry_id;
1579
+ const Schema$o = {
1626
1580
  type: "object",
1627
1581
  properties: {
1628
- meta: IMetaJSONSchema,
1629
- coop: CooperativeSchema,
1630
- vars: VarsSchema,
1631
- uhdContract: UHDContractSchema,
1632
- user: CommonUserSchema,
1633
- result: IntellectualResultSchema,
1634
- decision: decisionSchema,
1635
- act: {
1636
- type: "object",
1637
- properties: {
1638
- number: { type: "string" }
1639
- },
1640
- required: ["number"],
1641
- additionalProperties: true
1642
- }
1582
+ meta: IMetaJSONSchema
1643
1583
  },
1644
- required: ["meta", "coop", "vars", "uhdContract", "result", "user"],
1584
+ required: ["meta"],
1645
1585
  additionalProperties: true
1646
1586
  };
1647
- const Template$8 = {
1648
- title: cooptypes.Cooperative.Registry.InvestByResultAct.title,
1649
- description: cooptypes.Cooperative.Registry.InvestByResultAct.description,
1650
- model: Schema$8,
1651
- context: cooptypes.Cooperative.Registry.InvestByResultAct.context,
1652
- translations: cooptypes.Cooperative.Registry.InvestByResultAct.translations
1587
+ const Template$o = {
1588
+ title: cooptypes.Cooperative.Registry.ExpenseDecision.title,
1589
+ description: cooptypes.Cooperative.Registry.ExpenseDecision.description,
1590
+ model: Schema$o,
1591
+ context: cooptypes.Cooperative.Registry.ExpenseDecision.context,
1592
+ translations: cooptypes.Cooperative.Registry.ExpenseDecision.translations
1653
1593
  };
1654
1594
 
1655
- const InvestByResultAct = {
1595
+ const ExpenseDecision = {
1656
1596
  __proto__: null,
1657
- Schema: Schema$8,
1658
- Template: Template$8,
1659
- registry_id: registry_id$8
1597
+ Schema: Schema$o,
1598
+ Template: Template$o,
1599
+ registry_id: registry_id$o
1660
1600
  };
1661
1601
 
1662
- const ContributionAmountSchema = {
1602
+ const registry_id$n = cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.registry_id;
1603
+ const Schema$n = {
1663
1604
  type: "object",
1664
1605
  properties: {
1665
- amount: { type: "number" },
1666
- currency: { type: "string" },
1667
- words: { type: "string" }
1606
+ meta: IMetaJSONSchema
1668
1607
  },
1669
- required: ["amount", "currency", "words"],
1608
+ required: ["meta"],
1670
1609
  additionalProperties: true
1671
1610
  };
1611
+ const Template$n = {
1612
+ title: cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.title,
1613
+ description: cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.description,
1614
+ model: Schema$n,
1615
+ context: cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.context,
1616
+ translations: cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.translations
1617
+ };
1672
1618
 
1673
- const registry_id$7 = cooptypes.Cooperative.Registry.InvestByMoneyStatement.registry_id;
1674
- const Schema$7 = {
1619
+ const GenerationMoneyInvestStatement = {
1620
+ __proto__: null,
1621
+ Schema: Schema$n,
1622
+ Template: Template$n,
1623
+ registry_id: registry_id$n
1624
+ };
1625
+
1626
+ const registry_id$m = cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.registry_id;
1627
+ const Schema$m = {
1675
1628
  type: "object",
1676
1629
  properties: {
1677
- meta: IMetaJSONSchema,
1678
- coop: CooperativeSchema,
1679
- uhdContract: UHDContractSchema,
1680
- user: CommonUserSchema,
1681
- contribution: ContributionAmountSchema
1630
+ meta: IMetaJSONSchema
1682
1631
  },
1683
- required: ["meta", "coop", "uhdContract", "user", "contribution"],
1632
+ required: ["meta"],
1684
1633
  additionalProperties: true
1685
1634
  };
1686
- const Template$7 = {
1687
- title: cooptypes.Cooperative.Registry.InvestByMoneyStatement.title,
1688
- description: cooptypes.Cooperative.Registry.InvestByMoneyStatement.description,
1689
- model: Schema$7,
1690
- context: cooptypes.Cooperative.Registry.InvestByMoneyStatement.context,
1691
- translations: cooptypes.Cooperative.Registry.InvestByMoneyStatement.translations
1635
+ const Template$m = {
1636
+ title: cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.title,
1637
+ description: cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.description,
1638
+ model: Schema$m,
1639
+ context: cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.context,
1640
+ translations: cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.translations
1692
1641
  };
1693
1642
 
1694
- const InvestByMoneyStatement = {
1643
+ const GenerationMoneyReturnUnusedStatement = {
1695
1644
  __proto__: null,
1696
- Schema: Schema$7,
1697
- Template: Template$7,
1698
- registry_id: registry_id$7
1645
+ Schema: Schema$m,
1646
+ Template: Template$m,
1647
+ registry_id: registry_id$m
1699
1648
  };
1700
1649
 
1701
- const registry_id$6 = cooptypes.Cooperative.Registry.InvestMembershipConvertation.registry_id;
1650
+ const registry_id$l = cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.registry_id;
1651
+ const Schema$l = {
1652
+ type: "object",
1653
+ properties: {
1654
+ meta: IMetaJSONSchema
1655
+ },
1656
+ required: ["meta"],
1657
+ additionalProperties: true
1658
+ };
1659
+ const Template$l = {
1660
+ title: cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.title,
1661
+ description: cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.description,
1662
+ model: Schema$l,
1663
+ context: cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.context,
1664
+ translations: cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.translations
1665
+ };
1666
+
1667
+ const CapitalizationMoneyInvestStatement = {
1668
+ __proto__: null,
1669
+ Schema: Schema$l,
1670
+ Template: Template$l,
1671
+ registry_id: registry_id$l
1672
+ };
1673
+
1674
+ const registry_id$k = cooptypes.Cooperative.Registry.ResultContributionStatement.registry_id;
1675
+ const Schema$k = {
1676
+ type: "object",
1677
+ properties: {
1678
+ meta: IMetaJSONSchema
1679
+ },
1680
+ required: ["meta"],
1681
+ additionalProperties: true
1682
+ };
1683
+ const Template$k = {
1684
+ title: cooptypes.Cooperative.Registry.ResultContributionStatement.title,
1685
+ description: cooptypes.Cooperative.Registry.ResultContributionStatement.description,
1686
+ model: Schema$k,
1687
+ context: cooptypes.Cooperative.Registry.ResultContributionStatement.context,
1688
+ translations: cooptypes.Cooperative.Registry.ResultContributionStatement.translations
1689
+ };
1690
+
1691
+ const ResultContributionStatement = {
1692
+ __proto__: null,
1693
+ Schema: Schema$k,
1694
+ Template: Template$k,
1695
+ registry_id: registry_id$k
1696
+ };
1697
+
1698
+ const registry_id$j = cooptypes.Cooperative.Registry.ResultContributionDecision.registry_id;
1699
+ const Schema$j = {
1700
+ type: "object",
1701
+ properties: {
1702
+ meta: IMetaJSONSchema
1703
+ },
1704
+ required: ["meta"],
1705
+ additionalProperties: true
1706
+ };
1707
+ const Template$j = {
1708
+ title: cooptypes.Cooperative.Registry.ResultContributionDecision.title,
1709
+ description: cooptypes.Cooperative.Registry.ResultContributionDecision.description,
1710
+ model: Schema$j,
1711
+ context: cooptypes.Cooperative.Registry.ResultContributionDecision.context,
1712
+ translations: cooptypes.Cooperative.Registry.ResultContributionDecision.translations
1713
+ };
1714
+
1715
+ const ResultContributionDecision = {
1716
+ __proto__: null,
1717
+ Schema: Schema$j,
1718
+ Template: Template$j,
1719
+ registry_id: registry_id$j
1720
+ };
1721
+
1722
+ const registry_id$i = cooptypes.Cooperative.Registry.ResultContributionAct.registry_id;
1723
+ const Schema$i = {
1724
+ type: "object",
1725
+ properties: {
1726
+ meta: IMetaJSONSchema
1727
+ },
1728
+ required: ["meta"],
1729
+ additionalProperties: true
1730
+ };
1731
+ const Template$i = {
1732
+ title: cooptypes.Cooperative.Registry.ResultContributionAct.title,
1733
+ description: cooptypes.Cooperative.Registry.ResultContributionAct.description,
1734
+ model: Schema$i,
1735
+ context: cooptypes.Cooperative.Registry.ResultContributionAct.context,
1736
+ translations: cooptypes.Cooperative.Registry.ResultContributionAct.translations
1737
+ };
1738
+
1739
+ const ResultContributionAct = {
1740
+ __proto__: null,
1741
+ Schema: Schema$i,
1742
+ Template: Template$i,
1743
+ registry_id: registry_id$i
1744
+ };
1745
+
1746
+ const registry_id$h = cooptypes.Cooperative.Registry.GetLoanStatement.registry_id;
1747
+ const Schema$h = {
1748
+ type: "object",
1749
+ properties: {
1750
+ meta: IMetaJSONSchema
1751
+ },
1752
+ required: ["meta"],
1753
+ additionalProperties: true
1754
+ };
1755
+ const Template$h = {
1756
+ title: cooptypes.Cooperative.Registry.GetLoanStatement.title,
1757
+ description: cooptypes.Cooperative.Registry.GetLoanStatement.description,
1758
+ model: Schema$h,
1759
+ context: cooptypes.Cooperative.Registry.GetLoanStatement.context,
1760
+ translations: cooptypes.Cooperative.Registry.GetLoanStatement.translations
1761
+ };
1762
+
1763
+ const GetLoanStatement = {
1764
+ __proto__: null,
1765
+ Schema: Schema$h,
1766
+ Template: Template$h,
1767
+ registry_id: registry_id$h
1768
+ };
1769
+
1770
+ const registry_id$g = cooptypes.Cooperative.Registry.GetLoanDecision.registry_id;
1771
+ const Schema$g = {
1772
+ type: "object",
1773
+ properties: {
1774
+ meta: IMetaJSONSchema
1775
+ },
1776
+ required: ["meta"],
1777
+ additionalProperties: true
1778
+ };
1779
+ const Template$g = {
1780
+ title: cooptypes.Cooperative.Registry.GetLoanDecision.title,
1781
+ description: cooptypes.Cooperative.Registry.GetLoanDecision.description,
1782
+ model: Schema$g,
1783
+ context: cooptypes.Cooperative.Registry.GetLoanDecision.context,
1784
+ translations: cooptypes.Cooperative.Registry.GetLoanDecision.translations
1785
+ };
1786
+
1787
+ const GetLoanDecision = {
1788
+ __proto__: null,
1789
+ Schema: Schema$g,
1790
+ Template: Template$g,
1791
+ registry_id: registry_id$g
1792
+ };
1793
+
1794
+ const registry_id$f = cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.registry_id;
1795
+ const Schema$f = {
1796
+ type: "object",
1797
+ properties: {
1798
+ meta: IMetaJSONSchema
1799
+ },
1800
+ required: ["meta"],
1801
+ additionalProperties: true
1802
+ };
1803
+ const Template$f = {
1804
+ title: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.title,
1805
+ description: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.description,
1806
+ model: Schema$f,
1807
+ context: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.context,
1808
+ translations: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.translations
1809
+ };
1810
+
1811
+ const GenerationPropertyInvestStatement = {
1812
+ __proto__: null,
1813
+ Schema: Schema$f,
1814
+ Template: Template$f,
1815
+ registry_id: registry_id$f
1816
+ };
1817
+
1818
+ const registry_id$e = cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.registry_id;
1819
+ const Schema$e = {
1820
+ type: "object",
1821
+ properties: {
1822
+ meta: IMetaJSONSchema
1823
+ },
1824
+ required: ["meta"],
1825
+ additionalProperties: true
1826
+ };
1827
+ const Template$e = {
1828
+ title: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.title,
1829
+ description: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.description,
1830
+ model: Schema$e,
1831
+ context: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.context,
1832
+ translations: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.translations
1833
+ };
1834
+
1835
+ const GenerationPropertyInvestDecision = {
1836
+ __proto__: null,
1837
+ Schema: Schema$e,
1838
+ Template: Template$e,
1839
+ registry_id: registry_id$e
1840
+ };
1841
+
1842
+ const registry_id$d = cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.registry_id;
1843
+ const Schema$d = {
1844
+ type: "object",
1845
+ properties: {
1846
+ meta: IMetaJSONSchema
1847
+ },
1848
+ required: ["meta"],
1849
+ additionalProperties: true
1850
+ };
1851
+ const Template$d = {
1852
+ title: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.title,
1853
+ description: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.description,
1854
+ model: Schema$d,
1855
+ context: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.context,
1856
+ translations: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.translations
1857
+ };
1858
+
1859
+ const GenerationPropertyInvestAct = {
1860
+ __proto__: null,
1861
+ Schema: Schema$d,
1862
+ Template: Template$d,
1863
+ registry_id: registry_id$d
1864
+ };
1865
+
1866
+ const registry_id$c = cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.registry_id;
1867
+ const Schema$c = {
1868
+ type: "object",
1869
+ properties: {
1870
+ meta: IMetaJSONSchema
1871
+ },
1872
+ required: ["meta"],
1873
+ additionalProperties: true
1874
+ };
1875
+ const Template$c = {
1876
+ title: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.title,
1877
+ description: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.description,
1878
+ model: Schema$c,
1879
+ context: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.context,
1880
+ translations: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.translations
1881
+ };
1882
+
1883
+ const CapitalizationPropertyInvestStatement = {
1884
+ __proto__: null,
1885
+ Schema: Schema$c,
1886
+ Template: Template$c,
1887
+ registry_id: registry_id$c
1888
+ };
1889
+
1890
+ const registry_id$b = cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.registry_id;
1891
+ const Schema$b = {
1892
+ type: "object",
1893
+ properties: {
1894
+ meta: IMetaJSONSchema
1895
+ },
1896
+ required: ["meta"],
1897
+ additionalProperties: true
1898
+ };
1899
+ const Template$b = {
1900
+ title: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.title,
1901
+ description: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.description,
1902
+ model: Schema$b,
1903
+ context: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.context,
1904
+ translations: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.translations
1905
+ };
1906
+
1907
+ const CapitalizationPropertyInvestDecision = {
1908
+ __proto__: null,
1909
+ Schema: Schema$b,
1910
+ Template: Template$b,
1911
+ registry_id: registry_id$b
1912
+ };
1913
+
1914
+ const registry_id$a = cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.registry_id;
1915
+ const Schema$a = {
1916
+ type: "object",
1917
+ properties: {
1918
+ meta: IMetaJSONSchema
1919
+ },
1920
+ required: ["meta"],
1921
+ additionalProperties: true
1922
+ };
1923
+ const Template$a = {
1924
+ title: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.title,
1925
+ description: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.description,
1926
+ model: Schema$a,
1927
+ context: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.context,
1928
+ translations: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.translations
1929
+ };
1930
+
1931
+ const CapitalizationPropertyInvestAct = {
1932
+ __proto__: null,
1933
+ Schema: Schema$a,
1934
+ Template: Template$a,
1935
+ registry_id: registry_id$a
1936
+ };
1937
+
1938
+ const registry_id$9 = cooptypes.Cooperative.Registry.GenerationToMainWalletConvertStatement.registry_id;
1939
+ const Schema$9 = {
1940
+ type: "object",
1941
+ properties: {
1942
+ meta: IMetaJSONSchema
1943
+ },
1944
+ required: ["meta"],
1945
+ additionalProperties: true
1946
+ };
1947
+ const Template$9 = {
1948
+ title: cooptypes.Cooperative.Registry.GenerationToMainWalletConvertStatement.title,
1949
+ description: cooptypes.Cooperative.Registry.GenerationToMainWalletConvertStatement.description,
1950
+ model: Schema$9,
1951
+ context: cooptypes.Cooperative.Registry.GenerationToMainWalletConvertStatement.context,
1952
+ translations: cooptypes.Cooperative.Registry.GenerationToMainWalletConvertStatement.translations
1953
+ };
1954
+
1955
+ const GenerationToMainWalletConvertStatement = {
1956
+ __proto__: null,
1957
+ Schema: Schema$9,
1958
+ Template: Template$9,
1959
+ registry_id: registry_id$9
1960
+ };
1961
+
1962
+ const registry_id$8 = cooptypes.Cooperative.Registry.GenerationToProjectConvertStatement.registry_id;
1963
+ const Schema$8 = {
1964
+ type: "object",
1965
+ properties: {
1966
+ meta: IMetaJSONSchema
1967
+ },
1968
+ required: ["meta"],
1969
+ additionalProperties: true
1970
+ };
1971
+ const Template$8 = {
1972
+ title: cooptypes.Cooperative.Registry.GenerationToProjectConvertStatement.title,
1973
+ description: cooptypes.Cooperative.Registry.GenerationToProjectConvertStatement.description,
1974
+ model: Schema$8,
1975
+ context: cooptypes.Cooperative.Registry.GenerationToProjectConvertStatement.context,
1976
+ translations: cooptypes.Cooperative.Registry.GenerationToProjectConvertStatement.translations
1977
+ };
1978
+
1979
+ const GenerationToProjectConvertStatement = {
1980
+ __proto__: null,
1981
+ Schema: Schema$8,
1982
+ Template: Template$8,
1983
+ registry_id: registry_id$8
1984
+ };
1985
+
1986
+ const registry_id$7 = cooptypes.Cooperative.Registry.GenerationToCapitalizationConvertStatement.registry_id;
1987
+ const Schema$7 = {
1988
+ type: "object",
1989
+ properties: {
1990
+ meta: IMetaJSONSchema
1991
+ },
1992
+ required: ["meta"],
1993
+ additionalProperties: true
1994
+ };
1995
+ const Template$7 = {
1996
+ title: cooptypes.Cooperative.Registry.GenerationToCapitalizationConvertStatement.title,
1997
+ description: cooptypes.Cooperative.Registry.GenerationToCapitalizationConvertStatement.description,
1998
+ model: Schema$7,
1999
+ context: cooptypes.Cooperative.Registry.GenerationToCapitalizationConvertStatement.context,
2000
+ translations: cooptypes.Cooperative.Registry.GenerationToCapitalizationConvertStatement.translations
2001
+ };
2002
+
2003
+ const GenerationToCapitalizationConvertStatement = {
2004
+ __proto__: null,
2005
+ Schema: Schema$7,
2006
+ Template: Template$7,
2007
+ registry_id: registry_id$7
2008
+ };
2009
+
2010
+ const registry_id$6 = cooptypes.Cooperative.Registry.CapitalizationToMainWalletConvertStatement.registry_id;
1702
2011
  const Schema$6 = {
1703
2012
  type: "object",
1704
2013
  properties: {
1705
- meta: IMetaJSONSchema,
1706
- coop: CooperativeSchema,
1707
- uhdContract: UHDContractSchema,
1708
- user: CommonUserSchema,
1709
- vars: VarsSchema,
1710
- contribution: ContributionAmountSchema,
1711
- appendix: {
1712
- type: "object",
1713
- properties: {
1714
- number: { type: "string" }
1715
- },
1716
- required: ["number"],
1717
- additionalProperties: true
1718
- }
2014
+ meta: IMetaJSONSchema
1719
2015
  },
1720
- required: ["meta", "coop", "uhdContract", "user", "contribution", "appendix", "vars"],
2016
+ required: ["meta"],
1721
2017
  additionalProperties: true
1722
2018
  };
1723
2019
  const Template$6 = {
1724
- title: cooptypes.Cooperative.Registry.InvestMembershipConvertation.title,
1725
- description: cooptypes.Cooperative.Registry.InvestMembershipConvertation.description,
2020
+ title: cooptypes.Cooperative.Registry.CapitalizationToMainWalletConvertStatement.title,
2021
+ description: cooptypes.Cooperative.Registry.CapitalizationToMainWalletConvertStatement.description,
1726
2022
  model: Schema$6,
1727
- context: cooptypes.Cooperative.Registry.InvestMembershipConvertation.context,
1728
- translations: cooptypes.Cooperative.Registry.InvestMembershipConvertation.translations
2023
+ context: cooptypes.Cooperative.Registry.CapitalizationToMainWalletConvertStatement.context,
2024
+ translations: cooptypes.Cooperative.Registry.CapitalizationToMainWalletConvertStatement.translations
1729
2025
  };
1730
2026
 
1731
- const InvestMembershipConvertation = {
2027
+ const CapitalizationToMainWalletConvertStatement = {
1732
2028
  __proto__: null,
1733
2029
  Schema: Schema$6,
1734
2030
  Template: Template$6,
@@ -1976,11 +2272,29 @@ const Registry = {
1976
2272
  802: ReturnByAssetAct,
1977
2273
  900: ReturnByMoney,
1978
2274
  901: ReturnByMoneyDecision,
1979
- 1e3: InvestmentAgreement,
1980
- 1001: InvestByResultStatement,
1981
- 1002: InvestByResultAct,
1982
- 1005: InvestByMoneyStatement,
1983
- 1010: InvestMembershipConvertation
2275
+ 1e3: CapitalizationAgreement,
2276
+ 1001: GenerationAgreement,
2277
+ 1002: AppendixGenerationAgreement,
2278
+ 1010: ExpenseStatement,
2279
+ 1011: ExpenseDecision,
2280
+ 1020: GenerationMoneyInvestStatement,
2281
+ 1025: GenerationMoneyReturnUnusedStatement,
2282
+ 1030: CapitalizationMoneyInvestStatement,
2283
+ 1040: ResultContributionStatement,
2284
+ 1041: ResultContributionDecision,
2285
+ 1042: ResultContributionAct,
2286
+ 1050: GetLoanStatement,
2287
+ 1051: GetLoanDecision,
2288
+ 1060: GenerationPropertyInvestStatement,
2289
+ 1061: GenerationPropertyInvestDecision,
2290
+ 1062: GenerationPropertyInvestAct,
2291
+ 1070: CapitalizationPropertyInvestStatement,
2292
+ 1071: CapitalizationPropertyInvestDecision,
2293
+ 1072: CapitalizationPropertyInvestAct,
2294
+ 1080: GenerationToMainWalletConvertStatement,
2295
+ 1081: GenerationToProjectConvertStatement,
2296
+ 1082: GenerationToCapitalizationConvertStatement,
2297
+ 1090: CapitalizationToMainWalletConvertStatement
1984
2298
  };
1985
2299
 
1986
2300
  var __defProp$d = Object.defineProperty;
@@ -2916,7 +3230,7 @@ class PDFService {
2916
3230
 
2917
3231
  const name = "@coopenomics/factory";
2918
3232
  const type = "module";
2919
- const version = "2025.10.16";
3233
+ const version = "2025.11.7";
2920
3234
  const description = "";
2921
3235
  const author = "Alex Ant <chairman.voskhod@gmail.com>";
2922
3236
  const license = "MIT";
@@ -2966,7 +3280,7 @@ const dependencies = {
2966
3280
  "ajv-formats": "^3.0.1",
2967
3281
  "ajv-i18n": "^4.2.0",
2968
3282
  axios: "^1.7.2",
2969
- cooptypes: "2025.10.16",
3283
+ cooptypes: "2025.11.7",
2970
3284
  dotenv: "^16.4.5",
2971
3285
  "eosjs-ecc": "^4.0.7",
2972
3286
  handlebars: "^4.7.8",
@@ -2997,7 +3311,7 @@ const devDependencies = {
2997
3311
  vite: "^5.2.11",
2998
3312
  vitest: "^1.6.0"
2999
3313
  };
3000
- const gitHead = "ff520622ff999a103fa038a4236da9a264a8b9be";
3314
+ const gitHead = "11f23bbd77d0579b76ce896a31201d307333f1e0";
3001
3315
  const packageJson = {
3002
3316
  name: name,
3003
3317
  type: type,
@@ -3282,7 +3596,6 @@ class DocFactory {
3282
3596
  * @returns 'for', 'against' или 'abstained'
3283
3597
  */
3284
3598
  getUserVote(question, username) {
3285
- console.log(question, username);
3286
3599
  if (question.voters_for && question.voters_for.includes(username)) {
3287
3600
  return "for";
3288
3601
  }
@@ -3505,16 +3818,16 @@ class DocFactory {
3505
3818
  }
3506
3819
  }
3507
3820
 
3508
- let Factory$s = class Factory extends DocFactory {
3821
+ let Factory$K = class Factory extends DocFactory {
3509
3822
  constructor(storage) {
3510
3823
  super(storage);
3511
3824
  }
3512
3825
  async generateDocument(data, options) {
3513
3826
  let template;
3514
3827
  if (process.env.SOURCE === "local") {
3515
- template = Template$s;
3828
+ template = Template$K;
3516
3829
  } else {
3517
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$s, data.block_num);
3830
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$K, data.block_num);
3518
3831
  }
3519
3832
  const meta = await super.getMeta({ title: template.title, ...data });
3520
3833
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -3532,16 +3845,16 @@ let Factory$s = class Factory extends DocFactory {
3532
3845
  }
3533
3846
  };
3534
3847
 
3535
- let Factory$r = class Factory extends DocFactory {
3848
+ let Factory$J = class Factory extends DocFactory {
3536
3849
  constructor(storage) {
3537
3850
  super(storage);
3538
3851
  }
3539
3852
  async generateDocument(data, options) {
3540
3853
  let template;
3541
3854
  if (process.env.SOURCE === "local") {
3542
- template = Template$r;
3855
+ template = Template$J;
3543
3856
  } else {
3544
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$r, data.block_num);
3857
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$J, data.block_num);
3545
3858
  }
3546
3859
  const meta = await super.getMeta({ title: template.title, ...data });
3547
3860
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -3559,16 +3872,16 @@ let Factory$r = class Factory extends DocFactory {
3559
3872
  }
3560
3873
  };
3561
3874
 
3562
- let Factory$q = class Factory extends DocFactory {
3875
+ let Factory$I = class Factory extends DocFactory {
3563
3876
  constructor(storage) {
3564
3877
  super(storage);
3565
3878
  }
3566
3879
  async generateDocument(data, options) {
3567
3880
  let template;
3568
3881
  if (process.env.SOURCE === "local") {
3569
- template = Template$q;
3882
+ template = Template$I;
3570
3883
  } else {
3571
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$q, data.block_num);
3884
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$I, data.block_num);
3572
3885
  }
3573
3886
  const meta = await super.getMeta({ title: template.title, ...data });
3574
3887
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -3586,16 +3899,16 @@ let Factory$q = class Factory extends DocFactory {
3586
3899
  }
3587
3900
  };
3588
3901
 
3589
- let Factory$p = class Factory extends DocFactory {
3902
+ let Factory$H = class Factory extends DocFactory {
3590
3903
  constructor(storage) {
3591
3904
  super(storage);
3592
3905
  }
3593
3906
  async generateDocument(data, options) {
3594
3907
  let template;
3595
3908
  if (process.env.SOURCE === "local") {
3596
- template = Template$p;
3909
+ template = Template$H;
3597
3910
  } else {
3598
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$p, data.block_num);
3911
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$H, data.block_num);
3599
3912
  }
3600
3913
  const meta = await super.getMeta({ title: template.title, ...data });
3601
3914
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -3617,16 +3930,16 @@ let Factory$p = class Factory extends DocFactory {
3617
3930
  }
3618
3931
  };
3619
3932
 
3620
- let Factory$o = class Factory extends DocFactory {
3933
+ let Factory$G = class Factory extends DocFactory {
3621
3934
  constructor(storage) {
3622
3935
  super(storage);
3623
3936
  }
3624
3937
  async generateDocument(data, options) {
3625
3938
  let template;
3626
3939
  if (process.env.SOURCE === "local") {
3627
- template = Template$o;
3940
+ template = Template$G;
3628
3941
  } else {
3629
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$o, data.block_num);
3942
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$G, data.block_num);
3630
3943
  }
3631
3944
  const meta = await super.getMeta({ title: template.title, ...data });
3632
3945
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -3646,16 +3959,16 @@ let Factory$o = class Factory extends DocFactory {
3646
3959
  }
3647
3960
  };
3648
3961
 
3649
- let Factory$n = class Factory extends DocFactory {
3962
+ let Factory$F = class Factory extends DocFactory {
3650
3963
  constructor(storage) {
3651
3964
  super(storage);
3652
3965
  }
3653
3966
  async generateDocument(data, _options) {
3654
3967
  let template;
3655
3968
  if (process.env.SOURCE === "local") {
3656
- template = Template$l;
3969
+ template = Template$D;
3657
3970
  } else {
3658
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$l, data.block_num);
3971
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$D, data.block_num);
3659
3972
  }
3660
3973
  const user = await super.getUser(data.username, data.block_num);
3661
3974
  const userData = {
@@ -3677,16 +3990,16 @@ let Factory$n = class Factory extends DocFactory {
3677
3990
  }
3678
3991
  };
3679
3992
 
3680
- let Factory$m = class Factory extends DocFactory {
3993
+ let Factory$E = class Factory extends DocFactory {
3681
3994
  constructor(storage) {
3682
3995
  super(storage);
3683
3996
  }
3684
3997
  async generateDocument(data, _options) {
3685
3998
  let template;
3686
3999
  if (process.env.SOURCE === "local") {
3687
- template = Template$n;
4000
+ template = Template$F;
3688
4001
  } else {
3689
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$n, data.block_num);
4002
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$F, data.block_num);
3690
4003
  }
3691
4004
  const user = await super.getUser(data.username, data.block_num);
3692
4005
  let bank_account = {};
@@ -3747,16 +4060,16 @@ let Factory$m = class Factory extends DocFactory {
3747
4060
  }
3748
4061
  };
3749
4062
 
3750
- let Factory$l = class Factory extends DocFactory {
4063
+ let Factory$D = class Factory extends DocFactory {
3751
4064
  constructor(storage) {
3752
4065
  super(storage);
3753
4066
  }
3754
4067
  async generateDocument(data, options) {
3755
4068
  let template;
3756
4069
  if (process.env.SOURCE === "local") {
3757
- template = Template$m;
4070
+ template = Template$E;
3758
4071
  } else {
3759
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$m, data.block_num);
4072
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$E, data.block_num);
3760
4073
  }
3761
4074
  const user = await super.getUser(data.username, data.block_num);
3762
4075
  const userData = {
@@ -3796,16 +4109,16 @@ let Factory$l = class Factory extends DocFactory {
3796
4109
  }
3797
4110
  };
3798
4111
 
3799
- let Factory$k = class Factory extends DocFactory {
4112
+ let Factory$C = class Factory extends DocFactory {
3800
4113
  constructor(storage) {
3801
4114
  super(storage);
3802
4115
  }
3803
4116
  async generateDocument(data, options) {
3804
4117
  let template;
3805
4118
  if (process.env.SOURCE === "local") {
3806
- template = Template$k;
4119
+ template = Template$C;
3807
4120
  } else {
3808
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$k, data.block_num);
4121
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$C, data.block_num);
3809
4122
  }
3810
4123
  const user = await this.getUser(data.username, data.block_num);
3811
4124
  const suggester_name = await this.getFullName(user.data);
@@ -3841,16 +4154,16 @@ let Factory$k = class Factory extends DocFactory {
3841
4154
  }
3842
4155
  };
3843
4156
 
3844
- let Factory$j = class Factory extends DocFactory {
4157
+ let Factory$B = class Factory extends DocFactory {
3845
4158
  constructor(storage) {
3846
4159
  super(storage);
3847
4160
  }
3848
4161
  async generateDocument(data, options) {
3849
4162
  let template;
3850
4163
  if (process.env.SOURCE === "local") {
3851
- template = Template$j;
4164
+ template = Template$B;
3852
4165
  } else {
3853
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$j, data.block_num);
4166
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$B, data.block_num);
3854
4167
  }
3855
4168
  const user = await this.getUser(data.username, data.block_num);
3856
4169
  const userData = {
@@ -3893,16 +4206,16 @@ let Factory$j = class Factory extends DocFactory {
3893
4206
  }
3894
4207
  };
3895
4208
 
3896
- let Factory$i = class Factory extends DocFactory {
4209
+ let Factory$A = class Factory extends DocFactory {
3897
4210
  constructor(storage) {
3898
4211
  super(storage);
3899
4212
  }
3900
4213
  async generateDocument(data, options) {
3901
4214
  let template;
3902
4215
  if (process.env.SOURCE === "local") {
3903
- template = Template$i;
4216
+ template = Template$A;
3904
4217
  } else {
3905
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$i, data.block_num);
4218
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$A, data.block_num);
3906
4219
  }
3907
4220
  const meta = await super.getMeta({ title: template.title, ...data });
3908
4221
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -3924,16 +4237,16 @@ let Factory$i = class Factory extends DocFactory {
3924
4237
  }
3925
4238
  };
3926
4239
 
3927
- let Factory$h = class Factory extends DocFactory {
4240
+ let Factory$z = class Factory extends DocFactory {
3928
4241
  constructor(storage) {
3929
4242
  super(storage);
3930
4243
  }
3931
4244
  async generateDocument(data, options) {
3932
4245
  let template;
3933
4246
  if (process.env.SOURCE === "local") {
3934
- template = Template$h;
4247
+ template = Template$z;
3935
4248
  } else {
3936
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$h, data.block_num);
4249
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$z, data.block_num);
3937
4250
  }
3938
4251
  const meta = await this.getMeta({ title: template.title, ...data });
3939
4252
  const coop = await this.getCooperative(data.coopname, data.block_num);
@@ -3955,7 +4268,7 @@ let Factory$h = class Factory extends DocFactory {
3955
4268
  }
3956
4269
  };
3957
4270
 
3958
- let Factory$g = class Factory extends DocFactory {
4271
+ let Factory$y = class Factory extends DocFactory {
3959
4272
  constructor(storage) {
3960
4273
  super(storage);
3961
4274
  }
@@ -3982,16 +4295,16 @@ let Factory$g = class Factory extends DocFactory {
3982
4295
  }
3983
4296
  };
3984
4297
 
3985
- let Factory$f = class Factory extends DocFactory {
4298
+ let Factory$x = class Factory extends DocFactory {
3986
4299
  constructor(storage) {
3987
4300
  super(storage);
3988
4301
  }
3989
4302
  async generateDocument(data, options) {
3990
4303
  let template;
3991
4304
  if (process.env.SOURCE === "local") {
3992
- template = Template$g;
4305
+ template = Template$y;
3993
4306
  } else {
3994
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$g, data.block_num);
4307
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$y, data.block_num);
3995
4308
  }
3996
4309
  const meta = await this.getMeta({ title: template.title, ...data });
3997
4310
  const coop = await this.getCooperative(data.coopname, data.block_num);
@@ -4015,16 +4328,16 @@ let Factory$f = class Factory extends DocFactory {
4015
4328
  }
4016
4329
  };
4017
4330
 
4018
- let Factory$e = class Factory extends DocFactory {
4331
+ let Factory$w = class Factory extends DocFactory {
4019
4332
  constructor(storage) {
4020
4333
  super(storage);
4021
4334
  }
4022
4335
  async generateDocument(data, options) {
4023
4336
  let template;
4024
4337
  if (process.env.SOURCE === "local") {
4025
- template = Template$e;
4338
+ template = Template$w;
4026
4339
  } else {
4027
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$e, data.block_num);
4340
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$w, data.block_num);
4028
4341
  }
4029
4342
  const meta = await this.getMeta({ title: template.title, ...data });
4030
4343
  const coop = await this.getCooperative(data.coopname, data.block_num);
@@ -4059,16 +4372,16 @@ let Factory$e = class Factory extends DocFactory {
4059
4372
  }
4060
4373
  };
4061
4374
 
4062
- let Factory$d = class Factory extends DocFactory {
4375
+ let Factory$v = class Factory extends DocFactory {
4063
4376
  constructor(storage) {
4064
4377
  super(storage);
4065
4378
  }
4066
4379
  async generateDocument(data, options) {
4067
4380
  let template;
4068
4381
  if (process.env.SOURCE === "local") {
4069
- template = Template$f;
4382
+ template = Template$x;
4070
4383
  } else {
4071
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$f, data.block_num);
4384
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$x, data.block_num);
4072
4385
  }
4073
4386
  const meta = await this.getMeta({ title: template.title, ...data });
4074
4387
  const coop = await this.getCooperative(data.coopname, data.block_num);
@@ -4092,16 +4405,16 @@ let Factory$d = class Factory extends DocFactory {
4092
4405
  }
4093
4406
  };
4094
4407
 
4095
- let Factory$c = class Factory extends DocFactory {
4408
+ let Factory$u = class Factory extends DocFactory {
4096
4409
  constructor(storage) {
4097
4410
  super(storage);
4098
4411
  }
4099
4412
  async generateDocument(data, options) {
4100
4413
  let template;
4101
4414
  if (process.env.SOURCE === "local") {
4102
- template = Template$d;
4415
+ template = Template$v;
4103
4416
  } else {
4104
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$d, data.block_num);
4417
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$v, data.block_num);
4105
4418
  }
4106
4419
  const meta = await this.getMeta({ title: template.title, ...data });
4107
4420
  const coop = await this.getCooperative(data.coopname, data.block_num);
@@ -4136,16 +4449,16 @@ let Factory$c = class Factory extends DocFactory {
4136
4449
  }
4137
4450
  };
4138
4451
 
4139
- let Factory$b = class Factory extends DocFactory {
4452
+ let Factory$t = class Factory extends DocFactory {
4140
4453
  constructor(storage) {
4141
4454
  super(storage);
4142
4455
  }
4143
4456
  async generateDocument(data, options) {
4144
4457
  let template;
4145
4458
  if (process.env.SOURCE === "local") {
4146
- template = Template$c;
4459
+ template = Template$u;
4147
4460
  } else {
4148
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$c, data.block_num);
4461
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$u, data.block_num);
4149
4462
  }
4150
4463
  console.log(data);
4151
4464
  const meta = await this.getMeta({ title: template.title, ...data });
@@ -4179,16 +4492,16 @@ let Factory$b = class Factory extends DocFactory {
4179
4492
  }
4180
4493
  };
4181
4494
 
4182
- let Factory$a = class Factory extends DocFactory {
4495
+ let Factory$s = class Factory extends DocFactory {
4183
4496
  constructor(storage) {
4184
4497
  super(storage);
4185
4498
  }
4186
4499
  async generateDocument(data, options) {
4187
4500
  let template;
4188
4501
  if (process.env.SOURCE === "local") {
4189
- template = Template$b;
4502
+ template = Template$t;
4190
4503
  } else {
4191
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$b, data.block_num);
4504
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$t, data.block_num);
4192
4505
  }
4193
4506
  const user = await super.getUser(data.username, data.block_num);
4194
4507
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -4226,6 +4539,367 @@ let Factory$a = class Factory extends DocFactory {
4226
4539
  }
4227
4540
  };
4228
4541
 
4542
+ let Factory$r = class Factory extends DocFactory {
4543
+ constructor(storage) {
4544
+ super(storage);
4545
+ }
4546
+ async generateDocument(data, options) {
4547
+ let template;
4548
+ if (process.env.SOURCE === "local") {
4549
+ template = Template$s;
4550
+ } else {
4551
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$s, data.block_num);
4552
+ }
4553
+ const meta = await this.getMeta({ title: template.title, ...data });
4554
+ const combinedData = { meta };
4555
+ await this.validate(combinedData, template.model);
4556
+ const translation = template.translations[meta.lang];
4557
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4558
+ return document;
4559
+ }
4560
+ };
4561
+
4562
+ let Factory$q = class Factory extends DocFactory {
4563
+ constructor(storage) {
4564
+ super(storage);
4565
+ }
4566
+ async generateDocument(data, options) {
4567
+ let template;
4568
+ if (process.env.SOURCE === "local") {
4569
+ template = Template$r;
4570
+ } else {
4571
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$r, data.block_num);
4572
+ }
4573
+ const meta = await this.getMeta({ title: template.title, ...data });
4574
+ const coop = await super.getCooperative(data.coopname, data.block_num);
4575
+ const combinedData = { meta, coop };
4576
+ await this.validate(combinedData, template.model);
4577
+ const translation = template.translations[meta.lang];
4578
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4579
+ return document;
4580
+ }
4581
+ };
4582
+
4583
+ let Factory$p = class Factory extends DocFactory {
4584
+ constructor(storage) {
4585
+ super(storage);
4586
+ }
4587
+ async generateDocument(data, options) {
4588
+ let template;
4589
+ if (process.env.SOURCE === "local") {
4590
+ template = Template$q;
4591
+ } else {
4592
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$q, data.block_num);
4593
+ }
4594
+ const meta = await this.getMeta({ title: template.title, ...data });
4595
+ const combinedData = { meta };
4596
+ await this.validate(combinedData, template.model);
4597
+ const translation = template.translations[meta.lang];
4598
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4599
+ return document;
4600
+ }
4601
+ };
4602
+
4603
+ let Factory$o = class Factory extends DocFactory {
4604
+ constructor(storage) {
4605
+ super(storage);
4606
+ }
4607
+ async generateDocument(data, options) {
4608
+ let template;
4609
+ if (process.env.SOURCE === "local") {
4610
+ template = Template$p;
4611
+ } else {
4612
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$p, data.block_num);
4613
+ }
4614
+ const meta = await this.getMeta({ title: template.title, ...data });
4615
+ const combinedData = { meta };
4616
+ await this.validate(combinedData, template.model);
4617
+ const translation = template.translations[meta.lang];
4618
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4619
+ return document;
4620
+ }
4621
+ };
4622
+
4623
+ let Factory$n = class Factory extends DocFactory {
4624
+ constructor(storage) {
4625
+ super(storage);
4626
+ }
4627
+ async generateDocument(data, options) {
4628
+ let template;
4629
+ if (process.env.SOURCE === "local") {
4630
+ template = Template$o;
4631
+ } else {
4632
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$o, data.block_num);
4633
+ }
4634
+ const meta = await this.getMeta({ title: template.title, ...data });
4635
+ const combinedData = { meta };
4636
+ await this.validate(combinedData, template.model);
4637
+ const translation = template.translations[meta.lang];
4638
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4639
+ return document;
4640
+ }
4641
+ };
4642
+
4643
+ let Factory$m = class Factory extends DocFactory {
4644
+ constructor(storage) {
4645
+ super(storage);
4646
+ }
4647
+ async generateDocument(data, options) {
4648
+ let template;
4649
+ if (process.env.SOURCE === "local") {
4650
+ template = Template$n;
4651
+ } else {
4652
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$n, data.block_num);
4653
+ }
4654
+ const meta = await this.getMeta({ title: template.title, ...data });
4655
+ const combinedData = { meta };
4656
+ await this.validate(combinedData, template.model);
4657
+ const translation = template.translations[meta.lang];
4658
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4659
+ return document;
4660
+ }
4661
+ };
4662
+
4663
+ let Factory$l = class Factory extends DocFactory {
4664
+ constructor(storage) {
4665
+ super(storage);
4666
+ }
4667
+ async generateDocument(data, options) {
4668
+ let template;
4669
+ if (process.env.SOURCE === "local") {
4670
+ template = Template$m;
4671
+ } else {
4672
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$m, data.block_num);
4673
+ }
4674
+ const meta = await this.getMeta({ title: template.title, ...data });
4675
+ const combinedData = { meta };
4676
+ await this.validate(combinedData, template.model);
4677
+ const translation = template.translations[meta.lang];
4678
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4679
+ return document;
4680
+ }
4681
+ };
4682
+
4683
+ let Factory$k = class Factory extends DocFactory {
4684
+ constructor(storage) {
4685
+ super(storage);
4686
+ }
4687
+ async generateDocument(data, options) {
4688
+ let template;
4689
+ if (process.env.SOURCE === "local") {
4690
+ template = Template$l;
4691
+ } else {
4692
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$l, data.block_num);
4693
+ }
4694
+ const meta = await this.getMeta({ title: template.title, ...data });
4695
+ const combinedData = { meta };
4696
+ await this.validate(combinedData, template.model);
4697
+ const translation = template.translations[meta.lang];
4698
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4699
+ return document;
4700
+ }
4701
+ };
4702
+
4703
+ let Factory$j = class Factory extends DocFactory {
4704
+ constructor(storage) {
4705
+ super(storage);
4706
+ }
4707
+ async generateDocument(data, options) {
4708
+ let template;
4709
+ if (process.env.SOURCE === "local") {
4710
+ template = Template$k;
4711
+ } else {
4712
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$k, data.block_num);
4713
+ }
4714
+ const meta = await this.getMeta({ title: template.title, ...data });
4715
+ const combinedData = { meta };
4716
+ await this.validate(combinedData, template.model);
4717
+ const translation = template.translations[meta.lang];
4718
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4719
+ return document;
4720
+ }
4721
+ };
4722
+
4723
+ let Factory$i = class Factory extends DocFactory {
4724
+ constructor(storage) {
4725
+ super(storage);
4726
+ }
4727
+ async generateDocument(data, options) {
4728
+ let template;
4729
+ if (process.env.SOURCE === "local") {
4730
+ template = Template$j;
4731
+ } else {
4732
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$j, data.block_num);
4733
+ }
4734
+ const meta = await this.getMeta({ title: template.title, ...data });
4735
+ const combinedData = { meta };
4736
+ await this.validate(combinedData, template.model);
4737
+ const translation = template.translations[meta.lang];
4738
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4739
+ return document;
4740
+ }
4741
+ };
4742
+
4743
+ let Factory$h = class Factory extends DocFactory {
4744
+ constructor(storage) {
4745
+ super(storage);
4746
+ }
4747
+ async generateDocument(data, options) {
4748
+ let template;
4749
+ if (process.env.SOURCE === "local") {
4750
+ template = Template$i;
4751
+ } else {
4752
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$i, data.block_num);
4753
+ }
4754
+ const meta = await this.getMeta({ title: template.title, ...data });
4755
+ const combinedData = { meta };
4756
+ await this.validate(combinedData, template.model);
4757
+ const translation = template.translations[meta.lang];
4758
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4759
+ return document;
4760
+ }
4761
+ };
4762
+
4763
+ let Factory$g = class Factory extends DocFactory {
4764
+ constructor(storage) {
4765
+ super(storage);
4766
+ }
4767
+ async generateDocument(data, options) {
4768
+ let template;
4769
+ if (process.env.SOURCE === "local") {
4770
+ template = Template$h;
4771
+ } else {
4772
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$h, data.block_num);
4773
+ }
4774
+ const meta = await this.getMeta({ title: template.title, ...data });
4775
+ const combinedData = { meta };
4776
+ await this.validate(combinedData, template.model);
4777
+ const translation = template.translations[meta.lang];
4778
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4779
+ return document;
4780
+ }
4781
+ };
4782
+
4783
+ let Factory$f = class Factory extends DocFactory {
4784
+ constructor(storage) {
4785
+ super(storage);
4786
+ }
4787
+ async generateDocument(data, options) {
4788
+ let template;
4789
+ if (process.env.SOURCE === "local") {
4790
+ template = Template$g;
4791
+ } else {
4792
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$g, data.block_num);
4793
+ }
4794
+ const meta = await this.getMeta({ title: template.title, ...data });
4795
+ const combinedData = { meta };
4796
+ await this.validate(combinedData, template.model);
4797
+ const translation = template.translations[meta.lang];
4798
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4799
+ return document;
4800
+ }
4801
+ };
4802
+
4803
+ let Factory$e = class Factory extends DocFactory {
4804
+ constructor(storage) {
4805
+ super(storage);
4806
+ }
4807
+ async generateDocument(data, options) {
4808
+ let template;
4809
+ if (process.env.SOURCE === "local") {
4810
+ template = Template$f;
4811
+ } else {
4812
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$f, data.block_num);
4813
+ }
4814
+ const meta = await this.getMeta({ title: template.title, ...data });
4815
+ const combinedData = { meta };
4816
+ await this.validate(combinedData, template.model);
4817
+ const translation = template.translations[meta.lang];
4818
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4819
+ return document;
4820
+ }
4821
+ };
4822
+
4823
+ let Factory$d = class Factory extends DocFactory {
4824
+ constructor(storage) {
4825
+ super(storage);
4826
+ }
4827
+ async generateDocument(data, options) {
4828
+ let template;
4829
+ if (process.env.SOURCE === "local") {
4830
+ template = Template$e;
4831
+ } else {
4832
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$e, data.block_num);
4833
+ }
4834
+ const meta = await this.getMeta({ title: template.title, ...data });
4835
+ const combinedData = { meta };
4836
+ await this.validate(combinedData, template.model);
4837
+ const translation = template.translations[meta.lang];
4838
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4839
+ return document;
4840
+ }
4841
+ };
4842
+
4843
+ let Factory$c = class Factory extends DocFactory {
4844
+ constructor(storage) {
4845
+ super(storage);
4846
+ }
4847
+ async generateDocument(data, options) {
4848
+ let template;
4849
+ if (process.env.SOURCE === "local") {
4850
+ template = Template$d;
4851
+ } else {
4852
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$d, data.block_num);
4853
+ }
4854
+ const meta = await this.getMeta({ title: template.title, ...data });
4855
+ const combinedData = { meta };
4856
+ await this.validate(combinedData, template.model);
4857
+ const translation = template.translations[meta.lang];
4858
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4859
+ return document;
4860
+ }
4861
+ };
4862
+
4863
+ let Factory$b = class Factory extends DocFactory {
4864
+ constructor(storage) {
4865
+ super(storage);
4866
+ }
4867
+ async generateDocument(data, options) {
4868
+ let template;
4869
+ if (process.env.SOURCE === "local") {
4870
+ template = Template$c;
4871
+ } else {
4872
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$c, data.block_num);
4873
+ }
4874
+ const meta = await this.getMeta({ title: template.title, ...data });
4875
+ const combinedData = { meta };
4876
+ await this.validate(combinedData, template.model);
4877
+ const translation = template.translations[meta.lang];
4878
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4879
+ return document;
4880
+ }
4881
+ };
4882
+
4883
+ let Factory$a = class Factory extends DocFactory {
4884
+ constructor(storage) {
4885
+ super(storage);
4886
+ }
4887
+ async generateDocument(data, options) {
4888
+ let template;
4889
+ if (process.env.SOURCE === "local") {
4890
+ template = Template$b;
4891
+ } else {
4892
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$b, data.block_num);
4893
+ }
4894
+ const meta = await this.getMeta({ title: template.title, ...data });
4895
+ const combinedData = { meta };
4896
+ await this.validate(combinedData, template.model);
4897
+ const translation = template.translations[meta.lang];
4898
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4899
+ return document;
4900
+ }
4901
+ };
4902
+
4229
4903
  let Factory$9 = class Factory extends DocFactory {
4230
4904
  constructor(storage) {
4231
4905
  super(storage);
@@ -4238,34 +4912,10 @@ let Factory$9 = class Factory extends DocFactory {
4238
4912
  template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$a, data.block_num);
4239
4913
  }
4240
4914
  const meta = await this.getMeta({ title: template.title, ...data });
4241
- const coop = await this.getCooperative(data.coopname, data.block_num);
4242
- const vars = await this.getVars(data.coopname, data.block_num);
4243
- const user = await this.getUser(data.username, data.block_num);
4244
- const commonUser = this.getCommonUser(user);
4245
- const userData = {
4246
- [user.type]: {
4247
- ...user.data
4248
- }
4249
- };
4250
- const uhdContract = this.constructUHDContract(meta.created_at);
4251
- const subject = data.subject ?? vars.investment_agreement?.subject;
4252
- const terms = data.terms ?? vars.investment_agreement?.terms;
4253
- const coopBankAccount = await this.getBankAccount(data.coopname, meta.block_num);
4254
- const combinedData = {
4255
- meta,
4256
- coop,
4257
- vars,
4258
- user: commonUser,
4259
- uhdContract,
4260
- subject,
4261
- terms,
4262
- coopBankAccount,
4263
- ...userData,
4264
- type: user.type
4265
- };
4915
+ const combinedData = { meta };
4266
4916
  await this.validate(combinedData, template.model);
4267
4917
  const translation = template.translations[meta.lang];
4268
- const document = await this.generatePDF(commonUser.full_name_or_short_name, template.context, combinedData, translation, meta, options?.skip_save);
4918
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4269
4919
  return document;
4270
4920
  }
4271
4921
  };
@@ -4282,22 +4932,10 @@ let Factory$8 = class Factory extends DocFactory {
4282
4932
  template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$9, data.block_num);
4283
4933
  }
4284
4934
  const meta = await this.getMeta({ title: template.title, ...data });
4285
- const coop = await this.getCooperative(data.coopname, data.block_num);
4286
- const vars = await this.getVars(data.coopname, data.block_num);
4287
- const user = await this.getUser(data.username, data.block_num);
4288
- const commonUser = this.getCommonUser(user);
4289
- const uhdContract = this.constructUHDContract(meta.created_at);
4290
- const combinedData = {
4291
- meta,
4292
- coop,
4293
- vars,
4294
- user: commonUser,
4295
- uhdContract,
4296
- result: data.result
4297
- };
4935
+ const combinedData = { meta };
4298
4936
  await this.validate(combinedData, template.model);
4299
4937
  const translation = template.translations[meta.lang];
4300
- const document = await this.generatePDF(commonUser.full_name_or_short_name, template.context, combinedData, translation, meta, options?.skip_save);
4938
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4301
4939
  return document;
4302
4940
  }
4303
4941
  };
@@ -4314,33 +4952,10 @@ let Factory$7 = class Factory extends DocFactory {
4314
4952
  template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$8, data.block_num);
4315
4953
  }
4316
4954
  const meta = await this.getMeta({ title: template.title, ...data });
4317
- const coop = await this.getCooperative(data.coopname, data.block_num);
4318
- const vars = await this.getVars(data.coopname, data.block_num);
4319
- const user = await this.getUser(data.username, data.block_num);
4320
- const commonUser = this.getCommonUser(user);
4321
- const uhdContract = this.constructUHDContract(meta.created_at);
4322
- const decision = await this.getDecision(
4323
- coop,
4324
- data.coopname,
4325
- data.decision_id,
4326
- meta.created_at
4327
- );
4328
- const act = {
4329
- number: "123"
4330
- };
4331
- const combinedData = {
4332
- meta,
4333
- coop,
4334
- vars,
4335
- decision,
4336
- user: commonUser,
4337
- uhdContract,
4338
- result: data.result,
4339
- act
4340
- };
4955
+ const combinedData = { meta };
4341
4956
  await this.validate(combinedData, template.model);
4342
4957
  const translation = template.translations[meta.lang];
4343
- const document = await this.generatePDF(commonUser.full_name_or_short_name, template.context, combinedData, translation, meta, options?.skip_save);
4958
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4344
4959
  return document;
4345
4960
  }
4346
4961
  };
@@ -4357,20 +4972,10 @@ let Factory$6 = class Factory extends DocFactory {
4357
4972
  template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$7, data.block_num);
4358
4973
  }
4359
4974
  const meta = await this.getMeta({ title: template.title, ...data });
4360
- const coop = await this.getCooperative(data.coopname, data.block_num);
4361
- const user = await this.getUser(data.username, data.block_num);
4362
- const commonUser = this.getCommonUser(user);
4363
- const uhdContract = this.constructUHDContract(meta.created_at);
4364
- const combinedData = {
4365
- meta,
4366
- coop,
4367
- user: commonUser,
4368
- uhdContract,
4369
- contribution: data.contribution
4370
- };
4975
+ const combinedData = { meta };
4371
4976
  await this.validate(combinedData, template.model);
4372
4977
  const translation = template.translations[meta.lang];
4373
- const document = await this.generatePDF(commonUser.full_name_or_short_name, template.context, combinedData, translation, meta, options?.skip_save);
4978
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4374
4979
  return document;
4375
4980
  }
4376
4981
  };
@@ -4387,24 +4992,10 @@ let Factory$5 = class Factory extends DocFactory {
4387
4992
  template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$6, data.block_num);
4388
4993
  }
4389
4994
  const meta = await this.getMeta({ title: template.title, ...data });
4390
- const coop = await this.getCooperative(data.coopname, data.block_num);
4391
- const user = await this.getUser(data.username, data.block_num);
4392
- const commonUser = this.getCommonUser(user);
4393
- const vars = await this.getVars(data.coopname, data.block_num);
4394
- const uhdContract = this.constructUHDContract(meta.created_at);
4395
- const appendix = { number: "123" };
4396
- const combinedData = {
4397
- meta,
4398
- coop,
4399
- vars,
4400
- user: commonUser,
4401
- uhdContract,
4402
- contribution: data.contribution,
4403
- appendix
4404
- };
4995
+ const combinedData = { meta };
4405
4996
  await this.validate(combinedData, template.model);
4406
4997
  const translation = template.translations[meta.lang];
4407
- const document = await this.generatePDF(commonUser.full_name_or_short_name, template.context, combinedData, translation, meta, options?.skip_save);
4998
+ const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
4408
4999
  return document;
4409
5000
  }
4410
5001
  };
@@ -4899,19 +5490,19 @@ class Generator {
4899
5490
  this.storage = new MongoDBConnector(mongoUri);
4900
5491
  this.searchService = new SearchService(this.storage);
4901
5492
  this.factories = {
4902
- [registry_id$s]: new Factory$s(this.storage),
5493
+ [registry_id$K]: new Factory$K(this.storage),
4903
5494
  // 1
4904
- [registry_id$r]: new Factory$r(this.storage),
5495
+ [registry_id$J]: new Factory$J(this.storage),
4905
5496
  // 2
4906
- [registry_id$q]: new Factory$q(this.storage),
5497
+ [registry_id$I]: new Factory$I(this.storage),
4907
5498
  // 3
4908
- [registry_id$p]: new Factory$p(this.storage),
5499
+ [registry_id$H]: new Factory$H(this.storage),
4909
5500
  // 4
4910
- [registry_id$o]: new Factory$o(this.storage),
5501
+ [registry_id$G]: new Factory$G(this.storage),
4911
5502
  // 50
4912
- [registry_id$n]: new Factory$m(this.storage),
5503
+ [registry_id$F]: new Factory$E(this.storage),
4913
5504
  // 100
4914
- [registry_id$l]: new Factory$n(this.storage),
5505
+ [registry_id$D]: new Factory$F(this.storage),
4915
5506
  // 101
4916
5507
  // общее собрание
4917
5508
  [registry_id$4]: new Factory$4(this.storage),
@@ -4924,40 +5515,76 @@ class Generator {
4924
5515
  // 303
4925
5516
  [registry_id]: new Factory(this.storage),
4926
5517
  // 304
4927
- [registry_id$m]: new Factory$l(this.storage),
5518
+ [registry_id$E]: new Factory$D(this.storage),
4928
5519
  // 501
4929
- [registry_id$k]: new Factory$k(this.storage),
5520
+ [registry_id$C]: new Factory$C(this.storage),
4930
5521
  // 599
4931
- [registry_id$j]: new Factory$j(this.storage),
5522
+ [registry_id$B]: new Factory$B(this.storage),
4932
5523
  // 600
4933
- [registry_id$5]: new Factory$g(this.storage),
5524
+ [registry_id$5]: new Factory$y(this.storage),
4934
5525
  // 699
4935
- [registry_id$i]: new Factory$i(this.storage),
5526
+ [registry_id$A]: new Factory$A(this.storage),
4936
5527
  // 700
4937
- [registry_id$h]: new Factory$h(this.storage),
5528
+ [registry_id$z]: new Factory$z(this.storage),
4938
5529
  // 800
4939
- [registry_id$f]: new Factory$d(this.storage),
5530
+ [registry_id$x]: new Factory$v(this.storage),
4940
5531
  // 801
4941
- [registry_id$d]: new Factory$c(this.storage),
5532
+ [registry_id$v]: new Factory$u(this.storage),
4942
5533
  // 802
4943
- [registry_id$c]: new Factory$b(this.storage),
5534
+ [registry_id$u]: new Factory$t(this.storage),
4944
5535
  // 900
4945
- [registry_id$b]: new Factory$a(this.storage),
5536
+ [registry_id$t]: new Factory$s(this.storage),
4946
5537
  // 901
4947
- [registry_id$g]: new Factory$f(this.storage),
5538
+ [registry_id$y]: new Factory$x(this.storage),
4948
5539
  // 701
4949
- [registry_id$e]: new Factory$e(this.storage),
5540
+ [registry_id$w]: new Factory$w(this.storage),
4950
5541
  // 702
4951
- [registry_id$a]: new Factory$9(this.storage),
5542
+ [registry_id$s]: new Factory$r(this.storage),
4952
5543
  // 1000
4953
- [registry_id$9]: new Factory$8(this.storage),
5544
+ [registry_id$r]: new Factory$q(this.storage),
4954
5545
  // 1001
4955
- [registry_id$8]: new Factory$7(this.storage),
5546
+ [registry_id$q]: new Factory$p(this.storage),
4956
5547
  // 1002
5548
+ [registry_id$p]: new Factory$o(this.storage),
5549
+ // 1010
5550
+ [registry_id$o]: new Factory$n(this.storage),
5551
+ // 1011
5552
+ [registry_id$n]: new Factory$m(this.storage),
5553
+ // 1020
5554
+ [registry_id$m]: new Factory$l(this.storage),
5555
+ // 1025
5556
+ [registry_id$l]: new Factory$k(this.storage),
5557
+ // 1030
5558
+ [registry_id$k]: new Factory$j(this.storage),
5559
+ // 1040
5560
+ [registry_id$j]: new Factory$i(this.storage),
5561
+ // 1041
5562
+ [registry_id$i]: new Factory$h(this.storage),
5563
+ // 1042
5564
+ [registry_id$h]: new Factory$g(this.storage),
5565
+ // 1050
5566
+ [registry_id$g]: new Factory$f(this.storage),
5567
+ // 1051
5568
+ [registry_id$f]: new Factory$e(this.storage),
5569
+ // 1060
5570
+ [registry_id$e]: new Factory$d(this.storage),
5571
+ // 1061
5572
+ [registry_id$d]: new Factory$c(this.storage),
5573
+ // 1062
5574
+ [registry_id$c]: new Factory$b(this.storage),
5575
+ // 1070
5576
+ [registry_id$b]: new Factory$a(this.storage),
5577
+ // 1071
5578
+ [registry_id$a]: new Factory$9(this.storage),
5579
+ // 1072
5580
+ [registry_id$9]: new Factory$8(this.storage),
5581
+ // 1080
5582
+ [registry_id$8]: new Factory$7(this.storage),
5583
+ // 1081
4957
5584
  [registry_id$7]: new Factory$6(this.storage),
4958
- // 1005
5585
+ // 1082
4959
5586
  [registry_id$6]: new Factory$5(this.storage)
4960
- // 1010
5587
+ // 1090
4961
5588
  };
4962
5589
  await this.storage.connect();
4963
5590
  }
@@ -5033,21 +5660,36 @@ exports.AnnualGeneralMeetingDecision = AnnualGeneralMeetingDecision;
5033
5660
  exports.AnnualGeneralMeetingNotification = AnnualGeneralMeetingNotification;
5034
5661
  exports.AnnualGeneralMeetingSovietDecision = AnnualGeneralMeetingSovietDecision;
5035
5662
  exports.AnnualGeneralMeetingVotingBallot = AnnualGeneralMeetingVotingBallot;
5663
+ exports.AppendixGenerationAgreement = AppendixGenerationAgreement;
5036
5664
  exports.AssetContributionAct = AssetContributionAct;
5037
5665
  exports.AssetContributionDecision = AssetContributionDecision;
5038
5666
  exports.AssetContributionStatement = AssetContributionStatement;
5039
5667
  exports.BankAccountSchema = BankAccountSchema;
5668
+ exports.CapitalizationAgreement = CapitalizationAgreement;
5669
+ exports.CapitalizationMoneyInvestStatement = CapitalizationMoneyInvestStatement;
5670
+ exports.CapitalizationPropertyInvestAct = CapitalizationPropertyInvestAct;
5671
+ exports.CapitalizationPropertyInvestDecision = CapitalizationPropertyInvestDecision;
5672
+ exports.CapitalizationPropertyInvestStatement = CapitalizationPropertyInvestStatement;
5673
+ exports.CapitalizationToMainWalletConvertStatement = CapitalizationToMainWalletConvertStatement;
5040
5674
  exports.CommonUserSchema = CommonUserSchema;
5041
5675
  exports.CoopenomicsAgreement = CoopenomicsAgreement;
5042
5676
  exports.CooperativeSchema = CooperativeSchema;
5043
5677
  exports.DecisionOfParticipantApplication = DecisionOfParticipantApplication;
5678
+ exports.ExpenseDecision = ExpenseDecision;
5679
+ exports.ExpenseStatement = ExpenseStatement;
5044
5680
  exports.FreeDecision = FreeDecision;
5681
+ exports.GenerationAgreement = GenerationAgreement;
5682
+ exports.GenerationMoneyInvestStatement = GenerationMoneyInvestStatement;
5683
+ exports.GenerationMoneyReturnUnusedStatement = GenerationMoneyReturnUnusedStatement;
5684
+ exports.GenerationPropertyInvestAct = GenerationPropertyInvestAct;
5685
+ exports.GenerationPropertyInvestDecision = GenerationPropertyInvestDecision;
5686
+ exports.GenerationPropertyInvestStatement = GenerationPropertyInvestStatement;
5687
+ exports.GenerationToCapitalizationConvertStatement = GenerationToCapitalizationConvertStatement;
5688
+ exports.GenerationToMainWalletConvertStatement = GenerationToMainWalletConvertStatement;
5689
+ exports.GenerationToProjectConvertStatement = GenerationToProjectConvertStatement;
5045
5690
  exports.Generator = Generator;
5046
- exports.InvestByMoneyStatement = InvestByMoneyStatement;
5047
- exports.InvestByResultAct = InvestByResultAct;
5048
- exports.InvestByResultStatement = InvestByResultStatement;
5049
- exports.InvestMembershipConvertation = InvestMembershipConvertation;
5050
- exports.InvestmentAgreement = InvestmentAgreement;
5691
+ exports.GetLoanDecision = GetLoanDecision;
5692
+ exports.GetLoanStatement = GetLoanStatement;
5051
5693
  exports.MeetPointSchema = MeetPointSchema;
5052
5694
  exports.MeetSchema = MeetSchema;
5053
5695
  exports.ParticipantApplication = ParticipantApplication;
@@ -5057,6 +5699,9 @@ exports.QuestionExtendedSchema = QuestionExtendedSchema;
5057
5699
  exports.QuestionSchema = QuestionSchema$1;
5058
5700
  exports.Registry = Registry;
5059
5701
  exports.RegulationElectronicSignature = RegulationElectronicSignaturet;
5702
+ exports.ResultContributionAct = ResultContributionAct;
5703
+ exports.ResultContributionDecision = ResultContributionDecision;
5704
+ exports.ResultContributionStatement = ResultContributionStatement;
5060
5705
  exports.ReturnByAssetAct = ReturnByAssetAct;
5061
5706
  exports.ReturnByAssetDecision = ReturnByAssetDecision;
5062
5707
  exports.ReturnByAssetStatement = ReturnByAssetStatement;