@coopenomics/factory 2026.5.15-5 → 2026.5.19-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -730,8 +730,8 @@ const udataSchema = {
730
730
  additionalProperties: true
731
731
  };
732
732
 
733
- const registry_id$W = cooptypes.Cooperative.Registry.WalletAgreement.registry_id;
734
- const Schema$W = {
733
+ const registry_id$U = cooptypes.Cooperative.Registry.WalletAgreement.registry_id;
734
+ const Schema$U = {
735
735
  type: "object",
736
736
  properties: {
737
737
  meta: IMetaJSONSchema,
@@ -741,23 +741,23 @@ const Schema$W = {
741
741
  required: ["meta", "coop", "vars"],
742
742
  additionalProperties: true
743
743
  };
744
- const Template$W = {
744
+ const Template$U = {
745
745
  title: cooptypes.Cooperative.Registry.WalletAgreement.title,
746
746
  description: cooptypes.Cooperative.Registry.WalletAgreement.description,
747
- model: Schema$W,
747
+ model: Schema$U,
748
748
  context: cooptypes.Cooperative.Registry.WalletAgreement.context,
749
749
  translations: cooptypes.Cooperative.Registry.WalletAgreement.translations
750
750
  };
751
751
 
752
752
  const WalletAgreement = {
753
753
  __proto__: null,
754
- Schema: Schema$W,
755
- Template: Template$W,
756
- registry_id: registry_id$W
754
+ Schema: Schema$U,
755
+ Template: Template$U,
756
+ registry_id: registry_id$U
757
757
  };
758
758
 
759
- const registry_id$V = cooptypes.Cooperative.Registry.RegulationElectronicSignature.registry_id;
760
- const Schema$V = {
759
+ const registry_id$T = cooptypes.Cooperative.Registry.RegulationElectronicSignature.registry_id;
760
+ const Schema$T = {
761
761
  type: "object",
762
762
  properties: {
763
763
  meta: IMetaJSONSchema,
@@ -767,23 +767,23 @@ const Schema$V = {
767
767
  required: ["meta", "coop", "vars"],
768
768
  additionalProperties: true
769
769
  };
770
- const Template$V = {
770
+ const Template$T = {
771
771
  title: cooptypes.Cooperative.Registry.RegulationElectronicSignature.title,
772
772
  description: cooptypes.Cooperative.Registry.RegulationElectronicSignature.description,
773
- model: Schema$V,
773
+ model: Schema$T,
774
774
  context: cooptypes.Cooperative.Registry.RegulationElectronicSignature.context,
775
775
  translations: cooptypes.Cooperative.Registry.RegulationElectronicSignature.translations
776
776
  };
777
777
 
778
778
  const RegulationElectronicSignaturet = {
779
779
  __proto__: null,
780
- Schema: Schema$V,
781
- Template: Template$V,
782
- registry_id: registry_id$V
780
+ Schema: Schema$T,
781
+ Template: Template$T,
782
+ registry_id: registry_id$T
783
783
  };
784
784
 
785
- const registry_id$U = cooptypes.Cooperative.Registry.PrivacyPolicy.registry_id;
786
- const Schema$U = {
785
+ const registry_id$S = cooptypes.Cooperative.Registry.PrivacyPolicy.registry_id;
786
+ const Schema$S = {
787
787
  type: "object",
788
788
  properties: {
789
789
  meta: IMetaJSONSchema,
@@ -793,23 +793,23 @@ const Schema$U = {
793
793
  required: ["meta", "coop", "vars"],
794
794
  additionalProperties: true
795
795
  };
796
- const Template$U = {
796
+ const Template$S = {
797
797
  title: cooptypes.Cooperative.Registry.PrivacyPolicy.title,
798
798
  description: cooptypes.Cooperative.Registry.PrivacyPolicy.description,
799
- model: Schema$U,
799
+ model: Schema$S,
800
800
  context: cooptypes.Cooperative.Registry.PrivacyPolicy.context,
801
801
  translations: cooptypes.Cooperative.Registry.PrivacyPolicy.translations
802
802
  };
803
803
 
804
804
  const PrivacyPolicy = {
805
805
  __proto__: null,
806
- Schema: Schema$U,
807
- Template: Template$U,
808
- registry_id: registry_id$U
806
+ Schema: Schema$S,
807
+ Template: Template$S,
808
+ registry_id: registry_id$S
809
809
  };
810
810
 
811
- const registry_id$T = cooptypes.Cooperative.Registry.UserAgreement.registry_id;
812
- const Schema$T = {
811
+ const registry_id$R = cooptypes.Cooperative.Registry.UserAgreement.registry_id;
812
+ const Schema$R = {
813
813
  type: "object",
814
814
  properties: {
815
815
  meta: IMetaJSONSchema,
@@ -826,23 +826,23 @@ const Schema$T = {
826
826
  required: ["meta", "coop", "vars", "user"],
827
827
  additionalProperties: true
828
828
  };
829
- const Template$T = {
829
+ const Template$R = {
830
830
  title: cooptypes.Cooperative.Registry.UserAgreement.title,
831
831
  description: cooptypes.Cooperative.Registry.UserAgreement.description,
832
- model: Schema$T,
832
+ model: Schema$R,
833
833
  context: cooptypes.Cooperative.Registry.UserAgreement.context,
834
834
  translations: cooptypes.Cooperative.Registry.UserAgreement.translations
835
835
  };
836
836
 
837
837
  const UserAgreement = {
838
838
  __proto__: null,
839
- Schema: Schema$T,
840
- Template: Template$T,
841
- registry_id: registry_id$T
839
+ Schema: Schema$R,
840
+ Template: Template$R,
841
+ registry_id: registry_id$R
842
842
  };
843
843
 
844
- const registry_id$S = cooptypes.Cooperative.Registry.CoopenomicsAgreement.registry_id;
845
- const Schema$S = {
844
+ const registry_id$Q = cooptypes.Cooperative.Registry.CoopenomicsAgreement.registry_id;
845
+ const Schema$Q = {
846
846
  type: "object",
847
847
  properties: {
848
848
  meta: IMetaJSONSchema,
@@ -853,23 +853,23 @@ const Schema$S = {
853
853
  required: ["meta", "coop", "vars", "partner"],
854
854
  additionalProperties: true
855
855
  };
856
- const Template$S = {
856
+ const Template$Q = {
857
857
  title: cooptypes.Cooperative.Registry.CoopenomicsAgreement.title,
858
858
  description: cooptypes.Cooperative.Registry.CoopenomicsAgreement.description,
859
- model: Schema$S,
859
+ model: Schema$Q,
860
860
  context: cooptypes.Cooperative.Registry.CoopenomicsAgreement.context,
861
861
  translations: cooptypes.Cooperative.Registry.CoopenomicsAgreement.translations
862
862
  };
863
863
 
864
864
  const CoopenomicsAgreement = {
865
865
  __proto__: null,
866
- Schema: Schema$S,
867
- Template: Template$S,
868
- registry_id: registry_id$S
866
+ Schema: Schema$Q,
867
+ Template: Template$Q,
868
+ registry_id: registry_id$Q
869
869
  };
870
870
 
871
- const registry_id$R = cooptypes.Cooperative.Registry.ConvertToAxonStatement.registry_id;
872
- const Schema$R = {
871
+ const registry_id$P = cooptypes.Cooperative.Registry.ConvertToAxonStatement.registry_id;
872
+ const Schema$P = {
873
873
  type: "object",
874
874
  properties: {
875
875
  meta: {
@@ -894,23 +894,23 @@ const Schema$R = {
894
894
  required: ["meta", "vars", "coop", "commonUser"],
895
895
  additionalProperties: true
896
896
  };
897
- const Template$R = {
897
+ const Template$P = {
898
898
  title: cooptypes.Cooperative.Registry.ConvertToAxonStatement.title,
899
899
  description: cooptypes.Cooperative.Registry.ConvertToAxonStatement.description,
900
- model: Schema$R,
900
+ model: Schema$P,
901
901
  context: cooptypes.Cooperative.Registry.ConvertToAxonStatement.context,
902
902
  translations: cooptypes.Cooperative.Registry.ConvertToAxonStatement.translations
903
903
  };
904
904
 
905
905
  const ConvertToAxonStatement = {
906
906
  __proto__: null,
907
- Schema: Schema$R,
908
- Template: Template$R,
909
- registry_id: registry_id$R
907
+ Schema: Schema$P,
908
+ Template: Template$P,
909
+ registry_id: registry_id$P
910
910
  };
911
911
 
912
- const registry_id$Q = cooptypes.Cooperative.Registry.ParticipantApplication.registry_id;
913
- const Schema$Q = {
912
+ const registry_id$O = cooptypes.Cooperative.Registry.ParticipantApplication.registry_id;
913
+ const Schema$O = {
914
914
  type: "object",
915
915
  properties: {
916
916
  type: {
@@ -999,23 +999,23 @@ const Schema$Q = {
999
999
  required: ["meta", "coop", "type"],
1000
1000
  additionalProperties: true
1001
1001
  };
1002
- const Template$Q = {
1002
+ const Template$O = {
1003
1003
  title: cooptypes.Cooperative.Registry.ParticipantApplication.title,
1004
1004
  description: cooptypes.Cooperative.Registry.ParticipantApplication.description,
1005
- model: Schema$Q,
1005
+ model: Schema$O,
1006
1006
  context: cooptypes.Cooperative.Registry.ParticipantApplication.context,
1007
1007
  translations: cooptypes.Cooperative.Registry.ParticipantApplication.translations
1008
1008
  };
1009
1009
 
1010
1010
  const ParticipantApplication = {
1011
1011
  __proto__: null,
1012
- Schema: Schema$Q,
1013
- Template: Template$Q,
1014
- registry_id: registry_id$Q
1012
+ Schema: Schema$O,
1013
+ Template: Template$O,
1014
+ registry_id: registry_id$O
1015
1015
  };
1016
1016
 
1017
- const registry_id$P = cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.registry_id;
1018
- const Schema$P = {
1017
+ const registry_id$N = cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.registry_id;
1018
+ const Schema$N = {
1019
1019
  type: "object",
1020
1020
  properties: {
1021
1021
  type: {
@@ -1079,23 +1079,23 @@ const Schema$P = {
1079
1079
  // vars не добавляем в обязательные параметры для обратной совместимости (начиная с 2.26)
1080
1080
  additionalProperties: true
1081
1081
  };
1082
- const Template$P = {
1082
+ const Template$N = {
1083
1083
  title: cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.title,
1084
1084
  description: cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.description,
1085
- model: Schema$P,
1085
+ model: Schema$N,
1086
1086
  context: cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.context,
1087
1087
  translations: cooptypes.Cooperative.Registry.DecisionOfParticipantApplication.translations
1088
1088
  };
1089
1089
 
1090
1090
  const DecisionOfParticipantApplication = {
1091
1091
  __proto__: null,
1092
- Schema: Schema$P,
1093
- Template: Template$P,
1094
- registry_id: registry_id$P
1092
+ Schema: Schema$N,
1093
+ Template: Template$N,
1094
+ registry_id: registry_id$N
1095
1095
  };
1096
1096
 
1097
- const registry_id$O = cooptypes.Cooperative.Registry.SelectBranchStatement.registry_id;
1098
- const Schema$O = {
1097
+ const registry_id$M = cooptypes.Cooperative.Registry.SelectBranchStatement.registry_id;
1098
+ const Schema$M = {
1099
1099
  type: "object",
1100
1100
  properties: {
1101
1101
  type: {
@@ -1158,23 +1158,23 @@ const Schema$O = {
1158
1158
  required: ["meta", "type", "branch", "vars", "coop"],
1159
1159
  additionalProperties: true
1160
1160
  };
1161
- const Template$O = {
1161
+ const Template$M = {
1162
1162
  title: cooptypes.Cooperative.Registry.SelectBranchStatement.title,
1163
1163
  description: cooptypes.Cooperative.Registry.SelectBranchStatement.description,
1164
- model: Schema$O,
1164
+ model: Schema$M,
1165
1165
  context: cooptypes.Cooperative.Registry.SelectBranchStatement.context,
1166
1166
  translations: cooptypes.Cooperative.Registry.SelectBranchStatement.translations
1167
1167
  };
1168
1168
 
1169
1169
  const SelectBranchStatement = {
1170
1170
  __proto__: null,
1171
- Schema: Schema$O,
1172
- Template: Template$O,
1173
- registry_id: registry_id$O
1171
+ Schema: Schema$M,
1172
+ Template: Template$M,
1173
+ registry_id: registry_id$M
1174
1174
  };
1175
1175
 
1176
- const registry_id$N = cooptypes.Cooperative.Registry.ProjectFreeDecision.registry_id;
1177
- const Schema$N = {
1176
+ const registry_id$L = cooptypes.Cooperative.Registry.ProjectFreeDecision.registry_id;
1177
+ const Schema$L = {
1178
1178
  type: "object",
1179
1179
  properties: {
1180
1180
  coop: {
@@ -1210,23 +1210,23 @@ const Schema$N = {
1210
1210
  required: ["meta", "coop", "project", "suggester_name", "vars"],
1211
1211
  additionalProperties: true
1212
1212
  };
1213
- const Template$N = {
1213
+ const Template$L = {
1214
1214
  title: cooptypes.Cooperative.Registry.ProjectFreeDecision.title,
1215
1215
  description: cooptypes.Cooperative.Registry.ProjectFreeDecision.description,
1216
- model: Schema$N,
1216
+ model: Schema$L,
1217
1217
  context: cooptypes.Cooperative.Registry.ProjectFreeDecision.context,
1218
1218
  translations: cooptypes.Cooperative.Registry.ProjectFreeDecision.translations
1219
1219
  };
1220
1220
 
1221
1221
  const ProjectFreeDecision = {
1222
1222
  __proto__: null,
1223
- Schema: Schema$N,
1224
- Template: Template$N,
1225
- registry_id: registry_id$N
1223
+ Schema: Schema$L,
1224
+ Template: Template$L,
1225
+ registry_id: registry_id$L
1226
1226
  };
1227
1227
 
1228
- const registry_id$M = cooptypes.Cooperative.Registry.FreeDecision.registry_id;
1229
- const Schema$M = {
1228
+ const registry_id$K = cooptypes.Cooperative.Registry.FreeDecision.registry_id;
1229
+ const Schema$K = {
1230
1230
  type: "object",
1231
1231
  properties: {
1232
1232
  coop: {
@@ -1270,19 +1270,19 @@ const Schema$M = {
1270
1270
  // vars не вносим для обратной совместимости начиная с версии 2.25
1271
1271
  additionalProperties: true
1272
1272
  };
1273
- const Template$M = {
1273
+ const Template$K = {
1274
1274
  title: cooptypes.Cooperative.Registry.FreeDecision.title,
1275
1275
  description: cooptypes.Cooperative.Registry.FreeDecision.description,
1276
- model: Schema$M,
1276
+ model: Schema$K,
1277
1277
  context: cooptypes.Cooperative.Registry.FreeDecision.context,
1278
1278
  translations: cooptypes.Cooperative.Registry.FreeDecision.translations
1279
1279
  };
1280
1280
 
1281
1281
  const FreeDecision = {
1282
1282
  __proto__: null,
1283
- Schema: Schema$M,
1284
- Template: Template$M,
1285
- registry_id: registry_id$M
1283
+ Schema: Schema$K,
1284
+ Template: Template$K,
1285
+ registry_id: registry_id$K
1286
1286
  };
1287
1287
 
1288
1288
  const CommonRequestSchema = {
@@ -1312,8 +1312,8 @@ const CommonRequestSchema = {
1312
1312
  additionalProperties: true
1313
1313
  };
1314
1314
 
1315
- const registry_id$L = cooptypes.Cooperative.Registry.AssetContributionStatement.registry_id;
1316
- const Schema$L = {
1315
+ const registry_id$J = cooptypes.Cooperative.Registry.AssetContributionStatement.registry_id;
1316
+ const Schema$J = {
1317
1317
  type: "object",
1318
1318
  properties: {
1319
1319
  meta: IMetaJSONSchema,
@@ -1325,23 +1325,23 @@ const Schema$L = {
1325
1325
  required: ["meta", "coop", "vars", "request", "user"],
1326
1326
  additionalProperties: true
1327
1327
  };
1328
- const Template$L = {
1328
+ const Template$J = {
1329
1329
  title: cooptypes.Cooperative.Registry.AssetContributionStatement.title,
1330
1330
  description: cooptypes.Cooperative.Registry.AssetContributionStatement.description,
1331
- model: Schema$L,
1331
+ model: Schema$J,
1332
1332
  context: cooptypes.Cooperative.Registry.AssetContributionStatement.context,
1333
1333
  translations: cooptypes.Cooperative.Registry.AssetContributionStatement.translations
1334
1334
  };
1335
1335
 
1336
1336
  const AssetContributionStatement = {
1337
1337
  __proto__: null,
1338
- Schema: Schema$L,
1339
- Template: Template$L,
1340
- registry_id: registry_id$L
1338
+ Schema: Schema$J,
1339
+ Template: Template$J,
1340
+ registry_id: registry_id$J
1341
1341
  };
1342
1342
 
1343
- const registry_id$K = cooptypes.Cooperative.Registry.ReturnByAssetStatement.registry_id;
1344
- const Schema$K = {
1343
+ const registry_id$I = cooptypes.Cooperative.Registry.ReturnByAssetStatement.registry_id;
1344
+ const Schema$I = {
1345
1345
  type: "object",
1346
1346
  properties: {
1347
1347
  meta: IMetaJSONSchema,
@@ -1353,23 +1353,23 @@ const Schema$K = {
1353
1353
  required: ["meta", "coop", "vars", "request", "user"],
1354
1354
  additionalProperties: true
1355
1355
  };
1356
- const Template$K = {
1356
+ const Template$I = {
1357
1357
  title: cooptypes.Cooperative.Registry.ReturnByAssetStatement.title,
1358
1358
  description: cooptypes.Cooperative.Registry.ReturnByAssetStatement.description,
1359
- model: Schema$K,
1359
+ model: Schema$I,
1360
1360
  context: cooptypes.Cooperative.Registry.ReturnByAssetStatement.context,
1361
1361
  translations: cooptypes.Cooperative.Registry.ReturnByAssetStatement.translations
1362
1362
  };
1363
1363
 
1364
1364
  const ReturnByAssetStatement = {
1365
1365
  __proto__: null,
1366
- Schema: Schema$K,
1367
- Template: Template$K,
1368
- registry_id: registry_id$K
1366
+ Schema: Schema$I,
1367
+ Template: Template$I,
1368
+ registry_id: registry_id$I
1369
1369
  };
1370
1370
 
1371
- const registry_id$J = cooptypes.Cooperative.Registry.AssetContributionDecision.registry_id;
1372
- const Schema$J = {
1371
+ const registry_id$H = cooptypes.Cooperative.Registry.AssetContributionDecision.registry_id;
1372
+ const Schema$H = {
1373
1373
  type: "object",
1374
1374
  properties: {
1375
1375
  meta: IMetaJSONSchema,
@@ -1382,23 +1382,23 @@ const Schema$J = {
1382
1382
  required: ["meta", "coop", "vars", "request", "user", "decision"],
1383
1383
  additionalProperties: true
1384
1384
  };
1385
- const Template$J = {
1385
+ const Template$H = {
1386
1386
  title: cooptypes.Cooperative.Registry.AssetContributionDecision.title,
1387
1387
  description: cooptypes.Cooperative.Registry.AssetContributionDecision.description,
1388
- model: Schema$J,
1388
+ model: Schema$H,
1389
1389
  context: cooptypes.Cooperative.Registry.AssetContributionDecision.context,
1390
1390
  translations: cooptypes.Cooperative.Registry.AssetContributionDecision.translations
1391
1391
  };
1392
1392
 
1393
1393
  const AssetContributionDecision = {
1394
1394
  __proto__: null,
1395
- Schema: Schema$J,
1396
- Template: Template$J,
1397
- registry_id: registry_id$J
1395
+ Schema: Schema$H,
1396
+ Template: Template$H,
1397
+ registry_id: registry_id$H
1398
1398
  };
1399
1399
 
1400
- const registry_id$I = cooptypes.Cooperative.Registry.ReturnByAssetDecision.registry_id;
1401
- const Schema$I = {
1400
+ const registry_id$G = cooptypes.Cooperative.Registry.ReturnByAssetDecision.registry_id;
1401
+ const Schema$G = {
1402
1402
  type: "object",
1403
1403
  properties: {
1404
1404
  meta: IMetaJSONSchema,
@@ -1411,19 +1411,19 @@ const Schema$I = {
1411
1411
  required: ["meta", "coop", "vars", "request", "user", "decision"],
1412
1412
  additionalProperties: true
1413
1413
  };
1414
- const Template$I = {
1414
+ const Template$G = {
1415
1415
  title: cooptypes.Cooperative.Registry.ReturnByAssetDecision.title,
1416
1416
  description: cooptypes.Cooperative.Registry.ReturnByAssetDecision.description,
1417
- model: Schema$I,
1417
+ model: Schema$G,
1418
1418
  context: cooptypes.Cooperative.Registry.ReturnByAssetDecision.context,
1419
1419
  translations: cooptypes.Cooperative.Registry.ReturnByAssetDecision.translations
1420
1420
  };
1421
1421
 
1422
1422
  const ReturnByAssetDecision = {
1423
1423
  __proto__: null,
1424
- Schema: Schema$I,
1425
- Template: Template$I,
1426
- registry_id: registry_id$I
1424
+ Schema: Schema$G,
1425
+ Template: Template$G,
1426
+ registry_id: registry_id$G
1427
1427
  };
1428
1428
 
1429
1429
  const FirstLastMiddleNameSchema = {
@@ -1446,8 +1446,8 @@ const CommonProgramSchema = {
1446
1446
  additionalProperties: true
1447
1447
  };
1448
1448
 
1449
- const registry_id$H = cooptypes.Cooperative.Registry.AssetContributionAct.registry_id;
1450
- const Schema$H = {
1449
+ const registry_id$F = cooptypes.Cooperative.Registry.AssetContributionAct.registry_id;
1450
+ const Schema$F = {
1451
1451
  type: "object",
1452
1452
  properties: {
1453
1453
  meta: IMetaJSONSchema,
@@ -1464,23 +1464,23 @@ const Schema$H = {
1464
1464
  required: ["meta", "coop", "vars", "request", "user", "decision", "act_id", "receiver", "program"],
1465
1465
  additionalProperties: true
1466
1466
  };
1467
- const Template$H = {
1467
+ const Template$F = {
1468
1468
  title: cooptypes.Cooperative.Registry.AssetContributionAct.title,
1469
1469
  description: cooptypes.Cooperative.Registry.AssetContributionAct.description,
1470
- model: Schema$H,
1470
+ model: Schema$F,
1471
1471
  context: cooptypes.Cooperative.Registry.AssetContributionAct.context,
1472
1472
  translations: cooptypes.Cooperative.Registry.AssetContributionAct.translations
1473
1473
  };
1474
1474
 
1475
1475
  const AssetContributionAct = {
1476
1476
  __proto__: null,
1477
- Schema: Schema$H,
1478
- Template: Template$H,
1479
- registry_id: registry_id$H
1477
+ Schema: Schema$F,
1478
+ Template: Template$F,
1479
+ registry_id: registry_id$F
1480
1480
  };
1481
1481
 
1482
- const registry_id$G = cooptypes.Cooperative.Registry.ReturnByAssetAct.registry_id;
1483
- const Schema$G = {
1482
+ const registry_id$E = cooptypes.Cooperative.Registry.ReturnByAssetAct.registry_id;
1483
+ const Schema$E = {
1484
1484
  type: "object",
1485
1485
  properties: {
1486
1486
  meta: IMetaJSONSchema,
@@ -1497,23 +1497,23 @@ const Schema$G = {
1497
1497
  required: ["meta", "coop", "vars", "request", "user", "decision", "act_id", "transmitter", "program"],
1498
1498
  additionalProperties: true
1499
1499
  };
1500
- const Template$G = {
1500
+ const Template$E = {
1501
1501
  title: cooptypes.Cooperative.Registry.ReturnByAssetAct.title,
1502
1502
  description: cooptypes.Cooperative.Registry.ReturnByAssetAct.description,
1503
- model: Schema$G,
1503
+ model: Schema$E,
1504
1504
  context: cooptypes.Cooperative.Registry.ReturnByAssetAct.context,
1505
1505
  translations: cooptypes.Cooperative.Registry.ReturnByAssetAct.translations
1506
1506
  };
1507
1507
 
1508
1508
  const ReturnByAssetAct = {
1509
1509
  __proto__: null,
1510
- Schema: Schema$G,
1511
- Template: Template$G,
1512
- registry_id: registry_id$G
1510
+ Schema: Schema$E,
1511
+ Template: Template$E,
1512
+ registry_id: registry_id$E
1513
1513
  };
1514
1514
 
1515
- const registry_id$F = cooptypes.Cooperative.Registry.ReturnByMoney.registry_id;
1516
- const Schema$F = {
1515
+ const registry_id$D = cooptypes.Cooperative.Registry.ReturnByMoney.registry_id;
1516
+ const Schema$D = {
1517
1517
  type: "object",
1518
1518
  properties: {
1519
1519
  meta: IMetaJSONSchema,
@@ -1528,23 +1528,23 @@ const Schema$F = {
1528
1528
  required: ["meta", "coop", "vars", "user", "payment_details", "quantity", "currency", "payment_hash"],
1529
1529
  additionalProperties: false
1530
1530
  };
1531
- const Template$F = {
1531
+ const Template$D = {
1532
1532
  title: cooptypes.Cooperative.Registry.ReturnByMoney.title,
1533
1533
  description: cooptypes.Cooperative.Registry.ReturnByMoney.description,
1534
- model: Schema$F,
1534
+ model: Schema$D,
1535
1535
  context: cooptypes.Cooperative.Registry.ReturnByMoney.context,
1536
1536
  translations: cooptypes.Cooperative.Registry.ReturnByMoney.translations
1537
1537
  };
1538
1538
 
1539
1539
  const ReturnByMoney = {
1540
1540
  __proto__: null,
1541
- Schema: Schema$F,
1542
- Template: Template$F,
1543
- registry_id: registry_id$F
1541
+ Schema: Schema$D,
1542
+ Template: Template$D,
1543
+ registry_id: registry_id$D
1544
1544
  };
1545
1545
 
1546
- const registry_id$E = cooptypes.Cooperative.Registry.ReturnByMoneyDecision.registry_id;
1547
- const Schema$E = {
1546
+ const registry_id$C = cooptypes.Cooperative.Registry.ReturnByMoneyDecision.registry_id;
1547
+ const Schema$C = {
1548
1548
  type: "object",
1549
1549
  properties: {
1550
1550
  meta: {
@@ -1579,23 +1579,23 @@ const Schema$E = {
1579
1579
  required: ["meta", "coop", "decision", "user", "quantity", "currency", "vars"],
1580
1580
  additionalProperties: false
1581
1581
  };
1582
- const Template$E = {
1582
+ const Template$C = {
1583
1583
  title: cooptypes.Cooperative.Registry.ReturnByMoneyDecision.title,
1584
1584
  description: cooptypes.Cooperative.Registry.ReturnByMoneyDecision.description,
1585
- model: Schema$E,
1585
+ model: Schema$C,
1586
1586
  context: cooptypes.Cooperative.Registry.ReturnByMoneyDecision.context,
1587
1587
  translations: cooptypes.Cooperative.Registry.ReturnByMoneyDecision.translations
1588
1588
  };
1589
1589
 
1590
1590
  const ReturnByMoneyDecision = {
1591
1591
  __proto__: null,
1592
- Schema: Schema$E,
1593
- Template: Template$E,
1594
- registry_id: registry_id$E
1592
+ Schema: Schema$C,
1593
+ Template: Template$C,
1594
+ registry_id: registry_id$C
1595
1595
  };
1596
1596
 
1597
- const registry_id$D = cooptypes.Cooperative.Registry.GeneratorProgramTemplate.registry_id;
1598
- const Schema$D = {
1597
+ const registry_id$B = cooptypes.Cooperative.Registry.GeneratorProgramTemplate.registry_id;
1598
+ const Schema$B = {
1599
1599
  type: "object",
1600
1600
  properties: {
1601
1601
  meta: IMetaJSONSchema,
@@ -1605,23 +1605,23 @@ const Schema$D = {
1605
1605
  required: ["meta", "coop", "vars"],
1606
1606
  additionalProperties: true
1607
1607
  };
1608
- const Template$D = {
1608
+ const Template$B = {
1609
1609
  title: cooptypes.Cooperative.Registry.GeneratorProgramTemplate.title,
1610
1610
  description: cooptypes.Cooperative.Registry.GeneratorProgramTemplate.description,
1611
- model: Schema$D,
1611
+ model: Schema$B,
1612
1612
  context: cooptypes.Cooperative.Registry.GeneratorProgramTemplate.context,
1613
1613
  translations: cooptypes.Cooperative.Registry.GeneratorProgramTemplate.translations
1614
1614
  };
1615
1615
 
1616
1616
  const GeneratorProgramTemplate = {
1617
1617
  __proto__: null,
1618
- Schema: Schema$D,
1619
- Template: Template$D,
1620
- registry_id: registry_id$D
1618
+ Schema: Schema$B,
1619
+ Template: Template$B,
1620
+ registry_id: registry_id$B
1621
1621
  };
1622
1622
 
1623
- const registry_id$C = cooptypes.Cooperative.Registry.GeneratorOfferTemplate.registry_id;
1624
- const Schema$C = {
1623
+ const registry_id$A = cooptypes.Cooperative.Registry.GeneratorOfferTemplate.registry_id;
1624
+ const Schema$A = {
1625
1625
  type: "object",
1626
1626
  properties: {
1627
1627
  meta: IMetaJSONSchema,
@@ -1632,23 +1632,23 @@ const Schema$C = {
1632
1632
  required: ["meta", "coop", "vars", "common_user"],
1633
1633
  additionalProperties: true
1634
1634
  };
1635
- const Template$C = {
1635
+ const Template$A = {
1636
1636
  title: cooptypes.Cooperative.Registry.GeneratorOfferTemplate.title,
1637
1637
  description: cooptypes.Cooperative.Registry.GeneratorOfferTemplate.description,
1638
- model: Schema$C,
1638
+ model: Schema$A,
1639
1639
  context: cooptypes.Cooperative.Registry.GeneratorOfferTemplate.context,
1640
1640
  translations: cooptypes.Cooperative.Registry.GeneratorOfferTemplate.translations
1641
1641
  };
1642
1642
 
1643
1643
  const GeneratorOfferTemplate = {
1644
1644
  __proto__: null,
1645
- Schema: Schema$C,
1646
- Template: Template$C,
1647
- registry_id: registry_id$C
1645
+ Schema: Schema$A,
1646
+ Template: Template$A,
1647
+ registry_id: registry_id$A
1648
1648
  };
1649
1649
 
1650
- const registry_id$B = cooptypes.Cooperative.Registry.GeneratorOffer.registry_id;
1651
- const Schema$B = {
1650
+ const registry_id$z = cooptypes.Cooperative.Registry.GeneratorOffer.registry_id;
1651
+ const Schema$z = {
1652
1652
  type: "object",
1653
1653
  properties: {
1654
1654
  meta: IMetaJSONSchema,
@@ -1661,23 +1661,23 @@ const Schema$B = {
1661
1661
  required: ["meta", "coop", "vars", "common_user", "generator_agreement_number", "generator_agreement_created_at"],
1662
1662
  additionalProperties: true
1663
1663
  };
1664
- const Template$B = {
1664
+ const Template$z = {
1665
1665
  title: cooptypes.Cooperative.Registry.GeneratorOffer.title,
1666
1666
  description: cooptypes.Cooperative.Registry.GeneratorOffer.description,
1667
- model: Schema$B,
1667
+ model: Schema$z,
1668
1668
  context: cooptypes.Cooperative.Registry.GeneratorOffer.context,
1669
1669
  translations: cooptypes.Cooperative.Registry.GeneratorOffer.translations
1670
1670
  };
1671
1671
 
1672
1672
  const GeneratorOffer = {
1673
1673
  __proto__: null,
1674
- Schema: Schema$B,
1675
- Template: Template$B,
1676
- registry_id: registry_id$B
1674
+ Schema: Schema$z,
1675
+ Template: Template$z,
1676
+ registry_id: registry_id$z
1677
1677
  };
1678
1678
 
1679
- const registry_id$A = cooptypes.Cooperative.Registry.BlagorostProgramTemplate.registry_id;
1680
- const Schema$A = {
1679
+ const registry_id$y = cooptypes.Cooperative.Registry.BlagorostProgramTemplate.registry_id;
1680
+ const Schema$y = {
1681
1681
  type: "object",
1682
1682
  properties: {
1683
1683
  meta: IMetaJSONSchema,
@@ -1686,23 +1686,23 @@ const Schema$A = {
1686
1686
  required: ["meta", "vars"],
1687
1687
  additionalProperties: true
1688
1688
  };
1689
- const Template$A = {
1689
+ const Template$y = {
1690
1690
  title: cooptypes.Cooperative.Registry.BlagorostProgramTemplate.title,
1691
1691
  description: cooptypes.Cooperative.Registry.BlagorostProgramTemplate.description,
1692
- model: Schema$A,
1692
+ model: Schema$y,
1693
1693
  context: cooptypes.Cooperative.Registry.BlagorostProgramTemplate.context,
1694
1694
  translations: cooptypes.Cooperative.Registry.BlagorostProgramTemplate.translations
1695
1695
  };
1696
1696
 
1697
1697
  const BlagorostProgramTemplate = {
1698
1698
  __proto__: null,
1699
- Schema: Schema$A,
1700
- Template: Template$A,
1701
- registry_id: registry_id$A
1699
+ Schema: Schema$y,
1700
+ Template: Template$y,
1701
+ registry_id: registry_id$y
1702
1702
  };
1703
1703
 
1704
- const registry_id$z = cooptypes.Cooperative.Registry.GenerationContractTemplate.registry_id;
1705
- const Schema$z = {
1704
+ const registry_id$x = cooptypes.Cooperative.Registry.GenerationContractTemplate.registry_id;
1705
+ const Schema$x = {
1706
1706
  type: "object",
1707
1707
  properties: {
1708
1708
  meta: IMetaJSONSchema,
@@ -1712,23 +1712,23 @@ const Schema$z = {
1712
1712
  required: ["meta", "coop", "vars"],
1713
1713
  additionalProperties: true
1714
1714
  };
1715
- const Template$z = {
1715
+ const Template$x = {
1716
1716
  title: cooptypes.Cooperative.Registry.GenerationContractTemplate.title,
1717
1717
  description: cooptypes.Cooperative.Registry.GenerationContractTemplate.description,
1718
- model: Schema$z,
1718
+ model: Schema$x,
1719
1719
  context: cooptypes.Cooperative.Registry.GenerationContractTemplate.context,
1720
1720
  translations: cooptypes.Cooperative.Registry.GenerationContractTemplate.translations
1721
1721
  };
1722
1722
 
1723
1723
  const GenerationContractTemplate = {
1724
1724
  __proto__: null,
1725
- Schema: Schema$z,
1726
- Template: Template$z,
1727
- registry_id: registry_id$z
1725
+ Schema: Schema$x,
1726
+ Template: Template$x,
1727
+ registry_id: registry_id$x
1728
1728
  };
1729
1729
 
1730
- const registry_id$y = cooptypes.Cooperative.Registry.BlagorostOfferTemplate.registry_id;
1731
- const Schema$y = {
1730
+ const registry_id$w = cooptypes.Cooperative.Registry.BlagorostOfferTemplate.registry_id;
1731
+ const Schema$w = {
1732
1732
  type: "object",
1733
1733
  properties: {
1734
1734
  meta: IMetaJSONSchema,
@@ -1738,23 +1738,23 @@ const Schema$y = {
1738
1738
  required: ["meta", "coop", "vars"],
1739
1739
  additionalProperties: true
1740
1740
  };
1741
- const Template$y = {
1741
+ const Template$w = {
1742
1742
  title: cooptypes.Cooperative.Registry.BlagorostOfferTemplate.title,
1743
1743
  description: cooptypes.Cooperative.Registry.BlagorostOfferTemplate.description,
1744
- model: Schema$y,
1744
+ model: Schema$w,
1745
1745
  context: cooptypes.Cooperative.Registry.BlagorostOfferTemplate.context,
1746
1746
  translations: cooptypes.Cooperative.Registry.BlagorostOfferTemplate.translations
1747
1747
  };
1748
1748
 
1749
1749
  const BlagorostOfferTemplate = {
1750
1750
  __proto__: null,
1751
- Schema: Schema$y,
1752
- Template: Template$y,
1753
- registry_id: registry_id$y
1751
+ Schema: Schema$w,
1752
+ Template: Template$w,
1753
+ registry_id: registry_id$w
1754
1754
  };
1755
1755
 
1756
- const registry_id$x = cooptypes.Cooperative.Registry.BlagorostOffer.registry_id;
1757
- const Schema$x = {
1756
+ const registry_id$v = cooptypes.Cooperative.Registry.BlagorostOffer.registry_id;
1757
+ const Schema$v = {
1758
1758
  type: "object",
1759
1759
  properties: {
1760
1760
  meta: IMetaJSONSchema,
@@ -1767,23 +1767,23 @@ const Schema$x = {
1767
1767
  required: ["meta", "coop", "vars", "common_user", "blagorost_agreement_number", "blagorost_agreement_created_at"],
1768
1768
  additionalProperties: true
1769
1769
  };
1770
- const Template$x = {
1770
+ const Template$v = {
1771
1771
  title: cooptypes.Cooperative.Registry.BlagorostOffer.title,
1772
1772
  description: cooptypes.Cooperative.Registry.BlagorostOffer.description,
1773
- model: Schema$x,
1773
+ model: Schema$v,
1774
1774
  context: cooptypes.Cooperative.Registry.BlagorostOffer.context,
1775
1775
  translations: cooptypes.Cooperative.Registry.BlagorostOffer.translations
1776
1776
  };
1777
1777
 
1778
1778
  const BlagorostOffer = {
1779
1779
  __proto__: null,
1780
- Schema: Schema$x,
1781
- Template: Template$x,
1782
- registry_id: registry_id$x
1780
+ Schema: Schema$v,
1781
+ Template: Template$v,
1782
+ registry_id: registry_id$v
1783
1783
  };
1784
1784
 
1785
- const registry_id$w = cooptypes.Cooperative.Registry.GenerationContract.registry_id;
1786
- const Schema$w = {
1785
+ const registry_id$u = cooptypes.Cooperative.Registry.GenerationContract.registry_id;
1786
+ const Schema$u = {
1787
1787
  type: "object",
1788
1788
  properties: {
1789
1789
  meta: IMetaJSONSchema,
@@ -1795,23 +1795,23 @@ const Schema$w = {
1795
1795
  required: ["meta", "coop", "vars", "user", "contributor_contract_number"],
1796
1796
  additionalProperties: true
1797
1797
  };
1798
- const Template$w = {
1798
+ const Template$u = {
1799
1799
  title: cooptypes.Cooperative.Registry.GenerationContract.title,
1800
1800
  description: cooptypes.Cooperative.Registry.GenerationContract.description,
1801
- model: Schema$w,
1801
+ model: Schema$u,
1802
1802
  context: cooptypes.Cooperative.Registry.GenerationContract.context,
1803
1803
  translations: cooptypes.Cooperative.Registry.GenerationContract.translations
1804
1804
  };
1805
1805
 
1806
1806
  const GenerationContract = {
1807
1807
  __proto__: null,
1808
- Schema: Schema$w,
1809
- Template: Template$w,
1810
- registry_id: registry_id$w
1808
+ Schema: Schema$u,
1809
+ Template: Template$u,
1810
+ registry_id: registry_id$u
1811
1811
  };
1812
1812
 
1813
- const registry_id$v = cooptypes.Cooperative.Registry.ProjectGenerationContract.registry_id;
1814
- const Schema$v = {
1813
+ const registry_id$t = cooptypes.Cooperative.Registry.ProjectGenerationContract.registry_id;
1814
+ const Schema$t = {
1815
1815
  type: "object",
1816
1816
  properties: {
1817
1817
  meta: IMetaJSONSchema,
@@ -1830,23 +1830,23 @@ const Schema$v = {
1830
1830
  required: ["meta", "coop", "vars", "user", "appendix_hash", "short_appendix_hash", "contributor_contract_number", "contributor_contract_created_at", "project_name", "project_hash", "generator_agreement_number", "generator_agreement_created_at"],
1831
1831
  additionalProperties: true
1832
1832
  };
1833
- const Template$v = {
1833
+ const Template$t = {
1834
1834
  title: cooptypes.Cooperative.Registry.ProjectGenerationContract.title,
1835
1835
  description: cooptypes.Cooperative.Registry.ProjectGenerationContract.description,
1836
- model: Schema$v,
1836
+ model: Schema$t,
1837
1837
  context: cooptypes.Cooperative.Registry.ProjectGenerationContract.context,
1838
1838
  translations: cooptypes.Cooperative.Registry.ProjectGenerationContract.translations
1839
1839
  };
1840
1840
 
1841
1841
  const ProjectGenerationContract = {
1842
1842
  __proto__: null,
1843
- Schema: Schema$v,
1844
- Template: Template$v,
1845
- registry_id: registry_id$v
1843
+ Schema: Schema$t,
1844
+ Template: Template$t,
1845
+ registry_id: registry_id$t
1846
1846
  };
1847
1847
 
1848
- const registry_id$u = cooptypes.Cooperative.Registry.ComponentGenerationContract.registry_id;
1849
- const Schema$u = {
1848
+ const registry_id$s = cooptypes.Cooperative.Registry.ComponentGenerationContract.registry_id;
1849
+ const Schema$s = {
1850
1850
  type: "object",
1851
1851
  properties: {
1852
1852
  meta: IMetaJSONSchema,
@@ -1867,23 +1867,23 @@ const Schema$u = {
1867
1867
  required: ["meta", "coop", "vars", "user", "appendix_hash", "short_appendix_hash", "parent_appendix_hash", "short_parent_appendix_hash", "contributor_contract_number", "contributor_contract_created_at", "component_name", "component_hash", "project_name", "project_hash"],
1868
1868
  additionalProperties: true
1869
1869
  };
1870
- const Template$u = {
1870
+ const Template$s = {
1871
1871
  title: cooptypes.Cooperative.Registry.ComponentGenerationContract.title,
1872
1872
  description: cooptypes.Cooperative.Registry.ComponentGenerationContract.description,
1873
- model: Schema$u,
1873
+ model: Schema$s,
1874
1874
  context: cooptypes.Cooperative.Registry.ComponentGenerationContract.context,
1875
1875
  translations: cooptypes.Cooperative.Registry.ComponentGenerationContract.translations
1876
1876
  };
1877
1877
 
1878
1878
  const ComponentGenerationContract = {
1879
1879
  __proto__: null,
1880
- Schema: Schema$u,
1881
- Template: Template$u,
1882
- registry_id: registry_id$u
1880
+ Schema: Schema$s,
1881
+ Template: Template$s,
1882
+ registry_id: registry_id$s
1883
1883
  };
1884
1884
 
1885
- const registry_id$t = cooptypes.Cooperative.Registry.StorageAgreement.registry_id;
1886
- const Schema$t = {
1885
+ const registry_id$r = cooptypes.Cooperative.Registry.StorageAgreement.registry_id;
1886
+ const Schema$r = {
1887
1887
  type: "object",
1888
1888
  properties: {
1889
1889
  meta: IMetaJSONSchema,
@@ -1899,23 +1899,23 @@ const Schema$t = {
1899
1899
  required: ["meta", "coop", "vars", "common_user", "blagorost_storage_agreement_number", "blagorost_storage_agreement_created_at", "contributor_contract_number", "generator_agreement_number", "generator_agreement_created_at"],
1900
1900
  additionalProperties: true
1901
1901
  };
1902
- const Template$t = {
1902
+ const Template$r = {
1903
1903
  title: cooptypes.Cooperative.Registry.StorageAgreement.title,
1904
1904
  description: cooptypes.Cooperative.Registry.StorageAgreement.description,
1905
- model: Schema$t,
1905
+ model: Schema$r,
1906
1906
  context: cooptypes.Cooperative.Registry.StorageAgreement.context,
1907
1907
  translations: cooptypes.Cooperative.Registry.StorageAgreement.translations
1908
1908
  };
1909
1909
 
1910
1910
  const StorageAgreement = {
1911
1911
  __proto__: null,
1912
- Schema: Schema$t,
1913
- Template: Template$t,
1914
- registry_id: registry_id$t
1912
+ Schema: Schema$r,
1913
+ Template: Template$r,
1914
+ registry_id: registry_id$r
1915
1915
  };
1916
1916
 
1917
- const registry_id$s = cooptypes.Cooperative.Registry.BlagorostAgreement.registry_id;
1918
- const Schema$s = {
1917
+ const registry_id$q = cooptypes.Cooperative.Registry.BlagorostAgreement.registry_id;
1918
+ const Schema$q = {
1919
1919
  type: "object",
1920
1920
  properties: {
1921
1921
  meta: IMetaJSONSchema,
@@ -1929,23 +1929,23 @@ const Schema$s = {
1929
1929
  required: ["meta", "coop", "vars", "common_user", "blagorost_agreement_number", "contributor_contract_number", "contributor_contract_created_at"],
1930
1930
  additionalProperties: true
1931
1931
  };
1932
- const Template$s = {
1932
+ const Template$q = {
1933
1933
  title: cooptypes.Cooperative.Registry.BlagorostAgreement.title,
1934
1934
  description: cooptypes.Cooperative.Registry.BlagorostAgreement.description,
1935
- model: Schema$s,
1935
+ model: Schema$q,
1936
1936
  context: cooptypes.Cooperative.Registry.BlagorostAgreement.context,
1937
1937
  translations: cooptypes.Cooperative.Registry.BlagorostAgreement.translations
1938
1938
  };
1939
1939
 
1940
1940
  const BlagorostAgreement = {
1941
1941
  __proto__: null,
1942
- Schema: Schema$s,
1943
- Template: Template$s,
1944
- registry_id: registry_id$s
1942
+ Schema: Schema$q,
1943
+ Template: Template$q,
1944
+ registry_id: registry_id$q
1945
1945
  };
1946
1946
 
1947
- const registry_id$r = cooptypes.Cooperative.Registry.InitProjectStatement.registry_id;
1948
- const Schema$r = {
1947
+ const registry_id$p = cooptypes.Cooperative.Registry.InitProjectStatement.registry_id;
1948
+ const Schema$p = {
1949
1949
  type: "object",
1950
1950
  properties: {
1951
1951
  meta: IMetaJSONSchema,
@@ -1961,23 +1961,23 @@ const Schema$r = {
1961
1961
  required: ["meta", "coop", "vars", "user", "project_name", "project_hash", "component_name", "component_hash", "is_component"],
1962
1962
  additionalProperties: true
1963
1963
  };
1964
- const Template$r = {
1964
+ const Template$p = {
1965
1965
  title: cooptypes.Cooperative.Registry.InitProjectStatement.title,
1966
1966
  description: cooptypes.Cooperative.Registry.InitProjectStatement.description,
1967
- model: Schema$r,
1967
+ model: Schema$p,
1968
1968
  context: cooptypes.Cooperative.Registry.InitProjectStatement.context,
1969
1969
  translations: cooptypes.Cooperative.Registry.InitProjectStatement.translations
1970
1970
  };
1971
1971
 
1972
1972
  const InitProjectStatement = {
1973
1973
  __proto__: null,
1974
- Schema: Schema$r,
1975
- Template: Template$r,
1976
- registry_id: registry_id$r
1974
+ Schema: Schema$p,
1975
+ Template: Template$p,
1976
+ registry_id: registry_id$p
1977
1977
  };
1978
1978
 
1979
- const registry_id$q = cooptypes.Cooperative.Registry.InitProjectDecision.registry_id;
1980
- const Schema$q = {
1979
+ const registry_id$o = cooptypes.Cooperative.Registry.InitProjectDecision.registry_id;
1980
+ const Schema$o = {
1981
1981
  type: "object",
1982
1982
  properties: {
1983
1983
  coop: {
@@ -2014,23 +2014,23 @@ const Schema$q = {
2014
2014
  required: ["meta", "coop", "decision", "project_name", "project_hash", "component_name", "component_hash", "is_component"],
2015
2015
  additionalProperties: true
2016
2016
  };
2017
- const Template$q = {
2017
+ const Template$o = {
2018
2018
  title: cooptypes.Cooperative.Registry.InitProjectDecision.title,
2019
2019
  description: cooptypes.Cooperative.Registry.InitProjectDecision.description,
2020
- model: Schema$q,
2020
+ model: Schema$o,
2021
2021
  context: cooptypes.Cooperative.Registry.InitProjectDecision.context,
2022
2022
  translations: cooptypes.Cooperative.Registry.InitProjectDecision.translations
2023
2023
  };
2024
2024
 
2025
2025
  const InitProjectDecision = {
2026
2026
  __proto__: null,
2027
- Schema: Schema$q,
2028
- Template: Template$q,
2029
- registry_id: registry_id$q
2027
+ Schema: Schema$o,
2028
+ Template: Template$o,
2029
+ registry_id: registry_id$o
2030
2030
  };
2031
2031
 
2032
- const registry_id$p = cooptypes.Cooperative.Registry.ExpenseStatement.registry_id;
2033
- const Schema$p = {
2032
+ const registry_id$n = cooptypes.Cooperative.Registry.ExpenseStatement.registry_id;
2033
+ const Schema$n = {
2034
2034
  type: "object",
2035
2035
  properties: {
2036
2036
  meta: IMetaJSONSchema
@@ -2038,23 +2038,23 @@ const Schema$p = {
2038
2038
  required: ["meta"],
2039
2039
  additionalProperties: true
2040
2040
  };
2041
- const Template$p = {
2041
+ const Template$n = {
2042
2042
  title: cooptypes.Cooperative.Registry.ExpenseStatement.title,
2043
2043
  description: cooptypes.Cooperative.Registry.ExpenseStatement.description,
2044
- model: Schema$p,
2044
+ model: Schema$n,
2045
2045
  context: cooptypes.Cooperative.Registry.ExpenseStatement.context,
2046
2046
  translations: cooptypes.Cooperative.Registry.ExpenseStatement.translations
2047
2047
  };
2048
2048
 
2049
2049
  const ExpenseStatement = {
2050
2050
  __proto__: null,
2051
- Schema: Schema$p,
2052
- Template: Template$p,
2053
- registry_id: registry_id$p
2051
+ Schema: Schema$n,
2052
+ Template: Template$n,
2053
+ registry_id: registry_id$n
2054
2054
  };
2055
2055
 
2056
- const registry_id$o = cooptypes.Cooperative.Registry.ExpenseDecision.registry_id;
2057
- const Schema$o = {
2056
+ const registry_id$m = cooptypes.Cooperative.Registry.ExpenseDecision.registry_id;
2057
+ const Schema$m = {
2058
2058
  type: "object",
2059
2059
  properties: {
2060
2060
  meta: IMetaJSONSchema
@@ -2062,23 +2062,23 @@ const Schema$o = {
2062
2062
  required: ["meta"],
2063
2063
  additionalProperties: true
2064
2064
  };
2065
- const Template$o = {
2065
+ const Template$m = {
2066
2066
  title: cooptypes.Cooperative.Registry.ExpenseDecision.title,
2067
2067
  description: cooptypes.Cooperative.Registry.ExpenseDecision.description,
2068
- model: Schema$o,
2068
+ model: Schema$m,
2069
2069
  context: cooptypes.Cooperative.Registry.ExpenseDecision.context,
2070
2070
  translations: cooptypes.Cooperative.Registry.ExpenseDecision.translations
2071
2071
  };
2072
2072
 
2073
2073
  const ExpenseDecision = {
2074
2074
  __proto__: null,
2075
- Schema: Schema$o,
2076
- Template: Template$o,
2077
- registry_id: registry_id$o
2075
+ Schema: Schema$m,
2076
+ Template: Template$m,
2077
+ registry_id: registry_id$m
2078
2078
  };
2079
2079
 
2080
- const registry_id$n = cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.registry_id;
2081
- const Schema$n = {
2080
+ const registry_id$l = cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.registry_id;
2081
+ const Schema$l = {
2082
2082
  type: "object",
2083
2083
  properties: {
2084
2084
  meta: IMetaJSONSchema,
@@ -2112,23 +2112,23 @@ const Schema$n = {
2112
2112
  ],
2113
2113
  additionalProperties: true
2114
2114
  };
2115
- const Template$n = {
2115
+ const Template$l = {
2116
2116
  title: cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.title,
2117
2117
  description: cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.description,
2118
- model: Schema$n,
2118
+ model: Schema$l,
2119
2119
  context: cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.context,
2120
2120
  translations: cooptypes.Cooperative.Registry.GenerationMoneyInvestStatement.translations
2121
2121
  };
2122
2122
 
2123
2123
  const GenerationMoneyInvestStatement = {
2124
2124
  __proto__: null,
2125
- Schema: Schema$n,
2126
- Template: Template$n,
2127
- registry_id: registry_id$n
2125
+ Schema: Schema$l,
2126
+ Template: Template$l,
2127
+ registry_id: registry_id$l
2128
2128
  };
2129
2129
 
2130
- const registry_id$m = cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.registry_id;
2131
- const Schema$m = {
2130
+ const registry_id$k = cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.registry_id;
2131
+ const Schema$k = {
2132
2132
  type: "object",
2133
2133
  properties: {
2134
2134
  meta: IMetaJSONSchema,
@@ -2144,23 +2144,23 @@ const Schema$m = {
2144
2144
  required: ["meta", "vars", "common_user", "contributor_contract_number", "contributor_contract_created_at", "generator_agreement_number", "generator_agreement_created_at", "project_hash", "amount"],
2145
2145
  additionalProperties: true
2146
2146
  };
2147
- const Template$m = {
2147
+ const Template$k = {
2148
2148
  title: cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.title,
2149
2149
  description: cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.description,
2150
- model: Schema$m,
2150
+ model: Schema$k,
2151
2151
  context: cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.context,
2152
2152
  translations: cooptypes.Cooperative.Registry.GenerationMoneyReturnUnusedStatement.translations
2153
2153
  };
2154
2154
 
2155
2155
  const GenerationMoneyReturnUnusedStatement = {
2156
2156
  __proto__: null,
2157
- Schema: Schema$m,
2158
- Template: Template$m,
2159
- registry_id: registry_id$m
2157
+ Schema: Schema$k,
2158
+ Template: Template$k,
2159
+ registry_id: registry_id$k
2160
2160
  };
2161
2161
 
2162
- const registry_id$l = cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.registry_id;
2163
- const Schema$l = {
2162
+ const registry_id$j = cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.registry_id;
2163
+ const Schema$j = {
2164
2164
  type: "object",
2165
2165
  properties: {
2166
2166
  meta: IMetaJSONSchema,
@@ -2171,23 +2171,23 @@ const Schema$l = {
2171
2171
  required: ["meta", "vars", "common_user", "amount"],
2172
2172
  additionalProperties: true
2173
2173
  };
2174
- const Template$l = {
2174
+ const Template$j = {
2175
2175
  title: cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.title,
2176
2176
  description: cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.description,
2177
- model: Schema$l,
2177
+ model: Schema$j,
2178
2178
  context: cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.context,
2179
2179
  translations: cooptypes.Cooperative.Registry.CapitalizationMoneyInvestStatement.translations
2180
2180
  };
2181
2181
 
2182
2182
  const CapitalizationMoneyInvestStatement = {
2183
2183
  __proto__: null,
2184
- Schema: Schema$l,
2185
- Template: Template$l,
2186
- registry_id: registry_id$l
2184
+ Schema: Schema$j,
2185
+ Template: Template$j,
2186
+ registry_id: registry_id$j
2187
2187
  };
2188
2188
 
2189
- const registry_id$k = cooptypes.Cooperative.Registry.ResultContributionStatement.registry_id;
2190
- const Schema$k = {
2189
+ const registry_id$i = cooptypes.Cooperative.Registry.ResultContributionStatement.registry_id;
2190
+ const Schema$i = {
2191
2191
  type: "object",
2192
2192
  properties: {
2193
2193
  meta: IMetaJSONSchema,
@@ -2208,23 +2208,23 @@ const Schema$k = {
2208
2208
  required: ["meta", "coop", "vars", "common_user", "contributor_contract_number", "contributor_contract_created_at", "blagorost_agreement_number", "blagorost_agreement_created_at", "project_name", "component_name", "result_hash", "result_short_hash", "percent_of_result", "total_amount"],
2209
2209
  additionalProperties: true
2210
2210
  };
2211
- const Template$k = {
2211
+ const Template$i = {
2212
2212
  title: cooptypes.Cooperative.Registry.ResultContributionStatement.title,
2213
2213
  description: cooptypes.Cooperative.Registry.ResultContributionStatement.description,
2214
- model: Schema$k,
2214
+ model: Schema$i,
2215
2215
  context: cooptypes.Cooperative.Registry.ResultContributionStatement.context,
2216
2216
  translations: cooptypes.Cooperative.Registry.ResultContributionStatement.translations
2217
2217
  };
2218
2218
 
2219
2219
  const ResultContributionStatement = {
2220
2220
  __proto__: null,
2221
- Schema: Schema$k,
2222
- Template: Template$k,
2223
- registry_id: registry_id$k
2221
+ Schema: Schema$i,
2222
+ Template: Template$i,
2223
+ registry_id: registry_id$i
2224
2224
  };
2225
2225
 
2226
- const registry_id$j = cooptypes.Cooperative.Registry.ResultContributionDecision.registry_id;
2227
- const Schema$j = {
2226
+ const registry_id$h = cooptypes.Cooperative.Registry.ResultContributionDecision.registry_id;
2227
+ const Schema$h = {
2228
2228
  type: "object",
2229
2229
  properties: {
2230
2230
  meta: IMetaJSONSchema,
@@ -2246,23 +2246,23 @@ const Schema$j = {
2246
2246
  required: ["meta", "coop", "vars", "decision", "common_user", "contributor_contract_number", "contributor_contract_created_at", "blagorost_agreement_number", "blagorost_agreement_created_at", "project_name", "component_name", "result_hash", "result_short_hash", "percent_of_result", "total_amount"],
2247
2247
  additionalProperties: true
2248
2248
  };
2249
- const Template$j = {
2249
+ const Template$h = {
2250
2250
  title: cooptypes.Cooperative.Registry.ResultContributionDecision.title,
2251
2251
  description: cooptypes.Cooperative.Registry.ResultContributionDecision.description,
2252
- model: Schema$j,
2252
+ model: Schema$h,
2253
2253
  context: cooptypes.Cooperative.Registry.ResultContributionDecision.context,
2254
2254
  translations: cooptypes.Cooperative.Registry.ResultContributionDecision.translations
2255
2255
  };
2256
2256
 
2257
2257
  const ResultContributionDecision = {
2258
2258
  __proto__: null,
2259
- Schema: Schema$j,
2260
- Template: Template$j,
2261
- registry_id: registry_id$j
2259
+ Schema: Schema$h,
2260
+ Template: Template$h,
2261
+ registry_id: registry_id$h
2262
2262
  };
2263
2263
 
2264
- const registry_id$i = cooptypes.Cooperative.Registry.ResultContributionAct.registry_id;
2265
- const Schema$i = {
2264
+ const registry_id$g = cooptypes.Cooperative.Registry.ResultContributionAct.registry_id;
2265
+ const Schema$g = {
2266
2266
  type: "object",
2267
2267
  properties: {
2268
2268
  meta: IMetaJSONSchema,
@@ -2270,83 +2270,35 @@ const Schema$i = {
2270
2270
  vars: VarsSchema,
2271
2271
  decision: decisionSchema,
2272
2272
  common_user: CommonUserSchema,
2273
- contributor_contract_number: { type: "string" },
2274
- contributor_contract_created_at: { type: "string" },
2275
- blagorost_agreement_number: { type: "string" },
2276
- blagorost_agreement_created_at: { type: "string" },
2277
- result_act_hash: { type: "string" },
2278
- result_act_short_hash: { type: "string" },
2279
- result_hash: { type: "string" },
2280
- percent_of_result: { type: "string" },
2281
- total_amount: { type: "string" }
2282
- },
2283
- required: ["meta", "coop", "vars", "decision", "common_user", "contributor_contract_number", "contributor_contract_created_at", "blagorost_agreement_number", "blagorost_agreement_created_at", "result_act_hash", "result_act_short_hash", "result_hash", "percent_of_result", "total_amount"],
2284
- additionalProperties: true
2285
- };
2286
- const Template$i = {
2287
- title: cooptypes.Cooperative.Registry.ResultContributionAct.title,
2288
- description: cooptypes.Cooperative.Registry.ResultContributionAct.description,
2289
- model: Schema$i,
2290
- context: cooptypes.Cooperative.Registry.ResultContributionAct.context,
2291
- translations: cooptypes.Cooperative.Registry.ResultContributionAct.translations
2292
- };
2293
-
2294
- const ResultContributionAct = {
2295
- __proto__: null,
2296
- Schema: Schema$i,
2297
- Template: Template$i,
2298
- registry_id: registry_id$i
2299
- };
2300
-
2301
- const registry_id$h = cooptypes.Cooperative.Registry.GetLoanStatement.registry_id;
2302
- const Schema$h = {
2303
- type: "object",
2304
- properties: {
2305
- meta: IMetaJSONSchema
2306
- },
2307
- required: ["meta"],
2308
- additionalProperties: true
2309
- };
2310
- const Template$h = {
2311
- title: cooptypes.Cooperative.Registry.GetLoanStatement.title,
2312
- description: cooptypes.Cooperative.Registry.GetLoanStatement.description,
2313
- model: Schema$h,
2314
- context: cooptypes.Cooperative.Registry.GetLoanStatement.context,
2315
- translations: cooptypes.Cooperative.Registry.GetLoanStatement.translations
2316
- };
2317
-
2318
- const GetLoanStatement = {
2319
- __proto__: null,
2320
- Schema: Schema$h,
2321
- Template: Template$h,
2322
- registry_id: registry_id$h
2323
- };
2324
-
2325
- const registry_id$g = cooptypes.Cooperative.Registry.GetLoanDecision.registry_id;
2326
- const Schema$g = {
2327
- type: "object",
2328
- properties: {
2329
- meta: IMetaJSONSchema
2273
+ contributor_contract_number: { type: "string" },
2274
+ contributor_contract_created_at: { type: "string" },
2275
+ blagorost_agreement_number: { type: "string" },
2276
+ blagorost_agreement_created_at: { type: "string" },
2277
+ result_act_hash: { type: "string" },
2278
+ result_act_short_hash: { type: "string" },
2279
+ result_hash: { type: "string" },
2280
+ percent_of_result: { type: "string" },
2281
+ total_amount: { type: "string" }
2330
2282
  },
2331
- required: ["meta"],
2283
+ required: ["meta", "coop", "vars", "decision", "common_user", "contributor_contract_number", "contributor_contract_created_at", "blagorost_agreement_number", "blagorost_agreement_created_at", "result_act_hash", "result_act_short_hash", "result_hash", "percent_of_result", "total_amount"],
2332
2284
  additionalProperties: true
2333
2285
  };
2334
2286
  const Template$g = {
2335
- title: cooptypes.Cooperative.Registry.GetLoanDecision.title,
2336
- description: cooptypes.Cooperative.Registry.GetLoanDecision.description,
2287
+ title: cooptypes.Cooperative.Registry.ResultContributionAct.title,
2288
+ description: cooptypes.Cooperative.Registry.ResultContributionAct.description,
2337
2289
  model: Schema$g,
2338
- context: cooptypes.Cooperative.Registry.GetLoanDecision.context,
2339
- translations: cooptypes.Cooperative.Registry.GetLoanDecision.translations
2290
+ context: cooptypes.Cooperative.Registry.ResultContributionAct.context,
2291
+ translations: cooptypes.Cooperative.Registry.ResultContributionAct.translations
2340
2292
  };
2341
2293
 
2342
- const GetLoanDecision = {
2294
+ const ResultContributionAct = {
2343
2295
  __proto__: null,
2344
2296
  Schema: Schema$g,
2345
2297
  Template: Template$g,
2346
2298
  registry_id: registry_id$g
2347
2299
  };
2348
2300
 
2349
- const registry_id$f = cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.registry_id;
2301
+ const registry_id$f = cooptypes.Cooperative.Registry.GetLoanStatement.registry_id;
2350
2302
  const Schema$f = {
2351
2303
  type: "object",
2352
2304
  properties: {
@@ -2356,21 +2308,21 @@ const Schema$f = {
2356
2308
  additionalProperties: true
2357
2309
  };
2358
2310
  const Template$f = {
2359
- title: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.title,
2360
- description: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.description,
2311
+ title: cooptypes.Cooperative.Registry.GetLoanStatement.title,
2312
+ description: cooptypes.Cooperative.Registry.GetLoanStatement.description,
2361
2313
  model: Schema$f,
2362
- context: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.context,
2363
- translations: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.translations
2314
+ context: cooptypes.Cooperative.Registry.GetLoanStatement.context,
2315
+ translations: cooptypes.Cooperative.Registry.GetLoanStatement.translations
2364
2316
  };
2365
2317
 
2366
- const GenerationPropertyInvestStatement = {
2318
+ const GetLoanStatement = {
2367
2319
  __proto__: null,
2368
2320
  Schema: Schema$f,
2369
2321
  Template: Template$f,
2370
2322
  registry_id: registry_id$f
2371
2323
  };
2372
2324
 
2373
- const registry_id$e = cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.registry_id;
2325
+ const registry_id$e = cooptypes.Cooperative.Registry.GetLoanDecision.registry_id;
2374
2326
  const Schema$e = {
2375
2327
  type: "object",
2376
2328
  properties: {
@@ -2380,21 +2332,21 @@ const Schema$e = {
2380
2332
  additionalProperties: true
2381
2333
  };
2382
2334
  const Template$e = {
2383
- title: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.title,
2384
- description: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.description,
2335
+ title: cooptypes.Cooperative.Registry.GetLoanDecision.title,
2336
+ description: cooptypes.Cooperative.Registry.GetLoanDecision.description,
2385
2337
  model: Schema$e,
2386
- context: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.context,
2387
- translations: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.translations
2338
+ context: cooptypes.Cooperative.Registry.GetLoanDecision.context,
2339
+ translations: cooptypes.Cooperative.Registry.GetLoanDecision.translations
2388
2340
  };
2389
2341
 
2390
- const GenerationPropertyInvestDecision = {
2342
+ const GetLoanDecision = {
2391
2343
  __proto__: null,
2392
2344
  Schema: Schema$e,
2393
2345
  Template: Template$e,
2394
2346
  registry_id: registry_id$e
2395
2347
  };
2396
2348
 
2397
- const registry_id$d = cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.registry_id;
2349
+ const registry_id$d = cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.registry_id;
2398
2350
  const Schema$d = {
2399
2351
  type: "object",
2400
2352
  properties: {
@@ -2404,21 +2356,21 @@ const Schema$d = {
2404
2356
  additionalProperties: true
2405
2357
  };
2406
2358
  const Template$d = {
2407
- title: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.title,
2408
- description: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.description,
2359
+ title: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.title,
2360
+ description: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.description,
2409
2361
  model: Schema$d,
2410
- context: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.context,
2411
- translations: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.translations
2362
+ context: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.context,
2363
+ translations: cooptypes.Cooperative.Registry.GenerationPropertyInvestStatement.translations
2412
2364
  };
2413
2365
 
2414
- const GenerationPropertyInvestAct = {
2366
+ const GenerationPropertyInvestStatement = {
2415
2367
  __proto__: null,
2416
2368
  Schema: Schema$d,
2417
2369
  Template: Template$d,
2418
2370
  registry_id: registry_id$d
2419
2371
  };
2420
2372
 
2421
- const registry_id$c = cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.registry_id;
2373
+ const registry_id$c = cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.registry_id;
2422
2374
  const Schema$c = {
2423
2375
  type: "object",
2424
2376
  properties: {
@@ -2428,21 +2380,21 @@ const Schema$c = {
2428
2380
  additionalProperties: true
2429
2381
  };
2430
2382
  const Template$c = {
2431
- title: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.title,
2432
- description: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.description,
2383
+ title: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.title,
2384
+ description: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.description,
2433
2385
  model: Schema$c,
2434
- context: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.context,
2435
- translations: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.translations
2386
+ context: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.context,
2387
+ translations: cooptypes.Cooperative.Registry.GenerationPropertyInvestDecision.translations
2436
2388
  };
2437
2389
 
2438
- const CapitalizationPropertyInvestStatement = {
2390
+ const GenerationPropertyInvestDecision = {
2439
2391
  __proto__: null,
2440
2392
  Schema: Schema$c,
2441
2393
  Template: Template$c,
2442
2394
  registry_id: registry_id$c
2443
2395
  };
2444
2396
 
2445
- const registry_id$b = cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.registry_id;
2397
+ const registry_id$b = cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.registry_id;
2446
2398
  const Schema$b = {
2447
2399
  type: "object",
2448
2400
  properties: {
@@ -2452,21 +2404,21 @@ const Schema$b = {
2452
2404
  additionalProperties: true
2453
2405
  };
2454
2406
  const Template$b = {
2455
- title: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.title,
2456
- description: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.description,
2407
+ title: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.title,
2408
+ description: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.description,
2457
2409
  model: Schema$b,
2458
- context: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.context,
2459
- translations: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.translations
2410
+ context: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.context,
2411
+ translations: cooptypes.Cooperative.Registry.GenerationPropertyInvestAct.translations
2460
2412
  };
2461
2413
 
2462
- const CapitalizationPropertyInvestDecision = {
2414
+ const GenerationPropertyInvestAct = {
2463
2415
  __proto__: null,
2464
2416
  Schema: Schema$b,
2465
2417
  Template: Template$b,
2466
2418
  registry_id: registry_id$b
2467
2419
  };
2468
2420
 
2469
- const registry_id$a = cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.registry_id;
2421
+ const registry_id$a = cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.registry_id;
2470
2422
  const Schema$a = {
2471
2423
  type: "object",
2472
2424
  properties: {
@@ -2476,58 +2428,45 @@ const Schema$a = {
2476
2428
  additionalProperties: true
2477
2429
  };
2478
2430
  const Template$a = {
2479
- title: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.title,
2480
- description: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.description,
2431
+ title: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.title,
2432
+ description: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.description,
2481
2433
  model: Schema$a,
2482
- context: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.context,
2483
- translations: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.translations
2434
+ context: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.context,
2435
+ translations: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestStatement.translations
2484
2436
  };
2485
2437
 
2486
- const CapitalizationPropertyInvestAct = {
2438
+ const CapitalizationPropertyInvestStatement = {
2487
2439
  __proto__: null,
2488
2440
  Schema: Schema$a,
2489
2441
  Template: Template$a,
2490
2442
  registry_id: registry_id$a
2491
2443
  };
2492
2444
 
2493
- const registry_id$9 = cooptypes.Cooperative.Registry.GenerationToMainWalletConvertStatement.registry_id;
2445
+ const registry_id$9 = cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.registry_id;
2494
2446
  const Schema$9 = {
2495
2447
  type: "object",
2496
2448
  properties: {
2497
- meta: IMetaJSONSchema,
2498
- coop: CooperativeSchema,
2499
- vars: VarsSchema,
2500
- common_user: CommonUserSchema,
2501
- contributor_contract_number: { type: "string" },
2502
- contributor_contract_created_at: { type: "string" },
2503
- appendix_hash: { type: "string" },
2504
- appendix_short_hash: { type: "string" },
2505
- project_hash: { type: "string" },
2506
- project_short_hash: { type: "string" },
2507
- main_wallet_amount: { type: "string" },
2508
- blagorost_wallet_amount: { type: "string" },
2509
- to_wallet: { type: "boolean" },
2510
- to_blagorost: { type: "boolean" }
2449
+ meta: IMetaJSONSchema
2511
2450
  },
2512
- required: ["meta", "coop", "vars", "common_user", "contributor_contract_number", "contributor_contract_created_at", "appendix_hash", "appendix_short_hash", "project_hash", "project_short_hash", "main_wallet_amount", "blagorost_wallet_amount", "to_wallet", "to_blagorost"],
2451
+ required: ["meta"],
2513
2452
  additionalProperties: true
2514
2453
  };
2515
2454
  const Template$9 = {
2516
- title: cooptypes.Cooperative.Registry.GenerationToMainWalletConvertStatement.title,
2517
- description: cooptypes.Cooperative.Registry.GenerationToMainWalletConvertStatement.description,
2455
+ title: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.title,
2456
+ description: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.description,
2518
2457
  model: Schema$9,
2519
- context: cooptypes.Cooperative.Registry.GenerationToMainWalletConvertStatement.context,
2520
- translations: cooptypes.Cooperative.Registry.GenerationToMainWalletConvertStatement.translations
2458
+ context: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.context,
2459
+ translations: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestDecision.translations
2521
2460
  };
2522
2461
 
2523
- const GenerationToMainWalletConvertStatement = {
2462
+ const CapitalizationPropertyInvestDecision = {
2524
2463
  __proto__: null,
2525
2464
  Schema: Schema$9,
2526
2465
  Template: Template$9,
2527
2466
  registry_id: registry_id$9
2528
2467
  };
2529
2468
 
2530
- const registry_id$8 = cooptypes.Cooperative.Registry.GenerationToProjectConvertStatement.registry_id;
2469
+ const registry_id$8 = cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.registry_id;
2531
2470
  const Schema$8 = {
2532
2471
  type: "object",
2533
2472
  properties: {
@@ -2537,38 +2476,51 @@ const Schema$8 = {
2537
2476
  additionalProperties: true
2538
2477
  };
2539
2478
  const Template$8 = {
2540
- title: cooptypes.Cooperative.Registry.GenerationToProjectConvertStatement.title,
2541
- description: cooptypes.Cooperative.Registry.GenerationToProjectConvertStatement.description,
2479
+ title: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.title,
2480
+ description: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.description,
2542
2481
  model: Schema$8,
2543
- context: cooptypes.Cooperative.Registry.GenerationToProjectConvertStatement.context,
2544
- translations: cooptypes.Cooperative.Registry.GenerationToProjectConvertStatement.translations
2482
+ context: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.context,
2483
+ translations: cooptypes.Cooperative.Registry.CapitalizationPropertyInvestAct.translations
2545
2484
  };
2546
2485
 
2547
- const GenerationToProjectConvertStatement = {
2486
+ const CapitalizationPropertyInvestAct = {
2548
2487
  __proto__: null,
2549
2488
  Schema: Schema$8,
2550
2489
  Template: Template$8,
2551
2490
  registry_id: registry_id$8
2552
2491
  };
2553
2492
 
2554
- const registry_id$7 = cooptypes.Cooperative.Registry.GenerationToCapitalizationConvertStatement.registry_id;
2493
+ const registry_id$7 = cooptypes.Cooperative.Registry.GenerationConvertStatement.registry_id;
2555
2494
  const Schema$7 = {
2556
2495
  type: "object",
2557
2496
  properties: {
2558
- meta: IMetaJSONSchema
2497
+ meta: IMetaJSONSchema,
2498
+ coop: CooperativeSchema,
2499
+ vars: VarsSchema,
2500
+ common_user: CommonUserSchema,
2501
+ contributor_contract_number: { type: "string" },
2502
+ contributor_contract_created_at: { type: "string" },
2503
+ appendix_hash: { type: "string" },
2504
+ appendix_short_hash: { type: "string" },
2505
+ project_hash: { type: "string" },
2506
+ project_short_hash: { type: "string" },
2507
+ main_wallet_amount: { type: "string" },
2508
+ blagorost_wallet_amount: { type: "string" },
2509
+ to_wallet: { type: "boolean" },
2510
+ to_blagorost: { type: "boolean" }
2559
2511
  },
2560
- required: ["meta"],
2512
+ required: ["meta", "coop", "vars", "common_user", "contributor_contract_number", "contributor_contract_created_at", "appendix_hash", "appendix_short_hash", "project_hash", "project_short_hash", "main_wallet_amount", "blagorost_wallet_amount", "to_wallet", "to_blagorost"],
2561
2513
  additionalProperties: true
2562
2514
  };
2563
2515
  const Template$7 = {
2564
- title: cooptypes.Cooperative.Registry.GenerationToCapitalizationConvertStatement.title,
2565
- description: cooptypes.Cooperative.Registry.GenerationToCapitalizationConvertStatement.description,
2516
+ title: cooptypes.Cooperative.Registry.GenerationConvertStatement.title,
2517
+ description: cooptypes.Cooperative.Registry.GenerationConvertStatement.description,
2566
2518
  model: Schema$7,
2567
- context: cooptypes.Cooperative.Registry.GenerationToCapitalizationConvertStatement.context,
2568
- translations: cooptypes.Cooperative.Registry.GenerationToCapitalizationConvertStatement.translations
2519
+ context: cooptypes.Cooperative.Registry.GenerationConvertStatement.context,
2520
+ translations: cooptypes.Cooperative.Registry.GenerationConvertStatement.translations
2569
2521
  };
2570
2522
 
2571
- const GenerationToCapitalizationConvertStatement = {
2523
+ const GenerationConvertStatement = {
2572
2524
  __proto__: null,
2573
2525
  Schema: Schema$7,
2574
2526
  Template: Template$7,
@@ -2871,9 +2823,7 @@ const Registry = {
2871
2823
  1070: CapitalizationPropertyInvestStatement,
2872
2824
  1071: CapitalizationPropertyInvestDecision,
2873
2825
  1072: CapitalizationPropertyInvestAct,
2874
- 1080: GenerationToMainWalletConvertStatement,
2875
- 1081: GenerationToProjectConvertStatement,
2876
- 1082: GenerationToCapitalizationConvertStatement,
2826
+ 1080: GenerationConvertStatement,
2877
2827
  1090: CapitalizationToMainWalletConvertStatement
2878
2828
  };
2879
2829
 
@@ -4156,7 +4106,7 @@ class PDFService {
4156
4106
 
4157
4107
  const name = "@coopenomics/factory";
4158
4108
  const type = "module";
4159
- const version = "2026.5.15-5";
4109
+ const version = "2026.5.19-2";
4160
4110
  const description = "Фабрика юридических документов кооператива";
4161
4111
  const author = "Alex Ant <chairman.voskhod@gmail.com>";
4162
4112
  const license = "MIT";
@@ -4206,7 +4156,7 @@ const dependencies = {
4206
4156
  "ajv-formats": "^3.0.1",
4207
4157
  "ajv-i18n": "^4.2.0",
4208
4158
  axios: "^1.13.5",
4209
- cooptypes: "2026.5.15-5",
4159
+ cooptypes: "2026.5.19-2",
4210
4160
  dotenv: "^16.4.5",
4211
4161
  "eosjs-ecc": "^4.0.7",
4212
4162
  handlebars: "^4.7.8",
@@ -4238,7 +4188,7 @@ const devDependencies = {
4238
4188
  vite: "^5.2.11",
4239
4189
  vitest: "^1.6.0"
4240
4190
  };
4241
- const gitHead = "d35ec2680a873445bcb5d301aa87feae35a33fe4";
4191
+ const gitHead = "b973baef03cc79036738378d40f162726366bab5";
4242
4192
  const packageJson = {
4243
4193
  name: name,
4244
4194
  type: type,
@@ -4774,11 +4724,26 @@ class DocFactory {
4774
4724
  ...restParams
4775
4725
  };
4776
4726
  }
4727
+ /**
4728
+ * Truncate (toward-zero) числовой строки до displayPrecision знаков
4729
+ * на уровне строки — без FP-погрешности (0.29 * 100 = 28.999... в IEEE 754).
4730
+ * Принцип: «никогда не показать в документе сумму больше реальной».
4731
+ */
4732
+ truncateDecimal(numericStr, displayPrecision) {
4733
+ const negative = numericStr.startsWith("-");
4734
+ const abs = negative ? numericStr.slice(1) : numericStr;
4735
+ const [intPartRaw, decPartRaw = ""] = abs.split(".");
4736
+ const intPart = intPartRaw || "0";
4737
+ const decPart = decPartRaw.padEnd(displayPrecision, "0").slice(0, displayPrecision);
4738
+ const result = displayPrecision > 0 ? `${intPart}.${decPart}` : intPart;
4739
+ return negative ? `-${result}` : result;
4740
+ }
4777
4741
  formatShare(value, precision = 2) {
4778
- const parsed = typeof value === "string" ? Number.parseFloat(value) : value;
4742
+ const str = typeof value === "string" ? value : value.toString();
4743
+ const parsed = Number.parseFloat(str);
4779
4744
  if (Number.isNaN(parsed))
4780
4745
  return typeof value === "string" ? value : value.toString();
4781
- return parsed.toFixed(precision);
4746
+ return this.truncateDecimal(parsed.toFixed(precision + 4), precision);
4782
4747
  }
4783
4748
  formatAsset(asset, precision = 2) {
4784
4749
  if (!asset)
@@ -4787,7 +4752,7 @@ class DocFactory {
4787
4752
  if (!match)
4788
4753
  return asset;
4789
4754
  const [, amount, symbol] = match;
4790
- return `${Number.parseFloat(amount).toFixed(precision)} ${symbol}`;
4755
+ return `${this.truncateDecimal(amount, precision)} ${symbol}`;
4791
4756
  }
4792
4757
  formatPaymentDetails(paymentMethod, recipientName) {
4793
4758
  switch (paymentMethod.method_type) {
@@ -4810,16 +4775,16 @@ class DocFactory {
4810
4775
  }
4811
4776
  }
4812
4777
 
4813
- let Factory$W = class Factory extends DocFactory {
4778
+ let Factory$U = class Factory extends DocFactory {
4814
4779
  constructor(storage) {
4815
4780
  super(storage);
4816
4781
  }
4817
4782
  async generateDocument(data, options) {
4818
4783
  let template;
4819
4784
  if (process.env.SOURCE === "local") {
4820
- template = Template$W;
4785
+ template = Template$U;
4821
4786
  } else {
4822
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$W, data.block_num);
4787
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$U, data.block_num);
4823
4788
  }
4824
4789
  const meta = await super.getMeta({ title: template.title, ...data });
4825
4790
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -4838,16 +4803,16 @@ let Factory$W = class Factory extends DocFactory {
4838
4803
  }
4839
4804
  };
4840
4805
 
4841
- let Factory$V = class Factory extends DocFactory {
4806
+ let Factory$T = class Factory extends DocFactory {
4842
4807
  constructor(storage) {
4843
4808
  super(storage);
4844
4809
  }
4845
4810
  async generateDocument(data, options) {
4846
4811
  let template;
4847
4812
  if (process.env.SOURCE === "local") {
4848
- template = Template$V;
4813
+ template = Template$T;
4849
4814
  } else {
4850
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$V, data.block_num);
4815
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$T, data.block_num);
4851
4816
  }
4852
4817
  const meta = await super.getMeta({ title: template.title, ...data });
4853
4818
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -4866,16 +4831,16 @@ let Factory$V = class Factory extends DocFactory {
4866
4831
  }
4867
4832
  };
4868
4833
 
4869
- let Factory$U = class Factory extends DocFactory {
4834
+ let Factory$S = class Factory extends DocFactory {
4870
4835
  constructor(storage) {
4871
4836
  super(storage);
4872
4837
  }
4873
4838
  async generateDocument(data, options) {
4874
4839
  let template;
4875
4840
  if (process.env.SOURCE === "local") {
4876
- template = Template$U;
4841
+ template = Template$S;
4877
4842
  } else {
4878
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$U, data.block_num);
4843
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$S, data.block_num);
4879
4844
  }
4880
4845
  const meta = await super.getMeta({ title: template.title, ...data });
4881
4846
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -4894,16 +4859,16 @@ let Factory$U = class Factory extends DocFactory {
4894
4859
  }
4895
4860
  };
4896
4861
 
4897
- let Factory$T = class Factory extends DocFactory {
4862
+ let Factory$R = class Factory extends DocFactory {
4898
4863
  constructor(storage) {
4899
4864
  super(storage);
4900
4865
  }
4901
4866
  async generateDocument(data, options) {
4902
4867
  let template;
4903
4868
  if (process.env.SOURCE === "local") {
4904
- template = Template$T;
4869
+ template = Template$R;
4905
4870
  } else {
4906
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$T, data.block_num);
4871
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$R, data.block_num);
4907
4872
  }
4908
4873
  const meta = await super.getMeta({ title: template.title, ...data });
4909
4874
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -4927,16 +4892,16 @@ let Factory$T = class Factory extends DocFactory {
4927
4892
  }
4928
4893
  };
4929
4894
 
4930
- let Factory$S = class Factory extends DocFactory {
4895
+ let Factory$Q = class Factory extends DocFactory {
4931
4896
  constructor(storage) {
4932
4897
  super(storage);
4933
4898
  }
4934
4899
  async generateDocument(data, options) {
4935
4900
  let template;
4936
4901
  if (process.env.SOURCE === "local") {
4937
- template = Template$S;
4902
+ template = Template$Q;
4938
4903
  } else {
4939
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$S, data.block_num);
4904
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$Q, data.block_num);
4940
4905
  }
4941
4906
  const meta = await super.getMeta({ title: template.title, ...data });
4942
4907
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -4955,16 +4920,16 @@ let Factory$S = class Factory extends DocFactory {
4955
4920
  }
4956
4921
  };
4957
4922
 
4958
- let Factory$R = class Factory extends DocFactory {
4923
+ let Factory$P = class Factory extends DocFactory {
4959
4924
  constructor(storage) {
4960
4925
  super(storage);
4961
4926
  }
4962
4927
  async generateDocument(data, options) {
4963
4928
  let template;
4964
4929
  if (process.env.SOURCE === "local") {
4965
- template = Template$R;
4930
+ template = Template$P;
4966
4931
  } else {
4967
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$R, data.block_num);
4932
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$P, data.block_num);
4968
4933
  }
4969
4934
  const meta = await super.getMeta({ title: template.title, ...data });
4970
4935
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -4984,16 +4949,16 @@ let Factory$R = class Factory extends DocFactory {
4984
4949
  }
4985
4950
  };
4986
4951
 
4987
- let Factory$Q = class Factory extends DocFactory {
4952
+ let Factory$O = class Factory extends DocFactory {
4988
4953
  constructor(storage) {
4989
4954
  super(storage);
4990
4955
  }
4991
4956
  async generateDocument(data, _options) {
4992
4957
  let template;
4993
4958
  if (process.env.SOURCE === "local") {
4994
- template = Template$O;
4959
+ template = Template$M;
4995
4960
  } else {
4996
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$O, data.block_num);
4961
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$M, data.block_num);
4997
4962
  }
4998
4963
  const user = await super.getUser(data.username, data.block_num);
4999
4964
  const userData = {
@@ -5017,16 +4982,16 @@ let Factory$Q = class Factory extends DocFactory {
5017
4982
  }
5018
4983
  };
5019
4984
 
5020
- let Factory$P = class Factory extends DocFactory {
4985
+ let Factory$N = class Factory extends DocFactory {
5021
4986
  constructor(storage) {
5022
4987
  super(storage);
5023
4988
  }
5024
4989
  async generateDocument(data, _options) {
5025
4990
  let template;
5026
4991
  if (process.env.SOURCE === "local") {
5027
- template = Template$Q;
4992
+ template = Template$O;
5028
4993
  } else {
5029
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$Q, data.block_num);
4994
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$O, data.block_num);
5030
4995
  }
5031
4996
  const user = await super.getUser(data.username, data.block_num);
5032
4997
  let bank_account = {};
@@ -5089,16 +5054,16 @@ let Factory$P = class Factory extends DocFactory {
5089
5054
  }
5090
5055
  };
5091
5056
 
5092
- let Factory$O = class Factory extends DocFactory {
5057
+ let Factory$M = class Factory extends DocFactory {
5093
5058
  constructor(storage) {
5094
5059
  super(storage);
5095
5060
  }
5096
5061
  async generateDocument(data, options) {
5097
5062
  let template;
5098
5063
  if (process.env.SOURCE === "local") {
5099
- template = Template$P;
5064
+ template = Template$N;
5100
5065
  } else {
5101
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$P, data.block_num);
5066
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$N, data.block_num);
5102
5067
  }
5103
5068
  const user = await super.getUser(data.username, data.block_num);
5104
5069
  const userData = {
@@ -5138,16 +5103,16 @@ let Factory$O = class Factory extends DocFactory {
5138
5103
  }
5139
5104
  };
5140
5105
 
5141
- let Factory$N = class Factory extends DocFactory {
5106
+ let Factory$L = class Factory extends DocFactory {
5142
5107
  constructor(storage) {
5143
5108
  super(storage);
5144
5109
  }
5145
5110
  async generateDocument(data, options) {
5146
5111
  let template;
5147
5112
  if (process.env.SOURCE === "local") {
5148
- template = Template$N;
5113
+ template = Template$L;
5149
5114
  } else {
5150
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$N, data.block_num);
5115
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$L, data.block_num);
5151
5116
  }
5152
5117
  const user = await this.getUser(data.username, data.block_num);
5153
5118
  const suggester_name = await this.getFullName(user.data);
@@ -5184,16 +5149,16 @@ let Factory$N = class Factory extends DocFactory {
5184
5149
  }
5185
5150
  };
5186
5151
 
5187
- let Factory$M = class Factory extends DocFactory {
5152
+ let Factory$K = class Factory extends DocFactory {
5188
5153
  constructor(storage) {
5189
5154
  super(storage);
5190
5155
  }
5191
5156
  async generateDocument(data, options) {
5192
5157
  let template;
5193
5158
  if (process.env.SOURCE === "local") {
5194
- template = Template$M;
5159
+ template = Template$K;
5195
5160
  } else {
5196
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$M, data.block_num);
5161
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$K, data.block_num);
5197
5162
  }
5198
5163
  const user = await this.getUser(data.username, data.block_num);
5199
5164
  const userData = {
@@ -5236,16 +5201,16 @@ let Factory$M = class Factory extends DocFactory {
5236
5201
  }
5237
5202
  };
5238
5203
 
5239
- let Factory$L = class Factory extends DocFactory {
5204
+ let Factory$J = class Factory extends DocFactory {
5240
5205
  constructor(storage) {
5241
5206
  super(storage);
5242
5207
  }
5243
5208
  async generateDocument(data, options) {
5244
5209
  let template;
5245
5210
  if (process.env.SOURCE === "local") {
5246
- template = Template$L;
5211
+ template = Template$J;
5247
5212
  } else {
5248
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$L, data.block_num);
5213
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$J, data.block_num);
5249
5214
  }
5250
5215
  const meta = await super.getMeta({ title: template.title, ...data });
5251
5216
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -5267,16 +5232,16 @@ let Factory$L = class Factory extends DocFactory {
5267
5232
  }
5268
5233
  };
5269
5234
 
5270
- let Factory$K = class Factory extends DocFactory {
5235
+ let Factory$I = class Factory extends DocFactory {
5271
5236
  constructor(storage) {
5272
5237
  super(storage);
5273
5238
  }
5274
5239
  async generateDocument(data, options) {
5275
5240
  let template;
5276
5241
  if (process.env.SOURCE === "local") {
5277
- template = Template$K;
5242
+ template = Template$I;
5278
5243
  } else {
5279
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$K, data.block_num);
5244
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$I, data.block_num);
5280
5245
  }
5281
5246
  const meta = await this.getMeta({ title: template.title, ...data });
5282
5247
  const coop = await this.getCooperative(data.coopname, data.block_num);
@@ -5298,7 +5263,7 @@ let Factory$K = class Factory extends DocFactory {
5298
5263
  }
5299
5264
  };
5300
5265
 
5301
- let Factory$J = class Factory extends DocFactory {
5266
+ let Factory$H = class Factory extends DocFactory {
5302
5267
  constructor(storage) {
5303
5268
  super(storage);
5304
5269
  }
@@ -5325,16 +5290,16 @@ let Factory$J = class Factory extends DocFactory {
5325
5290
  }
5326
5291
  };
5327
5292
 
5328
- let Factory$I = class Factory extends DocFactory {
5293
+ let Factory$G = class Factory extends DocFactory {
5329
5294
  constructor(storage) {
5330
5295
  super(storage);
5331
5296
  }
5332
5297
  async generateDocument(data, options) {
5333
5298
  let template;
5334
5299
  if (process.env.SOURCE === "local") {
5335
- template = Template$J;
5300
+ template = Template$H;
5336
5301
  } else {
5337
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$J, data.block_num);
5302
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$H, data.block_num);
5338
5303
  }
5339
5304
  const meta = await this.getMeta({ title: template.title, ...data });
5340
5305
  const coop = await this.getCooperative(data.coopname, data.block_num);
@@ -5358,16 +5323,16 @@ let Factory$I = class Factory extends DocFactory {
5358
5323
  }
5359
5324
  };
5360
5325
 
5361
- let Factory$H = class Factory extends DocFactory {
5326
+ let Factory$F = class Factory extends DocFactory {
5362
5327
  constructor(storage) {
5363
5328
  super(storage);
5364
5329
  }
5365
5330
  async generateDocument(data, options) {
5366
5331
  let template;
5367
5332
  if (process.env.SOURCE === "local") {
5368
- template = Template$H;
5333
+ template = Template$F;
5369
5334
  } else {
5370
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$H, data.block_num);
5335
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$F, data.block_num);
5371
5336
  }
5372
5337
  const meta = await this.getMeta({ title: template.title, ...data });
5373
5338
  const coop = await this.getCooperative(data.coopname, data.block_num);
@@ -5402,16 +5367,16 @@ let Factory$H = class Factory extends DocFactory {
5402
5367
  }
5403
5368
  };
5404
5369
 
5405
- let Factory$G = class Factory extends DocFactory {
5370
+ let Factory$E = class Factory extends DocFactory {
5406
5371
  constructor(storage) {
5407
5372
  super(storage);
5408
5373
  }
5409
5374
  async generateDocument(data, options) {
5410
5375
  let template;
5411
5376
  if (process.env.SOURCE === "local") {
5412
- template = Template$I;
5377
+ template = Template$G;
5413
5378
  } else {
5414
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$I, data.block_num);
5379
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$G, data.block_num);
5415
5380
  }
5416
5381
  const meta = await this.getMeta({ title: template.title, ...data });
5417
5382
  const coop = await this.getCooperative(data.coopname, data.block_num);
@@ -5435,16 +5400,16 @@ let Factory$G = class Factory extends DocFactory {
5435
5400
  }
5436
5401
  };
5437
5402
 
5438
- let Factory$F = class Factory extends DocFactory {
5403
+ let Factory$D = class Factory extends DocFactory {
5439
5404
  constructor(storage) {
5440
5405
  super(storage);
5441
5406
  }
5442
5407
  async generateDocument(data, options) {
5443
5408
  let template;
5444
5409
  if (process.env.SOURCE === "local") {
5445
- template = Template$G;
5410
+ template = Template$E;
5446
5411
  } else {
5447
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$G, data.block_num);
5412
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$E, data.block_num);
5448
5413
  }
5449
5414
  const meta = await this.getMeta({ title: template.title, ...data });
5450
5415
  const coop = await this.getCooperative(data.coopname, data.block_num);
@@ -5479,16 +5444,16 @@ let Factory$F = class Factory extends DocFactory {
5479
5444
  }
5480
5445
  };
5481
5446
 
5482
- let Factory$E = class Factory extends DocFactory {
5447
+ let Factory$C = class Factory extends DocFactory {
5483
5448
  constructor(storage) {
5484
5449
  super(storage);
5485
5450
  }
5486
5451
  async generateDocument(data, options) {
5487
5452
  let template;
5488
5453
  if (process.env.SOURCE === "local") {
5489
- template = Template$F;
5454
+ template = Template$D;
5490
5455
  } else {
5491
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$F, data.block_num);
5456
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$D, data.block_num);
5492
5457
  }
5493
5458
  console.log(data);
5494
5459
  const meta = await this.getMeta({ title: template.title, ...data });
@@ -5522,16 +5487,16 @@ let Factory$E = class Factory extends DocFactory {
5522
5487
  }
5523
5488
  };
5524
5489
 
5525
- let Factory$D = class Factory extends DocFactory {
5490
+ let Factory$B = class Factory extends DocFactory {
5526
5491
  constructor(storage) {
5527
5492
  super(storage);
5528
5493
  }
5529
5494
  async generateDocument(data, options) {
5530
5495
  let template;
5531
5496
  if (process.env.SOURCE === "local") {
5532
- template = Template$E;
5497
+ template = Template$C;
5533
5498
  } else {
5534
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$E, data.block_num);
5499
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$C, data.block_num);
5535
5500
  }
5536
5501
  const user = await super.getUser(data.username, data.block_num);
5537
5502
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -5569,14 +5534,14 @@ let Factory$D = class Factory extends DocFactory {
5569
5534
  }
5570
5535
  };
5571
5536
 
5572
- let Factory$C = class Factory extends DocFactory {
5537
+ let Factory$A = class Factory extends DocFactory {
5573
5538
  constructor(storage) {
5574
5539
  super(storage);
5575
5540
  }
5576
5541
  async generateDocument(data, options) {
5577
5542
  let template;
5578
5543
  if (process.env.SOURCE === "local") {
5579
- template = Template$x;
5544
+ template = Template$v;
5580
5545
  } else {
5581
5546
  template = await this.getTemplate(cooptypes.DraftContract.contractName.production, 1e3, data.block_num);
5582
5547
  }
@@ -5625,16 +5590,16 @@ let Factory$C = class Factory extends DocFactory {
5625
5590
  }
5626
5591
  };
5627
5592
 
5628
- let Factory$B = class Factory extends DocFactory {
5593
+ let Factory$z = class Factory extends DocFactory {
5629
5594
  constructor(storage) {
5630
5595
  super(storage);
5631
5596
  }
5632
5597
  async generateDocument(data, options) {
5633
5598
  let template;
5634
5599
  if (process.env.SOURCE === "local") {
5635
- template = Template$w;
5600
+ template = Template$u;
5636
5601
  } else {
5637
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$w, data.block_num);
5602
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$u, data.block_num);
5638
5603
  }
5639
5604
  const meta = await this.getMeta({ title: template.title, ...data });
5640
5605
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -5670,16 +5635,16 @@ let Factory$B = class Factory extends DocFactory {
5670
5635
  }
5671
5636
  };
5672
5637
 
5673
- let Factory$A = class Factory extends DocFactory {
5638
+ let Factory$y = class Factory extends DocFactory {
5674
5639
  constructor(storage) {
5675
5640
  super(storage);
5676
5641
  }
5677
5642
  async generateDocument(data, options) {
5678
5643
  let template;
5679
5644
  if (process.env.SOURCE === "local") {
5680
- template = Template$v;
5645
+ template = Template$t;
5681
5646
  } else {
5682
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$v, data.block_num);
5647
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$t, data.block_num);
5683
5648
  }
5684
5649
  const meta = await this.getMeta({ title: template.title, ...data });
5685
5650
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -5744,16 +5709,16 @@ let Factory$A = class Factory extends DocFactory {
5744
5709
  }
5745
5710
  };
5746
5711
 
5747
- let Factory$z = class Factory extends DocFactory {
5712
+ let Factory$x = class Factory extends DocFactory {
5748
5713
  constructor(storage) {
5749
5714
  super(storage);
5750
5715
  }
5751
5716
  async generateDocument(data, options) {
5752
5717
  let template;
5753
5718
  if (process.env.SOURCE === "local") {
5754
- template = Template$u;
5719
+ template = Template$s;
5755
5720
  } else {
5756
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$u, data.block_num);
5721
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$s, data.block_num);
5757
5722
  }
5758
5723
  const meta = await this.getMeta({ title: template.title, ...data });
5759
5724
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -5820,16 +5785,16 @@ let Factory$z = class Factory extends DocFactory {
5820
5785
  }
5821
5786
  };
5822
5787
 
5823
- let Factory$y = class Factory extends DocFactory {
5788
+ let Factory$w = class Factory extends DocFactory {
5824
5789
  constructor(storage) {
5825
5790
  super(storage);
5826
5791
  }
5827
5792
  async generateDocument(data, options) {
5828
5793
  let template;
5829
5794
  if (process.env.SOURCE === "local") {
5830
- template = Template$t;
5795
+ template = Template$r;
5831
5796
  } else {
5832
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$t, data.block_num);
5797
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$r, data.block_num);
5833
5798
  }
5834
5799
  const meta = await this.getMeta({ title: template.title, ...data });
5835
5800
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -5901,16 +5866,16 @@ let Factory$y = class Factory extends DocFactory {
5901
5866
  }
5902
5867
  };
5903
5868
 
5904
- let Factory$x = class Factory extends DocFactory {
5869
+ let Factory$v = class Factory extends DocFactory {
5905
5870
  constructor(storage) {
5906
5871
  super(storage);
5907
5872
  }
5908
5873
  async generateDocument(data, options) {
5909
5874
  let template;
5910
5875
  if (process.env.SOURCE === "local") {
5911
- template = Template$s;
5876
+ template = Template$q;
5912
5877
  } else {
5913
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$s, data.block_num);
5878
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$q, data.block_num);
5914
5879
  }
5915
5880
  const meta = await this.getMeta({ title: template.title, ...data });
5916
5881
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -5962,16 +5927,16 @@ let Factory$x = class Factory extends DocFactory {
5962
5927
  }
5963
5928
  };
5964
5929
 
5965
- let Factory$w = class Factory extends DocFactory {
5930
+ let Factory$u = class Factory extends DocFactory {
5966
5931
  constructor(storage) {
5967
5932
  super(storage);
5968
5933
  }
5969
5934
  async generateDocument(data, options) {
5970
5935
  let template;
5971
5936
  if (process.env.SOURCE === "local") {
5972
- template = Template$r;
5937
+ template = Template$p;
5973
5938
  } else {
5974
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$r, data.block_num);
5939
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$p, data.block_num);
5975
5940
  }
5976
5941
  const meta = await this.getMeta({ title: template.title, ...data });
5977
5942
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -5996,16 +5961,16 @@ let Factory$w = class Factory extends DocFactory {
5996
5961
  }
5997
5962
  };
5998
5963
 
5999
- let Factory$v = class Factory extends DocFactory {
5964
+ let Factory$t = class Factory extends DocFactory {
6000
5965
  constructor(storage) {
6001
5966
  super(storage);
6002
5967
  }
6003
5968
  async generateDocument(data, options) {
6004
5969
  let template;
6005
5970
  if (process.env.SOURCE === "local") {
6006
- template = Template$q;
5971
+ template = Template$o;
6007
5972
  } else {
6008
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$q, data.block_num);
5973
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$o, data.block_num);
6009
5974
  }
6010
5975
  const user = await this.getUser(data.username, data.block_num);
6011
5976
  const userData = {
@@ -6049,16 +6014,16 @@ let Factory$v = class Factory extends DocFactory {
6049
6014
  }
6050
6015
  };
6051
6016
 
6052
- let Factory$u = class Factory extends DocFactory {
6017
+ let Factory$s = class Factory extends DocFactory {
6053
6018
  constructor(storage) {
6054
6019
  super(storage);
6055
6020
  }
6056
6021
  async generateDocument(data, options) {
6057
6022
  let template;
6058
6023
  if (process.env.SOURCE === "local") {
6059
- template = Template$p;
6024
+ template = Template$n;
6060
6025
  } else {
6061
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$p, data.block_num);
6026
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$n, data.block_num);
6062
6027
  }
6063
6028
  const meta = await this.getMeta({ title: template.title, ...data });
6064
6029
  const combinedData = { meta };
@@ -6069,16 +6034,16 @@ let Factory$u = class Factory extends DocFactory {
6069
6034
  }
6070
6035
  };
6071
6036
 
6072
- let Factory$t = class Factory extends DocFactory {
6037
+ let Factory$r = class Factory extends DocFactory {
6073
6038
  constructor(storage) {
6074
6039
  super(storage);
6075
6040
  }
6076
6041
  async generateDocument(data, options) {
6077
6042
  let template;
6078
6043
  if (process.env.SOURCE === "local") {
6079
- template = Template$o;
6044
+ template = Template$m;
6080
6045
  } else {
6081
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$o, data.block_num);
6046
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$m, data.block_num);
6082
6047
  }
6083
6048
  const meta = await this.getMeta({ title: template.title, ...data });
6084
6049
  const combinedData = { meta };
@@ -6089,16 +6054,16 @@ let Factory$t = class Factory extends DocFactory {
6089
6054
  }
6090
6055
  };
6091
6056
 
6092
- let Factory$s = class Factory extends DocFactory {
6057
+ let Factory$q = class Factory extends DocFactory {
6093
6058
  constructor(storage) {
6094
6059
  super(storage);
6095
6060
  }
6096
6061
  async generateDocument(data, options) {
6097
6062
  let template;
6098
6063
  if (process.env.SOURCE === "local") {
6099
- template = Template$n;
6064
+ template = Template$l;
6100
6065
  } else {
6101
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$n, data.block_num);
6066
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$l, data.block_num);
6102
6067
  }
6103
6068
  const meta = await this.getMeta({ title: template.title, ...data });
6104
6069
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -6164,16 +6129,16 @@ let Factory$s = class Factory extends DocFactory {
6164
6129
  }
6165
6130
  };
6166
6131
 
6167
- let Factory$r = class Factory extends DocFactory {
6132
+ let Factory$p = class Factory extends DocFactory {
6168
6133
  constructor(storage) {
6169
6134
  super(storage);
6170
6135
  }
6171
6136
  async generateDocument(data, options) {
6172
6137
  let template;
6173
6138
  if (process.env.SOURCE === "local") {
6174
- template = Template$m;
6139
+ template = Template$k;
6175
6140
  } else {
6176
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$m, data.block_num);
6141
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$k, data.block_num);
6177
6142
  }
6178
6143
  const meta = await this.getMeta({ title: template.title, ...data });
6179
6144
  const vars = await super.getVars(data.coopname, data.block_num);
@@ -6234,16 +6199,16 @@ let Factory$r = class Factory extends DocFactory {
6234
6199
  }
6235
6200
  };
6236
6201
 
6237
- let Factory$q = class Factory extends DocFactory {
6202
+ let Factory$o = class Factory extends DocFactory {
6238
6203
  constructor(storage) {
6239
6204
  super(storage);
6240
6205
  }
6241
6206
  async generateDocument(data, options) {
6242
6207
  let template;
6243
6208
  if (process.env.SOURCE === "local") {
6244
- template = Template$l;
6209
+ template = Template$j;
6245
6210
  } else {
6246
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$l, data.block_num);
6211
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$j, data.block_num);
6247
6212
  }
6248
6213
  const meta = await this.getMeta({ title: template.title, ...data });
6249
6214
  const vars = await super.getVars(data.coopname, data.block_num);
@@ -6262,16 +6227,16 @@ let Factory$q = class Factory extends DocFactory {
6262
6227
  }
6263
6228
  };
6264
6229
 
6265
- let Factory$p = class Factory extends DocFactory {
6230
+ let Factory$n = class Factory extends DocFactory {
6266
6231
  constructor(storage) {
6267
6232
  super(storage);
6268
6233
  }
6269
6234
  async generateDocument(data, options) {
6270
6235
  let template;
6271
6236
  if (process.env.SOURCE === "local") {
6272
- template = Template$k;
6237
+ template = Template$i;
6273
6238
  } else {
6274
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$k, data.block_num);
6239
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$i, data.block_num);
6275
6240
  }
6276
6241
  const meta = await this.getMeta({ title: template.title, ...data });
6277
6242
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -6338,16 +6303,16 @@ let Factory$p = class Factory extends DocFactory {
6338
6303
  }
6339
6304
  };
6340
6305
 
6341
- let Factory$o = class Factory extends DocFactory {
6306
+ let Factory$m = class Factory extends DocFactory {
6342
6307
  constructor(storage) {
6343
6308
  super(storage);
6344
6309
  }
6345
6310
  async generateDocument(data, options) {
6346
6311
  let template;
6347
6312
  if (process.env.SOURCE === "local") {
6348
- template = Template$j;
6313
+ template = Template$h;
6349
6314
  } else {
6350
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$j, data.block_num);
6315
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$h, data.block_num);
6351
6316
  }
6352
6317
  const meta = await this.getMeta({ title: template.title, ...data });
6353
6318
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -6421,16 +6386,16 @@ let Factory$o = class Factory extends DocFactory {
6421
6386
  }
6422
6387
  };
6423
6388
 
6424
- let Factory$n = class Factory extends DocFactory {
6389
+ let Factory$l = class Factory extends DocFactory {
6425
6390
  constructor(storage) {
6426
6391
  super(storage);
6427
6392
  }
6428
6393
  async generateDocument(data, options) {
6429
6394
  let template;
6430
6395
  if (process.env.SOURCE === "local") {
6431
- template = Template$i;
6396
+ template = Template$g;
6432
6397
  } else {
6433
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$i, data.block_num);
6398
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$g, data.block_num);
6434
6399
  }
6435
6400
  const meta = await this.getMeta({ title: template.title, ...data });
6436
6401
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -6498,16 +6463,16 @@ let Factory$n = class Factory extends DocFactory {
6498
6463
  }
6499
6464
  };
6500
6465
 
6501
- let Factory$m = class Factory extends DocFactory {
6466
+ let Factory$k = class Factory extends DocFactory {
6502
6467
  constructor(storage) {
6503
6468
  super(storage);
6504
6469
  }
6505
6470
  async generateDocument(data, options) {
6506
6471
  let template;
6507
6472
  if (process.env.SOURCE === "local") {
6508
- template = Template$h;
6473
+ template = Template$f;
6509
6474
  } else {
6510
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$h, data.block_num);
6475
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$f, data.block_num);
6511
6476
  }
6512
6477
  const meta = await this.getMeta({ title: template.title, ...data });
6513
6478
  const combinedData = { meta };
@@ -6518,16 +6483,16 @@ let Factory$m = class Factory extends DocFactory {
6518
6483
  }
6519
6484
  };
6520
6485
 
6521
- let Factory$l = class Factory extends DocFactory {
6486
+ let Factory$j = class Factory extends DocFactory {
6522
6487
  constructor(storage) {
6523
6488
  super(storage);
6524
6489
  }
6525
6490
  async generateDocument(data, options) {
6526
6491
  let template;
6527
6492
  if (process.env.SOURCE === "local") {
6528
- template = Template$g;
6493
+ template = Template$e;
6529
6494
  } else {
6530
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$g, data.block_num);
6495
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$e, data.block_num);
6531
6496
  }
6532
6497
  const meta = await this.getMeta({ title: template.title, ...data });
6533
6498
  const combinedData = { meta };
@@ -6538,16 +6503,16 @@ let Factory$l = class Factory extends DocFactory {
6538
6503
  }
6539
6504
  };
6540
6505
 
6541
- let Factory$k = class Factory extends DocFactory {
6506
+ let Factory$i = class Factory extends DocFactory {
6542
6507
  constructor(storage) {
6543
6508
  super(storage);
6544
6509
  }
6545
6510
  async generateDocument(data, options) {
6546
6511
  let template;
6547
6512
  if (process.env.SOURCE === "local") {
6548
- template = Template$f;
6513
+ template = Template$d;
6549
6514
  } else {
6550
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$f, data.block_num);
6515
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$d, data.block_num);
6551
6516
  }
6552
6517
  const meta = await this.getMeta({ title: template.title, ...data });
6553
6518
  const combinedData = { meta };
@@ -6558,16 +6523,16 @@ let Factory$k = class Factory extends DocFactory {
6558
6523
  }
6559
6524
  };
6560
6525
 
6561
- let Factory$j = class Factory extends DocFactory {
6526
+ let Factory$h = class Factory extends DocFactory {
6562
6527
  constructor(storage) {
6563
6528
  super(storage);
6564
6529
  }
6565
6530
  async generateDocument(data, options) {
6566
6531
  let template;
6567
6532
  if (process.env.SOURCE === "local") {
6568
- template = Template$e;
6533
+ template = Template$c;
6569
6534
  } else {
6570
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$e, data.block_num);
6535
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$c, data.block_num);
6571
6536
  }
6572
6537
  const meta = await this.getMeta({ title: template.title, ...data });
6573
6538
  const combinedData = { meta };
@@ -6578,16 +6543,16 @@ let Factory$j = class Factory extends DocFactory {
6578
6543
  }
6579
6544
  };
6580
6545
 
6581
- let Factory$i = class Factory extends DocFactory {
6546
+ let Factory$g = class Factory extends DocFactory {
6582
6547
  constructor(storage) {
6583
6548
  super(storage);
6584
6549
  }
6585
6550
  async generateDocument(data, options) {
6586
6551
  let template;
6587
6552
  if (process.env.SOURCE === "local") {
6588
- template = Template$d;
6553
+ template = Template$b;
6589
6554
  } else {
6590
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$d, data.block_num);
6555
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$b, data.block_num);
6591
6556
  }
6592
6557
  const meta = await this.getMeta({ title: template.title, ...data });
6593
6558
  const combinedData = { meta };
@@ -6598,16 +6563,16 @@ let Factory$i = class Factory extends DocFactory {
6598
6563
  }
6599
6564
  };
6600
6565
 
6601
- let Factory$h = class Factory extends DocFactory {
6566
+ let Factory$f = class Factory extends DocFactory {
6602
6567
  constructor(storage) {
6603
6568
  super(storage);
6604
6569
  }
6605
6570
  async generateDocument(data, options) {
6606
6571
  let template;
6607
6572
  if (process.env.SOURCE === "local") {
6608
- template = Template$c;
6573
+ template = Template$a;
6609
6574
  } else {
6610
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$c, data.block_num);
6575
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$a, data.block_num);
6611
6576
  }
6612
6577
  const meta = await this.getMeta({ title: template.title, ...data });
6613
6578
  const combinedData = { meta };
@@ -6618,16 +6583,16 @@ let Factory$h = class Factory extends DocFactory {
6618
6583
  }
6619
6584
  };
6620
6585
 
6621
- let Factory$g = class Factory extends DocFactory {
6586
+ let Factory$e = class Factory extends DocFactory {
6622
6587
  constructor(storage) {
6623
6588
  super(storage);
6624
6589
  }
6625
6590
  async generateDocument(data, options) {
6626
6591
  let template;
6627
6592
  if (process.env.SOURCE === "local") {
6628
- template = Template$b;
6593
+ template = Template$9;
6629
6594
  } else {
6630
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$b, data.block_num);
6595
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$9, data.block_num);
6631
6596
  }
6632
6597
  const meta = await this.getMeta({ title: template.title, ...data });
6633
6598
  const combinedData = { meta };
@@ -6638,16 +6603,16 @@ let Factory$g = class Factory extends DocFactory {
6638
6603
  }
6639
6604
  };
6640
6605
 
6641
- let Factory$f = class Factory extends DocFactory {
6606
+ let Factory$d = class Factory extends DocFactory {
6642
6607
  constructor(storage) {
6643
6608
  super(storage);
6644
6609
  }
6645
6610
  async generateDocument(data, options) {
6646
6611
  let template;
6647
6612
  if (process.env.SOURCE === "local") {
6648
- template = Template$a;
6613
+ template = Template$8;
6649
6614
  } else {
6650
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$a, data.block_num);
6615
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$8, data.block_num);
6651
6616
  }
6652
6617
  const meta = await this.getMeta({ title: template.title, ...data });
6653
6618
  const combinedData = { meta };
@@ -6658,16 +6623,16 @@ let Factory$f = class Factory extends DocFactory {
6658
6623
  }
6659
6624
  };
6660
6625
 
6661
- let Factory$e = class Factory extends DocFactory {
6626
+ let Factory$c = class Factory extends DocFactory {
6662
6627
  constructor(storage) {
6663
6628
  super(storage);
6664
6629
  }
6665
6630
  async generateDocument(data, options) {
6666
6631
  let template;
6667
6632
  if (process.env.SOURCE === "local") {
6668
- template = Template$9;
6633
+ template = Template$7;
6669
6634
  } else {
6670
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$9, data.block_num);
6635
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$7, data.block_num);
6671
6636
  }
6672
6637
  const meta = await this.getMeta({ title: template.title, ...data });
6673
6638
  const coop = await super.getCooperative(data.coopname, data.block_num);
@@ -6704,8 +6669,8 @@ let Factory$e = class Factory extends DocFactory {
6704
6669
  appendix_short_hash: this.getShortHash(data.appendix_hash),
6705
6670
  project_hash: data.project_hash,
6706
6671
  project_short_hash: this.getShortHash(data.project_hash),
6707
- main_wallet_amount: data.main_wallet_amount,
6708
- blagorost_wallet_amount: data.blagorost_wallet_amount,
6672
+ main_wallet_amount: super.formatAsset(data.main_wallet_amount),
6673
+ blagorost_wallet_amount: super.formatAsset(data.blagorost_wallet_amount),
6709
6674
  to_wallet: data.to_wallet,
6710
6675
  to_blagorost: data.to_blagorost
6711
6676
  };
@@ -6716,46 +6681,6 @@ let Factory$e = class Factory extends DocFactory {
6716
6681
  }
6717
6682
  };
6718
6683
 
6719
- let Factory$d = class Factory extends DocFactory {
6720
- constructor(storage) {
6721
- super(storage);
6722
- }
6723
- async generateDocument(data, options) {
6724
- let template;
6725
- if (process.env.SOURCE === "local") {
6726
- template = Template$8;
6727
- } else {
6728
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$8, data.block_num);
6729
- }
6730
- const meta = await this.getMeta({ title: template.title, ...data });
6731
- const combinedData = { meta };
6732
- await this.validate(combinedData, template.model);
6733
- const translation = template.translations[meta.lang];
6734
- const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
6735
- return document;
6736
- }
6737
- };
6738
-
6739
- let Factory$c = class Factory extends DocFactory {
6740
- constructor(storage) {
6741
- super(storage);
6742
- }
6743
- async generateDocument(data, options) {
6744
- let template;
6745
- if (process.env.SOURCE === "local") {
6746
- template = Template$7;
6747
- } else {
6748
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$7, data.block_num);
6749
- }
6750
- const meta = await this.getMeta({ title: template.title, ...data });
6751
- const combinedData = { meta };
6752
- await this.validate(combinedData, template.model);
6753
- const translation = template.translations[meta.lang];
6754
- const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
6755
- return document;
6756
- }
6757
- };
6758
-
6759
6684
  let Factory$b = class Factory extends DocFactory {
6760
6685
  constructor(storage) {
6761
6686
  super(storage);
@@ -6999,9 +6924,9 @@ let Factory$5 = class Factory extends DocFactory {
6999
6924
  async generateDocument(data, options) {
7000
6925
  let template;
7001
6926
  if (process.env.SOURCE === "local") {
7002
- template = Template$D;
6927
+ template = Template$B;
7003
6928
  } else {
7004
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$D, data.block_num);
6929
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$B, data.block_num);
7005
6930
  }
7006
6931
  const meta = await this.getMeta({ title: template.title, ...data });
7007
6932
  const vars = await this.getVars(data.coopname);
@@ -7025,9 +6950,9 @@ let Factory$4 = class Factory extends DocFactory {
7025
6950
  async generateDocument(data, options) {
7026
6951
  let template;
7027
6952
  if (process.env.SOURCE === "local") {
7028
- template = Template$C;
6953
+ template = Template$A;
7029
6954
  } else {
7030
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$C, data.block_num);
6955
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$A, data.block_num);
7031
6956
  }
7032
6957
  const meta = await this.getMeta({ title: template.title, ...data });
7033
6958
  const vars = await this.getVars(data.coopname);
@@ -7057,9 +6982,9 @@ let Factory$3 = class Factory extends DocFactory {
7057
6982
  async generateDocument(data, options) {
7058
6983
  let template;
7059
6984
  if (process.env.SOURCE === "local") {
7060
- template = Template$B;
6985
+ template = Template$z;
7061
6986
  } else {
7062
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$B, data.block_num);
6987
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$z, data.block_num);
7063
6988
  }
7064
6989
  const meta = await this.getMeta({ title: template.title, ...data });
7065
6990
  const vars = await this.getVars(data.coopname);
@@ -7113,9 +7038,9 @@ let Factory$2 = class Factory extends DocFactory {
7113
7038
  async generateDocument(data, options) {
7114
7039
  let template;
7115
7040
  if (process.env.SOURCE === "local") {
7116
- template = Template$A;
7041
+ template = Template$y;
7117
7042
  } else {
7118
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$A, data.block_num);
7043
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$y, data.block_num);
7119
7044
  }
7120
7045
  const meta = await this.getMeta({ title: template.title, ...data });
7121
7046
  const vars = await this.getVars(data.coopname);
@@ -7134,9 +7059,9 @@ let Factory$1 = class Factory extends DocFactory {
7134
7059
  async generateDocument(data, options) {
7135
7060
  let template;
7136
7061
  if (process.env.SOURCE === "local") {
7137
- template = Template$z;
7062
+ template = Template$x;
7138
7063
  } else {
7139
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$z, data.block_num);
7064
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$x, data.block_num);
7140
7065
  }
7141
7066
  const meta = await this.getMeta({ title: template.title, ...data });
7142
7067
  const vars = await this.getVars(data.coopname);
@@ -7160,9 +7085,9 @@ class Factory extends DocFactory {
7160
7085
  async generateDocument(data, options) {
7161
7086
  let template;
7162
7087
  if (process.env.SOURCE === "local") {
7163
- template = Template$y;
7088
+ template = Template$w;
7164
7089
  } else {
7165
- template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$y, data.block_num);
7090
+ template = await this.getTemplate(cooptypes.DraftContract.contractName.production, registry_id$w, data.block_num);
7166
7091
  }
7167
7092
  const meta = await this.getMeta({ title: template.title, ...data });
7168
7093
  const vars = await this.getVars(data.coopname);
@@ -7459,21 +7384,21 @@ class Generator {
7459
7384
  this.storage = new MongoDBConnector(mongoUri);
7460
7385
  this.searchService = new SearchService(this.storage);
7461
7386
  this.factories = {
7462
- [registry_id$W]: new Factory$W(this.storage),
7387
+ [registry_id$U]: new Factory$U(this.storage),
7463
7388
  // 1
7464
- [registry_id$V]: new Factory$V(this.storage),
7389
+ [registry_id$T]: new Factory$T(this.storage),
7465
7390
  // 2
7466
- [registry_id$U]: new Factory$U(this.storage),
7391
+ [registry_id$S]: new Factory$S(this.storage),
7467
7392
  // 3
7468
- [registry_id$T]: new Factory$T(this.storage),
7393
+ [registry_id$R]: new Factory$R(this.storage),
7469
7394
  // 4
7470
- [registry_id$S]: new Factory$S(this.storage),
7395
+ [registry_id$Q]: new Factory$Q(this.storage),
7471
7396
  // 50
7472
- [registry_id$R]: new Factory$R(this.storage),
7397
+ [registry_id$P]: new Factory$P(this.storage),
7473
7398
  // 51
7474
- [registry_id$Q]: new Factory$P(this.storage),
7399
+ [registry_id$O]: new Factory$N(this.storage),
7475
7400
  // 100
7476
- [registry_id$O]: new Factory$Q(this.storage),
7401
+ [registry_id$M]: new Factory$O(this.storage),
7477
7402
  // 101
7478
7403
  // общее собрание
7479
7404
  [registry_id$4]: new Factory$a(this.storage),
@@ -7486,98 +7411,94 @@ class Generator {
7486
7411
  // 303
7487
7412
  [registry_id]: new Factory$6(this.storage),
7488
7413
  // 304
7489
- [registry_id$P]: new Factory$O(this.storage),
7414
+ [registry_id$N]: new Factory$M(this.storage),
7490
7415
  // 501
7491
- [registry_id$N]: new Factory$N(this.storage),
7416
+ [registry_id$L]: new Factory$L(this.storage),
7492
7417
  // 599
7493
- [registry_id$M]: new Factory$M(this.storage),
7418
+ [registry_id$K]: new Factory$K(this.storage),
7494
7419
  // 600
7495
- [registry_id$5]: new Factory$J(this.storage),
7420
+ [registry_id$5]: new Factory$H(this.storage),
7496
7421
  // 699
7497
- [registry_id$L]: new Factory$L(this.storage),
7422
+ [registry_id$J]: new Factory$J(this.storage),
7498
7423
  // 700
7499
- [registry_id$K]: new Factory$K(this.storage),
7424
+ [registry_id$I]: new Factory$I(this.storage),
7500
7425
  // 800
7501
- [registry_id$I]: new Factory$G(this.storage),
7426
+ [registry_id$G]: new Factory$E(this.storage),
7502
7427
  // 801
7503
- [registry_id$G]: new Factory$F(this.storage),
7428
+ [registry_id$E]: new Factory$D(this.storage),
7504
7429
  // 802
7505
- [registry_id$F]: new Factory$E(this.storage),
7430
+ [registry_id$D]: new Factory$C(this.storage),
7506
7431
  // 900
7507
- [registry_id$E]: new Factory$D(this.storage),
7432
+ [registry_id$C]: new Factory$B(this.storage),
7508
7433
  // 901
7509
7434
  // ЦПП ГЕНЕРАТОР
7510
- [registry_id$D]: new Factory$5(this.storage),
7435
+ [registry_id$B]: new Factory$5(this.storage),
7511
7436
  // 994
7512
- [registry_id$C]: new Factory$4(this.storage),
7437
+ [registry_id$A]: new Factory$4(this.storage),
7513
7438
  // 995
7514
- [registry_id$B]: new Factory$3(this.storage),
7439
+ [registry_id$z]: new Factory$3(this.storage),
7515
7440
  // 996
7516
7441
  // ЦПП БЛАГОРОСТ
7517
- [registry_id$z]: new Factory$1(this.storage),
7442
+ [registry_id$x]: new Factory$1(this.storage),
7518
7443
  // 997
7519
- [registry_id$A]: new Factory$2(this.storage),
7444
+ [registry_id$y]: new Factory$2(this.storage),
7520
7445
  // 998
7521
- [registry_id$y]: new Factory(this.storage),
7446
+ [registry_id$w]: new Factory(this.storage),
7522
7447
  // 999
7523
- [registry_id$x]: new Factory$C(this.storage),
7448
+ [registry_id$v]: new Factory$A(this.storage),
7524
7449
  // 1000
7525
- [registry_id$J]: new Factory$I(this.storage),
7450
+ [registry_id$H]: new Factory$G(this.storage),
7526
7451
  // 701
7527
- [registry_id$H]: new Factory$H(this.storage),
7452
+ [registry_id$F]: new Factory$F(this.storage),
7528
7453
  // 702
7529
- [registry_id$w]: new Factory$B(this.storage),
7530
- // 1001
7531
- [registry_id$v]: new Factory$A(this.storage),
7532
- // 1002
7533
7454
  [registry_id$u]: new Factory$z(this.storage),
7534
- // 1003
7455
+ // 1001
7535
7456
  [registry_id$t]: new Factory$y(this.storage),
7536
- // 1004
7457
+ // 1002
7537
7458
  [registry_id$s]: new Factory$x(this.storage),
7538
- // 1007
7459
+ // 1003
7539
7460
  [registry_id$r]: new Factory$w(this.storage),
7540
- // 1005
7461
+ // 1004
7541
7462
  [registry_id$q]: new Factory$v(this.storage),
7542
- // 1006
7463
+ // 1007
7543
7464
  [registry_id$p]: new Factory$u(this.storage),
7544
- // 1010
7465
+ // 1005
7545
7466
  [registry_id$o]: new Factory$t(this.storage),
7546
- // 1011
7467
+ // 1006
7547
7468
  [registry_id$n]: new Factory$s(this.storage),
7548
- // 1020
7469
+ // 1010
7549
7470
  [registry_id$m]: new Factory$r(this.storage),
7550
- // 1025
7471
+ // 1011
7551
7472
  [registry_id$l]: new Factory$q(this.storage),
7552
- // 1030
7473
+ // 1020
7553
7474
  [registry_id$k]: new Factory$p(this.storage),
7554
- // 1040
7475
+ // 1025
7555
7476
  [registry_id$j]: new Factory$o(this.storage),
7556
- // 1041
7477
+ // 1030
7557
7478
  [registry_id$i]: new Factory$n(this.storage),
7558
- // 1042
7479
+ // 1040
7559
7480
  [registry_id$h]: new Factory$m(this.storage),
7560
- // 1050
7481
+ // 1041
7561
7482
  [registry_id$g]: new Factory$l(this.storage),
7562
- // 1051
7483
+ // 1042
7563
7484
  [registry_id$f]: new Factory$k(this.storage),
7564
- // 1060
7485
+ // 1050
7565
7486
  [registry_id$e]: new Factory$j(this.storage),
7566
- // 1061
7487
+ // 1051
7567
7488
  [registry_id$d]: new Factory$i(this.storage),
7568
- // 1062
7489
+ // 1060
7569
7490
  [registry_id$c]: new Factory$h(this.storage),
7570
- // 1070
7491
+ // 1061
7571
7492
  [registry_id$b]: new Factory$g(this.storage),
7572
- // 1071
7493
+ // 1062
7573
7494
  [registry_id$a]: new Factory$f(this.storage),
7574
- // 1072
7495
+ // 1070
7575
7496
  [registry_id$9]: new Factory$e(this.storage),
7576
- // 1080
7497
+ // 1071
7577
7498
  [registry_id$8]: new Factory$d(this.storage),
7578
- // 1081
7499
+ // 1072
7579
7500
  [registry_id$7]: new Factory$c(this.storage),
7580
- // 1082
7501
+ // 1080
7581
7502
  [registry_id$6]: new Factory$b(this.storage)
7582
7503
  // 1090
7583
7504
  };
@@ -7685,14 +7606,12 @@ exports.ExpenseStatement = ExpenseStatement;
7685
7606
  exports.FreeDecision = FreeDecision;
7686
7607
  exports.GenerationContract = GenerationContract;
7687
7608
  exports.GenerationContractTemplate = GenerationContractTemplate;
7609
+ exports.GenerationConvertStatement = GenerationConvertStatement;
7688
7610
  exports.GenerationMoneyInvestStatement = GenerationMoneyInvestStatement;
7689
7611
  exports.GenerationMoneyReturnUnusedStatement = GenerationMoneyReturnUnusedStatement;
7690
7612
  exports.GenerationPropertyInvestAct = GenerationPropertyInvestAct;
7691
7613
  exports.GenerationPropertyInvestDecision = GenerationPropertyInvestDecision;
7692
7614
  exports.GenerationPropertyInvestStatement = GenerationPropertyInvestStatement;
7693
- exports.GenerationToCapitalizationConvertStatement = GenerationToCapitalizationConvertStatement;
7694
- exports.GenerationToMainWalletConvertStatement = GenerationToMainWalletConvertStatement;
7695
- exports.GenerationToProjectConvertStatement = GenerationToProjectConvertStatement;
7696
7615
  exports.Generator = Generator;
7697
7616
  exports.GeneratorOffer = GeneratorOffer;
7698
7617
  exports.GeneratorOfferTemplate = GeneratorOfferTemplate;