@coopenomics/factory 2025.10.16 → 2025.11.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1140 -495
- package/dist/index.d.cts +321 -113
- package/dist/index.d.mts +321 -113
- package/dist/index.d.ts +321 -113
- package/dist/index.mjs +1118 -491
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -644,8 +644,8 @@ const AgendaQuestionSchema = {
|
|
|
644
644
|
additionalProperties: true
|
|
645
645
|
};
|
|
646
646
|
|
|
647
|
-
const registry_id$
|
|
648
|
-
const Schema$
|
|
647
|
+
const registry_id$K = Cooperative$1.Registry.WalletAgreement.registry_id;
|
|
648
|
+
const Schema$K = {
|
|
649
649
|
type: "object",
|
|
650
650
|
properties: {
|
|
651
651
|
meta: IMetaJSONSchema,
|
|
@@ -655,23 +655,23 @@ const Schema$s = {
|
|
|
655
655
|
required: ["meta", "coop", "vars"],
|
|
656
656
|
additionalProperties: true
|
|
657
657
|
};
|
|
658
|
-
const Template$
|
|
658
|
+
const Template$K = {
|
|
659
659
|
title: Cooperative$1.Registry.WalletAgreement.title,
|
|
660
660
|
description: Cooperative$1.Registry.WalletAgreement.description,
|
|
661
|
-
model: Schema$
|
|
661
|
+
model: Schema$K,
|
|
662
662
|
context: Cooperative$1.Registry.WalletAgreement.context,
|
|
663
663
|
translations: Cooperative$1.Registry.WalletAgreement.translations
|
|
664
664
|
};
|
|
665
665
|
|
|
666
666
|
const WalletAgreement = {
|
|
667
667
|
__proto__: null,
|
|
668
|
-
Schema: Schema$
|
|
669
|
-
Template: Template$
|
|
670
|
-
registry_id: registry_id$
|
|
668
|
+
Schema: Schema$K,
|
|
669
|
+
Template: Template$K,
|
|
670
|
+
registry_id: registry_id$K
|
|
671
671
|
};
|
|
672
672
|
|
|
673
|
-
const registry_id$
|
|
674
|
-
const Schema$
|
|
673
|
+
const registry_id$J = Cooperative$1.Registry.RegulationElectronicSignature.registry_id;
|
|
674
|
+
const Schema$J = {
|
|
675
675
|
type: "object",
|
|
676
676
|
properties: {
|
|
677
677
|
meta: IMetaJSONSchema,
|
|
@@ -681,23 +681,23 @@ const Schema$r = {
|
|
|
681
681
|
required: ["meta", "coop", "vars"],
|
|
682
682
|
additionalProperties: true
|
|
683
683
|
};
|
|
684
|
-
const Template$
|
|
684
|
+
const Template$J = {
|
|
685
685
|
title: Cooperative$1.Registry.RegulationElectronicSignature.title,
|
|
686
686
|
description: Cooperative$1.Registry.RegulationElectronicSignature.description,
|
|
687
|
-
model: Schema$
|
|
687
|
+
model: Schema$J,
|
|
688
688
|
context: Cooperative$1.Registry.RegulationElectronicSignature.context,
|
|
689
689
|
translations: Cooperative$1.Registry.RegulationElectronicSignature.translations
|
|
690
690
|
};
|
|
691
691
|
|
|
692
692
|
const RegulationElectronicSignaturet = {
|
|
693
693
|
__proto__: null,
|
|
694
|
-
Schema: Schema$
|
|
695
|
-
Template: Template$
|
|
696
|
-
registry_id: registry_id$
|
|
694
|
+
Schema: Schema$J,
|
|
695
|
+
Template: Template$J,
|
|
696
|
+
registry_id: registry_id$J
|
|
697
697
|
};
|
|
698
698
|
|
|
699
|
-
const registry_id$
|
|
700
|
-
const Schema$
|
|
699
|
+
const registry_id$I = Cooperative$1.Registry.PrivacyPolicy.registry_id;
|
|
700
|
+
const Schema$I = {
|
|
701
701
|
type: "object",
|
|
702
702
|
properties: {
|
|
703
703
|
meta: IMetaJSONSchema,
|
|
@@ -707,23 +707,23 @@ const Schema$q = {
|
|
|
707
707
|
required: ["meta", "coop", "vars"],
|
|
708
708
|
additionalProperties: true
|
|
709
709
|
};
|
|
710
|
-
const Template$
|
|
710
|
+
const Template$I = {
|
|
711
711
|
title: Cooperative$1.Registry.PrivacyPolicy.title,
|
|
712
712
|
description: Cooperative$1.Registry.PrivacyPolicy.description,
|
|
713
|
-
model: Schema$
|
|
713
|
+
model: Schema$I,
|
|
714
714
|
context: Cooperative$1.Registry.PrivacyPolicy.context,
|
|
715
715
|
translations: Cooperative$1.Registry.PrivacyPolicy.translations
|
|
716
716
|
};
|
|
717
717
|
|
|
718
718
|
const PrivacyPolicy = {
|
|
719
719
|
__proto__: null,
|
|
720
|
-
Schema: Schema$
|
|
721
|
-
Template: Template$
|
|
722
|
-
registry_id: registry_id$
|
|
720
|
+
Schema: Schema$I,
|
|
721
|
+
Template: Template$I,
|
|
722
|
+
registry_id: registry_id$I
|
|
723
723
|
};
|
|
724
724
|
|
|
725
|
-
const registry_id$
|
|
726
|
-
const Schema$
|
|
725
|
+
const registry_id$H = Cooperative$1.Registry.UserAgreement.registry_id;
|
|
726
|
+
const Schema$H = {
|
|
727
727
|
type: "object",
|
|
728
728
|
properties: {
|
|
729
729
|
meta: IMetaJSONSchema,
|
|
@@ -740,23 +740,23 @@ const Schema$p = {
|
|
|
740
740
|
required: ["meta", "coop", "vars", "user"],
|
|
741
741
|
additionalProperties: true
|
|
742
742
|
};
|
|
743
|
-
const Template$
|
|
743
|
+
const Template$H = {
|
|
744
744
|
title: Cooperative$1.Registry.UserAgreement.title,
|
|
745
745
|
description: Cooperative$1.Registry.UserAgreement.description,
|
|
746
|
-
model: Schema$
|
|
746
|
+
model: Schema$H,
|
|
747
747
|
context: Cooperative$1.Registry.UserAgreement.context,
|
|
748
748
|
translations: Cooperative$1.Registry.UserAgreement.translations
|
|
749
749
|
};
|
|
750
750
|
|
|
751
751
|
const UserAgreement = {
|
|
752
752
|
__proto__: null,
|
|
753
|
-
Schema: Schema$
|
|
754
|
-
Template: Template$
|
|
755
|
-
registry_id: registry_id$
|
|
753
|
+
Schema: Schema$H,
|
|
754
|
+
Template: Template$H,
|
|
755
|
+
registry_id: registry_id$H
|
|
756
756
|
};
|
|
757
757
|
|
|
758
|
-
const registry_id$
|
|
759
|
-
const Schema$
|
|
758
|
+
const registry_id$G = Cooperative$1.Registry.CoopenomicsAgreement.registry_id;
|
|
759
|
+
const Schema$G = {
|
|
760
760
|
type: "object",
|
|
761
761
|
properties: {
|
|
762
762
|
meta: IMetaJSONSchema,
|
|
@@ -767,23 +767,23 @@ const Schema$o = {
|
|
|
767
767
|
required: ["meta", "coop", "vars", "partner"],
|
|
768
768
|
additionalProperties: true
|
|
769
769
|
};
|
|
770
|
-
const Template$
|
|
770
|
+
const Template$G = {
|
|
771
771
|
title: Cooperative$1.Registry.CoopenomicsAgreement.title,
|
|
772
772
|
description: Cooperative$1.Registry.CoopenomicsAgreement.description,
|
|
773
|
-
model: Schema$
|
|
773
|
+
model: Schema$G,
|
|
774
774
|
context: Cooperative$1.Registry.CoopenomicsAgreement.context,
|
|
775
775
|
translations: Cooperative$1.Registry.CoopenomicsAgreement.translations
|
|
776
776
|
};
|
|
777
777
|
|
|
778
778
|
const CoopenomicsAgreement = {
|
|
779
779
|
__proto__: null,
|
|
780
|
-
Schema: Schema$
|
|
781
|
-
Template: Template$
|
|
782
|
-
registry_id: registry_id$
|
|
780
|
+
Schema: Schema$G,
|
|
781
|
+
Template: Template$G,
|
|
782
|
+
registry_id: registry_id$G
|
|
783
783
|
};
|
|
784
784
|
|
|
785
|
-
const registry_id$
|
|
786
|
-
const Schema$
|
|
785
|
+
const registry_id$F = Cooperative$1.Registry.ParticipantApplication.registry_id;
|
|
786
|
+
const Schema$F = {
|
|
787
787
|
type: "object",
|
|
788
788
|
properties: {
|
|
789
789
|
type: {
|
|
@@ -872,23 +872,23 @@ const Schema$n = {
|
|
|
872
872
|
required: ["meta", "coop", "type"],
|
|
873
873
|
additionalProperties: true
|
|
874
874
|
};
|
|
875
|
-
const Template$
|
|
875
|
+
const Template$F = {
|
|
876
876
|
title: Cooperative$1.Registry.ParticipantApplication.title,
|
|
877
877
|
description: Cooperative$1.Registry.ParticipantApplication.description,
|
|
878
|
-
model: Schema$
|
|
878
|
+
model: Schema$F,
|
|
879
879
|
context: Cooperative$1.Registry.ParticipantApplication.context,
|
|
880
880
|
translations: Cooperative$1.Registry.ParticipantApplication.translations
|
|
881
881
|
};
|
|
882
882
|
|
|
883
883
|
const ParticipantApplication = {
|
|
884
884
|
__proto__: null,
|
|
885
|
-
Schema: Schema$
|
|
886
|
-
Template: Template$
|
|
887
|
-
registry_id: registry_id$
|
|
885
|
+
Schema: Schema$F,
|
|
886
|
+
Template: Template$F,
|
|
887
|
+
registry_id: registry_id$F
|
|
888
888
|
};
|
|
889
889
|
|
|
890
|
-
const registry_id$
|
|
891
|
-
const Schema$
|
|
890
|
+
const registry_id$E = Cooperative$1.Registry.DecisionOfParticipantApplication.registry_id;
|
|
891
|
+
const Schema$E = {
|
|
892
892
|
type: "object",
|
|
893
893
|
properties: {
|
|
894
894
|
type: {
|
|
@@ -952,23 +952,23 @@ const Schema$m = {
|
|
|
952
952
|
// vars не добавляем в обязательные параметры для обратной совместимости (начиная с 2.26)
|
|
953
953
|
additionalProperties: true
|
|
954
954
|
};
|
|
955
|
-
const Template$
|
|
955
|
+
const Template$E = {
|
|
956
956
|
title: Cooperative$1.Registry.DecisionOfParticipantApplication.title,
|
|
957
957
|
description: Cooperative$1.Registry.DecisionOfParticipantApplication.description,
|
|
958
|
-
model: Schema$
|
|
958
|
+
model: Schema$E,
|
|
959
959
|
context: Cooperative$1.Registry.DecisionOfParticipantApplication.context,
|
|
960
960
|
translations: Cooperative$1.Registry.DecisionOfParticipantApplication.translations
|
|
961
961
|
};
|
|
962
962
|
|
|
963
963
|
const DecisionOfParticipantApplication = {
|
|
964
964
|
__proto__: null,
|
|
965
|
-
Schema: Schema$
|
|
966
|
-
Template: Template$
|
|
967
|
-
registry_id: registry_id$
|
|
965
|
+
Schema: Schema$E,
|
|
966
|
+
Template: Template$E,
|
|
967
|
+
registry_id: registry_id$E
|
|
968
968
|
};
|
|
969
969
|
|
|
970
|
-
const registry_id$
|
|
971
|
-
const Schema$
|
|
970
|
+
const registry_id$D = Cooperative$1.Registry.SelectBranchStatement.registry_id;
|
|
971
|
+
const Schema$D = {
|
|
972
972
|
type: "object",
|
|
973
973
|
properties: {
|
|
974
974
|
type: {
|
|
@@ -1031,23 +1031,23 @@ const Schema$l = {
|
|
|
1031
1031
|
required: ["meta", "type", "branch", "vars", "coop"],
|
|
1032
1032
|
additionalProperties: true
|
|
1033
1033
|
};
|
|
1034
|
-
const Template$
|
|
1034
|
+
const Template$D = {
|
|
1035
1035
|
title: Cooperative$1.Registry.SelectBranchStatement.title,
|
|
1036
1036
|
description: Cooperative$1.Registry.SelectBranchStatement.description,
|
|
1037
|
-
model: Schema$
|
|
1037
|
+
model: Schema$D,
|
|
1038
1038
|
context: Cooperative$1.Registry.SelectBranchStatement.context,
|
|
1039
1039
|
translations: Cooperative$1.Registry.SelectBranchStatement.translations
|
|
1040
1040
|
};
|
|
1041
1041
|
|
|
1042
1042
|
const SelectBranchStatement = {
|
|
1043
1043
|
__proto__: null,
|
|
1044
|
-
Schema: Schema$
|
|
1045
|
-
Template: Template$
|
|
1046
|
-
registry_id: registry_id$
|
|
1044
|
+
Schema: Schema$D,
|
|
1045
|
+
Template: Template$D,
|
|
1046
|
+
registry_id: registry_id$D
|
|
1047
1047
|
};
|
|
1048
1048
|
|
|
1049
|
-
const registry_id$
|
|
1050
|
-
const Schema$
|
|
1049
|
+
const registry_id$C = Cooperative$1.Registry.ProjectFreeDecision.registry_id;
|
|
1050
|
+
const Schema$C = {
|
|
1051
1051
|
type: "object",
|
|
1052
1052
|
properties: {
|
|
1053
1053
|
coop: {
|
|
@@ -1082,23 +1082,23 @@ const Schema$k = {
|
|
|
1082
1082
|
required: ["meta", "coop", "project", "suggester_name", "vars"],
|
|
1083
1083
|
additionalProperties: true
|
|
1084
1084
|
};
|
|
1085
|
-
const Template$
|
|
1085
|
+
const Template$C = {
|
|
1086
1086
|
title: Cooperative$1.Registry.ProjectFreeDecision.title,
|
|
1087
1087
|
description: Cooperative$1.Registry.ProjectFreeDecision.description,
|
|
1088
|
-
model: Schema$
|
|
1088
|
+
model: Schema$C,
|
|
1089
1089
|
context: Cooperative$1.Registry.ProjectFreeDecision.context,
|
|
1090
1090
|
translations: Cooperative$1.Registry.ProjectFreeDecision.translations
|
|
1091
1091
|
};
|
|
1092
1092
|
|
|
1093
1093
|
const ProjectFreeDecision = {
|
|
1094
1094
|
__proto__: null,
|
|
1095
|
-
Schema: Schema$
|
|
1096
|
-
Template: Template$
|
|
1097
|
-
registry_id: registry_id$
|
|
1095
|
+
Schema: Schema$C,
|
|
1096
|
+
Template: Template$C,
|
|
1097
|
+
registry_id: registry_id$C
|
|
1098
1098
|
};
|
|
1099
1099
|
|
|
1100
|
-
const registry_id$
|
|
1101
|
-
const Schema$
|
|
1100
|
+
const registry_id$B = Cooperative$1.Registry.FreeDecision.registry_id;
|
|
1101
|
+
const Schema$B = {
|
|
1102
1102
|
type: "object",
|
|
1103
1103
|
properties: {
|
|
1104
1104
|
coop: {
|
|
@@ -1141,19 +1141,19 @@ const Schema$j = {
|
|
|
1141
1141
|
// vars не вносим для обратной совместимости начиная с версии 2.25
|
|
1142
1142
|
additionalProperties: true
|
|
1143
1143
|
};
|
|
1144
|
-
const Template$
|
|
1144
|
+
const Template$B = {
|
|
1145
1145
|
title: Cooperative$1.Registry.FreeDecision.title,
|
|
1146
1146
|
description: Cooperative$1.Registry.FreeDecision.description,
|
|
1147
|
-
model: Schema$
|
|
1147
|
+
model: Schema$B,
|
|
1148
1148
|
context: Cooperative$1.Registry.FreeDecision.context,
|
|
1149
1149
|
translations: Cooperative$1.Registry.FreeDecision.translations
|
|
1150
1150
|
};
|
|
1151
1151
|
|
|
1152
1152
|
const FreeDecision = {
|
|
1153
1153
|
__proto__: null,
|
|
1154
|
-
Schema: Schema$
|
|
1155
|
-
Template: Template$
|
|
1156
|
-
registry_id: registry_id$
|
|
1154
|
+
Schema: Schema$B,
|
|
1155
|
+
Template: Template$B,
|
|
1156
|
+
registry_id: registry_id$B
|
|
1157
1157
|
};
|
|
1158
1158
|
|
|
1159
1159
|
const CommonRequestSchema = {
|
|
@@ -1183,8 +1183,8 @@ const CommonRequestSchema = {
|
|
|
1183
1183
|
additionalProperties: true
|
|
1184
1184
|
};
|
|
1185
1185
|
|
|
1186
|
-
const registry_id$
|
|
1187
|
-
const Schema$
|
|
1186
|
+
const registry_id$A = Cooperative$1.Registry.AssetContributionStatement.registry_id;
|
|
1187
|
+
const Schema$A = {
|
|
1188
1188
|
type: "object",
|
|
1189
1189
|
properties: {
|
|
1190
1190
|
meta: IMetaJSONSchema,
|
|
@@ -1196,23 +1196,23 @@ const Schema$i = {
|
|
|
1196
1196
|
required: ["meta", "coop", "vars", "request", "user"],
|
|
1197
1197
|
additionalProperties: true
|
|
1198
1198
|
};
|
|
1199
|
-
const Template$
|
|
1199
|
+
const Template$A = {
|
|
1200
1200
|
title: Cooperative$1.Registry.AssetContributionStatement.title,
|
|
1201
1201
|
description: Cooperative$1.Registry.AssetContributionStatement.description,
|
|
1202
|
-
model: Schema$
|
|
1202
|
+
model: Schema$A,
|
|
1203
1203
|
context: Cooperative$1.Registry.AssetContributionStatement.context,
|
|
1204
1204
|
translations: Cooperative$1.Registry.AssetContributionStatement.translations
|
|
1205
1205
|
};
|
|
1206
1206
|
|
|
1207
1207
|
const AssetContributionStatement = {
|
|
1208
1208
|
__proto__: null,
|
|
1209
|
-
Schema: Schema$
|
|
1210
|
-
Template: Template$
|
|
1211
|
-
registry_id: registry_id$
|
|
1209
|
+
Schema: Schema$A,
|
|
1210
|
+
Template: Template$A,
|
|
1211
|
+
registry_id: registry_id$A
|
|
1212
1212
|
};
|
|
1213
1213
|
|
|
1214
|
-
const registry_id$
|
|
1215
|
-
const Schema$
|
|
1214
|
+
const registry_id$z = Cooperative$1.Registry.ReturnByAssetStatement.registry_id;
|
|
1215
|
+
const Schema$z = {
|
|
1216
1216
|
type: "object",
|
|
1217
1217
|
properties: {
|
|
1218
1218
|
meta: IMetaJSONSchema,
|
|
@@ -1224,23 +1224,23 @@ const Schema$h = {
|
|
|
1224
1224
|
required: ["meta", "coop", "vars", "request", "user"],
|
|
1225
1225
|
additionalProperties: true
|
|
1226
1226
|
};
|
|
1227
|
-
const Template$
|
|
1227
|
+
const Template$z = {
|
|
1228
1228
|
title: Cooperative$1.Registry.ReturnByAssetStatement.title,
|
|
1229
1229
|
description: Cooperative$1.Registry.ReturnByAssetStatement.description,
|
|
1230
|
-
model: Schema$
|
|
1230
|
+
model: Schema$z,
|
|
1231
1231
|
context: Cooperative$1.Registry.ReturnByAssetStatement.context,
|
|
1232
1232
|
translations: Cooperative$1.Registry.ReturnByAssetStatement.translations
|
|
1233
1233
|
};
|
|
1234
1234
|
|
|
1235
1235
|
const ReturnByAssetStatement = {
|
|
1236
1236
|
__proto__: null,
|
|
1237
|
-
Schema: Schema$
|
|
1238
|
-
Template: Template$
|
|
1239
|
-
registry_id: registry_id$
|
|
1237
|
+
Schema: Schema$z,
|
|
1238
|
+
Template: Template$z,
|
|
1239
|
+
registry_id: registry_id$z
|
|
1240
1240
|
};
|
|
1241
1241
|
|
|
1242
|
-
const registry_id$
|
|
1243
|
-
const Schema$
|
|
1242
|
+
const registry_id$y = Cooperative$1.Registry.AssetContributionDecision.registry_id;
|
|
1243
|
+
const Schema$y = {
|
|
1244
1244
|
type: "object",
|
|
1245
1245
|
properties: {
|
|
1246
1246
|
meta: IMetaJSONSchema,
|
|
@@ -1253,23 +1253,23 @@ const Schema$g = {
|
|
|
1253
1253
|
required: ["meta", "coop", "vars", "request", "user", "decision"],
|
|
1254
1254
|
additionalProperties: true
|
|
1255
1255
|
};
|
|
1256
|
-
const Template$
|
|
1256
|
+
const Template$y = {
|
|
1257
1257
|
title: Cooperative$1.Registry.AssetContributionDecision.title,
|
|
1258
1258
|
description: Cooperative$1.Registry.AssetContributionDecision.description,
|
|
1259
|
-
model: Schema$
|
|
1259
|
+
model: Schema$y,
|
|
1260
1260
|
context: Cooperative$1.Registry.AssetContributionDecision.context,
|
|
1261
1261
|
translations: Cooperative$1.Registry.AssetContributionDecision.translations
|
|
1262
1262
|
};
|
|
1263
1263
|
|
|
1264
1264
|
const AssetContributionDecision = {
|
|
1265
1265
|
__proto__: null,
|
|
1266
|
-
Schema: Schema$
|
|
1267
|
-
Template: Template$
|
|
1268
|
-
registry_id: registry_id$
|
|
1266
|
+
Schema: Schema$y,
|
|
1267
|
+
Template: Template$y,
|
|
1268
|
+
registry_id: registry_id$y
|
|
1269
1269
|
};
|
|
1270
1270
|
|
|
1271
|
-
const registry_id$
|
|
1272
|
-
const Schema$
|
|
1271
|
+
const registry_id$x = Cooperative$1.Registry.ReturnByAssetDecision.registry_id;
|
|
1272
|
+
const Schema$x = {
|
|
1273
1273
|
type: "object",
|
|
1274
1274
|
properties: {
|
|
1275
1275
|
meta: IMetaJSONSchema,
|
|
@@ -1282,19 +1282,19 @@ const Schema$f = {
|
|
|
1282
1282
|
required: ["meta", "coop", "vars", "request", "user", "decision"],
|
|
1283
1283
|
additionalProperties: true
|
|
1284
1284
|
};
|
|
1285
|
-
const Template$
|
|
1285
|
+
const Template$x = {
|
|
1286
1286
|
title: Cooperative$1.Registry.ReturnByAssetDecision.title,
|
|
1287
1287
|
description: Cooperative$1.Registry.ReturnByAssetDecision.description,
|
|
1288
|
-
model: Schema$
|
|
1288
|
+
model: Schema$x,
|
|
1289
1289
|
context: Cooperative$1.Registry.ReturnByAssetDecision.context,
|
|
1290
1290
|
translations: Cooperative$1.Registry.ReturnByAssetDecision.translations
|
|
1291
1291
|
};
|
|
1292
1292
|
|
|
1293
1293
|
const ReturnByAssetDecision = {
|
|
1294
1294
|
__proto__: null,
|
|
1295
|
-
Schema: Schema$
|
|
1296
|
-
Template: Template$
|
|
1297
|
-
registry_id: registry_id$
|
|
1295
|
+
Schema: Schema$x,
|
|
1296
|
+
Template: Template$x,
|
|
1297
|
+
registry_id: registry_id$x
|
|
1298
1298
|
};
|
|
1299
1299
|
|
|
1300
1300
|
const FirstLastMiddleNameSchema = {
|
|
@@ -1317,8 +1317,8 @@ const CommonProgramSchema = {
|
|
|
1317
1317
|
additionalProperties: true
|
|
1318
1318
|
};
|
|
1319
1319
|
|
|
1320
|
-
const registry_id$
|
|
1321
|
-
const Schema$
|
|
1320
|
+
const registry_id$w = Cooperative$1.Registry.AssetContributionAct.registry_id;
|
|
1321
|
+
const Schema$w = {
|
|
1322
1322
|
type: "object",
|
|
1323
1323
|
properties: {
|
|
1324
1324
|
meta: IMetaJSONSchema,
|
|
@@ -1335,23 +1335,23 @@ const Schema$e = {
|
|
|
1335
1335
|
required: ["meta", "coop", "vars", "request", "user", "decision", "act_id", "receiver", "program"],
|
|
1336
1336
|
additionalProperties: true
|
|
1337
1337
|
};
|
|
1338
|
-
const Template$
|
|
1338
|
+
const Template$w = {
|
|
1339
1339
|
title: Cooperative$1.Registry.AssetContributionAct.title,
|
|
1340
1340
|
description: Cooperative$1.Registry.AssetContributionAct.description,
|
|
1341
|
-
model: Schema$
|
|
1341
|
+
model: Schema$w,
|
|
1342
1342
|
context: Cooperative$1.Registry.AssetContributionAct.context,
|
|
1343
1343
|
translations: Cooperative$1.Registry.AssetContributionAct.translations
|
|
1344
1344
|
};
|
|
1345
1345
|
|
|
1346
1346
|
const AssetContributionAct = {
|
|
1347
1347
|
__proto__: null,
|
|
1348
|
-
Schema: Schema$
|
|
1349
|
-
Template: Template$
|
|
1350
|
-
registry_id: registry_id$
|
|
1348
|
+
Schema: Schema$w,
|
|
1349
|
+
Template: Template$w,
|
|
1350
|
+
registry_id: registry_id$w
|
|
1351
1351
|
};
|
|
1352
1352
|
|
|
1353
|
-
const registry_id$
|
|
1354
|
-
const Schema$
|
|
1353
|
+
const registry_id$v = Cooperative$1.Registry.ReturnByAssetAct.registry_id;
|
|
1354
|
+
const Schema$v = {
|
|
1355
1355
|
type: "object",
|
|
1356
1356
|
properties: {
|
|
1357
1357
|
meta: IMetaJSONSchema,
|
|
@@ -1368,23 +1368,23 @@ const Schema$d = {
|
|
|
1368
1368
|
required: ["meta", "coop", "vars", "request", "user", "decision", "act_id", "transmitter", "program"],
|
|
1369
1369
|
additionalProperties: true
|
|
1370
1370
|
};
|
|
1371
|
-
const Template$
|
|
1371
|
+
const Template$v = {
|
|
1372
1372
|
title: Cooperative$1.Registry.ReturnByAssetAct.title,
|
|
1373
1373
|
description: Cooperative$1.Registry.ReturnByAssetAct.description,
|
|
1374
|
-
model: Schema$
|
|
1374
|
+
model: Schema$v,
|
|
1375
1375
|
context: Cooperative$1.Registry.ReturnByAssetAct.context,
|
|
1376
1376
|
translations: Cooperative$1.Registry.ReturnByAssetAct.translations
|
|
1377
1377
|
};
|
|
1378
1378
|
|
|
1379
1379
|
const ReturnByAssetAct = {
|
|
1380
1380
|
__proto__: null,
|
|
1381
|
-
Schema: Schema$
|
|
1382
|
-
Template: Template$
|
|
1383
|
-
registry_id: registry_id$
|
|
1381
|
+
Schema: Schema$v,
|
|
1382
|
+
Template: Template$v,
|
|
1383
|
+
registry_id: registry_id$v
|
|
1384
1384
|
};
|
|
1385
1385
|
|
|
1386
|
-
const registry_id$
|
|
1387
|
-
const Schema$
|
|
1386
|
+
const registry_id$u = Cooperative$1.Registry.ReturnByMoney.registry_id;
|
|
1387
|
+
const Schema$u = {
|
|
1388
1388
|
type: "object",
|
|
1389
1389
|
properties: {
|
|
1390
1390
|
meta: IMetaJSONSchema,
|
|
@@ -1399,23 +1399,23 @@ const Schema$c = {
|
|
|
1399
1399
|
required: ["meta", "coop", "vars", "user", "payment_details", "quantity", "currency", "payment_hash"],
|
|
1400
1400
|
additionalProperties: false
|
|
1401
1401
|
};
|
|
1402
|
-
const Template$
|
|
1402
|
+
const Template$u = {
|
|
1403
1403
|
title: Cooperative$1.Registry.ReturnByMoney.title,
|
|
1404
1404
|
description: Cooperative$1.Registry.ReturnByMoney.description,
|
|
1405
|
-
model: Schema$
|
|
1405
|
+
model: Schema$u,
|
|
1406
1406
|
context: Cooperative$1.Registry.ReturnByMoney.context,
|
|
1407
1407
|
translations: Cooperative$1.Registry.ReturnByMoney.translations
|
|
1408
1408
|
};
|
|
1409
1409
|
|
|
1410
1410
|
const ReturnByMoney = {
|
|
1411
1411
|
__proto__: null,
|
|
1412
|
-
Schema: Schema$
|
|
1413
|
-
Template: Template$
|
|
1414
|
-
registry_id: registry_id$
|
|
1412
|
+
Schema: Schema$u,
|
|
1413
|
+
Template: Template$u,
|
|
1414
|
+
registry_id: registry_id$u
|
|
1415
1415
|
};
|
|
1416
1416
|
|
|
1417
|
-
const registry_id$
|
|
1418
|
-
const Schema$
|
|
1417
|
+
const registry_id$t = Cooperative$1.Registry.ReturnByMoneyDecision.registry_id;
|
|
1418
|
+
const Schema$t = {
|
|
1419
1419
|
type: "object",
|
|
1420
1420
|
properties: {
|
|
1421
1421
|
meta: {
|
|
@@ -1450,272 +1450,568 @@ const Schema$b = {
|
|
|
1450
1450
|
required: ["meta", "coop", "decision", "user", "quantity", "currency", "vars"],
|
|
1451
1451
|
additionalProperties: false
|
|
1452
1452
|
};
|
|
1453
|
-
const Template$
|
|
1453
|
+
const Template$t = {
|
|
1454
1454
|
title: Cooperative$1.Registry.ReturnByMoneyDecision.title,
|
|
1455
1455
|
description: Cooperative$1.Registry.ReturnByMoneyDecision.description,
|
|
1456
|
-
model: Schema$
|
|
1456
|
+
model: Schema$t,
|
|
1457
1457
|
context: Cooperative$1.Registry.ReturnByMoneyDecision.context,
|
|
1458
1458
|
translations: Cooperative$1.Registry.ReturnByMoneyDecision.translations
|
|
1459
1459
|
};
|
|
1460
1460
|
|
|
1461
1461
|
const ReturnByMoneyDecision = {
|
|
1462
1462
|
__proto__: null,
|
|
1463
|
-
Schema: Schema$
|
|
1464
|
-
Template: Template$
|
|
1465
|
-
registry_id: registry_id$
|
|
1463
|
+
Schema: Schema$t,
|
|
1464
|
+
Template: Template$t,
|
|
1465
|
+
registry_id: registry_id$t
|
|
1466
1466
|
};
|
|
1467
1467
|
|
|
1468
|
-
const registry_id$
|
|
1469
|
-
const Schema$
|
|
1468
|
+
const registry_id$s = Cooperative$1.Registry.CapitalizationAgreement.registry_id;
|
|
1469
|
+
const Schema$s = {
|
|
1470
1470
|
type: "object",
|
|
1471
1471
|
properties: {
|
|
1472
|
-
meta: IMetaJSONSchema
|
|
1473
|
-
coop: CooperativeSchema,
|
|
1474
|
-
vars: {
|
|
1475
|
-
...VarsSchema,
|
|
1476
|
-
required: [...VarsSchema.required || [], "investment_agreement"]
|
|
1477
|
-
},
|
|
1478
|
-
subject: { type: "string" },
|
|
1479
|
-
terms: { type: "string" },
|
|
1480
|
-
uhdContract: {
|
|
1481
|
-
type: "object",
|
|
1482
|
-
properties: {
|
|
1483
|
-
date: { type: "string" },
|
|
1484
|
-
number: { type: "string" }
|
|
1485
|
-
},
|
|
1486
|
-
required: ["date", "number"]
|
|
1487
|
-
},
|
|
1488
|
-
user: CommonUserSchema,
|
|
1489
|
-
coopBankAccount: BankAccountSchema,
|
|
1490
|
-
type: {
|
|
1491
|
-
type: "string",
|
|
1492
|
-
enum: ["individual", "entrepreneur", "organization"]
|
|
1493
|
-
},
|
|
1494
|
-
individual: {
|
|
1495
|
-
type: "object",
|
|
1496
|
-
properties: {
|
|
1497
|
-
...individualSchema.properties
|
|
1498
|
-
},
|
|
1499
|
-
required: individualSchema.required,
|
|
1500
|
-
additionalProperties: true,
|
|
1501
|
-
nullable: true
|
|
1502
|
-
},
|
|
1503
|
-
organization: {
|
|
1504
|
-
type: "object",
|
|
1505
|
-
properties: {
|
|
1506
|
-
...organizationSchema.properties
|
|
1507
|
-
},
|
|
1508
|
-
required: organizationSchema.required,
|
|
1509
|
-
additionalProperties: true,
|
|
1510
|
-
nullable: true
|
|
1511
|
-
},
|
|
1512
|
-
entrepreneur: {
|
|
1513
|
-
type: "object",
|
|
1514
|
-
properties: {
|
|
1515
|
-
...entrepreneurSchema.properties
|
|
1516
|
-
},
|
|
1517
|
-
required: entrepreneurSchema.required,
|
|
1518
|
-
additionalProperties: true,
|
|
1519
|
-
nullable: true
|
|
1520
|
-
},
|
|
1521
|
-
organizationBankAccount: {
|
|
1522
|
-
type: "object",
|
|
1523
|
-
properties: {
|
|
1524
|
-
...BankAccountSchema.properties
|
|
1525
|
-
},
|
|
1526
|
-
required: BankAccountSchema.required,
|
|
1527
|
-
additionalProperties: true,
|
|
1528
|
-
nullable: true
|
|
1529
|
-
},
|
|
1530
|
-
entrepreneurBankAccount: {
|
|
1531
|
-
type: "object",
|
|
1532
|
-
properties: {
|
|
1533
|
-
...BankAccountSchema.properties
|
|
1534
|
-
},
|
|
1535
|
-
required: BankAccountSchema.required,
|
|
1536
|
-
additionalProperties: true,
|
|
1537
|
-
nullable: true
|
|
1538
|
-
}
|
|
1472
|
+
meta: IMetaJSONSchema
|
|
1539
1473
|
},
|
|
1540
|
-
required: ["meta"
|
|
1474
|
+
required: ["meta"],
|
|
1541
1475
|
additionalProperties: true
|
|
1542
1476
|
};
|
|
1543
|
-
const Template$
|
|
1544
|
-
title: Cooperative$1.Registry.
|
|
1545
|
-
description: Cooperative$1.Registry.
|
|
1546
|
-
model: Schema$
|
|
1547
|
-
context: Cooperative$1.Registry.
|
|
1548
|
-
translations: Cooperative$1.Registry.
|
|
1477
|
+
const Template$s = {
|
|
1478
|
+
title: Cooperative$1.Registry.CapitalizationAgreement.title,
|
|
1479
|
+
description: Cooperative$1.Registry.CapitalizationAgreement.description,
|
|
1480
|
+
model: Schema$s,
|
|
1481
|
+
context: Cooperative$1.Registry.CapitalizationAgreement.context,
|
|
1482
|
+
translations: Cooperative$1.Registry.CapitalizationAgreement.translations
|
|
1549
1483
|
};
|
|
1550
1484
|
|
|
1551
|
-
const
|
|
1485
|
+
const CapitalizationAgreement = {
|
|
1552
1486
|
__proto__: null,
|
|
1553
|
-
Schema: Schema$
|
|
1554
|
-
Template: Template$
|
|
1555
|
-
registry_id: registry_id$
|
|
1487
|
+
Schema: Schema$s,
|
|
1488
|
+
Template: Template$s,
|
|
1489
|
+
registry_id: registry_id$s
|
|
1556
1490
|
};
|
|
1557
1491
|
|
|
1558
|
-
const
|
|
1492
|
+
const registry_id$r = Cooperative$1.Registry.GenerationAgreement.registry_id;
|
|
1493
|
+
const Schema$r = {
|
|
1559
1494
|
type: "object",
|
|
1560
1495
|
properties: {
|
|
1561
|
-
|
|
1562
|
-
|
|
1496
|
+
meta: IMetaJSONSchema,
|
|
1497
|
+
coop: CooperativeSchema
|
|
1563
1498
|
},
|
|
1564
|
-
required: ["
|
|
1499
|
+
required: ["meta", "coop"],
|
|
1565
1500
|
additionalProperties: true
|
|
1566
1501
|
};
|
|
1502
|
+
const Template$r = {
|
|
1503
|
+
title: Cooperative$1.Registry.GenerationAgreement.title,
|
|
1504
|
+
description: Cooperative$1.Registry.GenerationAgreement.description,
|
|
1505
|
+
model: Schema$r,
|
|
1506
|
+
context: Cooperative$1.Registry.GenerationAgreement.context,
|
|
1507
|
+
translations: Cooperative$1.Registry.GenerationAgreement.translations
|
|
1508
|
+
};
|
|
1509
|
+
|
|
1510
|
+
const GenerationAgreement = {
|
|
1511
|
+
__proto__: null,
|
|
1512
|
+
Schema: Schema$r,
|
|
1513
|
+
Template: Template$r,
|
|
1514
|
+
registry_id: registry_id$r
|
|
1515
|
+
};
|
|
1567
1516
|
|
|
1568
|
-
const
|
|
1517
|
+
const registry_id$q = Cooperative$1.Registry.AppendixGenerationAgreement.registry_id;
|
|
1518
|
+
const Schema$q = {
|
|
1569
1519
|
type: "object",
|
|
1570
1520
|
properties: {
|
|
1571
|
-
|
|
1572
|
-
name: { type: "string" },
|
|
1573
|
-
currency: { type: "string" },
|
|
1574
|
-
unit_price: { type: "number" },
|
|
1575
|
-
total_price: { type: "number" },
|
|
1576
|
-
description: { type: "string" }
|
|
1521
|
+
meta: IMetaJSONSchema
|
|
1577
1522
|
},
|
|
1578
|
-
required: ["
|
|
1523
|
+
required: ["meta"],
|
|
1579
1524
|
additionalProperties: true
|
|
1580
1525
|
};
|
|
1526
|
+
const Template$q = {
|
|
1527
|
+
title: Cooperative$1.Registry.AppendixGenerationAgreement.title,
|
|
1528
|
+
description: Cooperative$1.Registry.AppendixGenerationAgreement.description,
|
|
1529
|
+
model: Schema$q,
|
|
1530
|
+
context: Cooperative$1.Registry.AppendixGenerationAgreement.context,
|
|
1531
|
+
translations: Cooperative$1.Registry.AppendixGenerationAgreement.translations
|
|
1532
|
+
};
|
|
1581
1533
|
|
|
1582
|
-
const
|
|
1583
|
-
|
|
1534
|
+
const AppendixGenerationAgreement = {
|
|
1535
|
+
__proto__: null,
|
|
1536
|
+
Schema: Schema$q,
|
|
1537
|
+
Template: Template$q,
|
|
1538
|
+
registry_id: registry_id$q
|
|
1539
|
+
};
|
|
1540
|
+
|
|
1541
|
+
const registry_id$p = Cooperative$1.Registry.ExpenseStatement.registry_id;
|
|
1542
|
+
const Schema$p = {
|
|
1584
1543
|
type: "object",
|
|
1585
1544
|
properties: {
|
|
1586
|
-
meta: IMetaJSONSchema
|
|
1587
|
-
coop: CooperativeSchema,
|
|
1588
|
-
vars: VarsSchema,
|
|
1589
|
-
uhdContract: UHDContractSchema,
|
|
1590
|
-
user: CommonUserSchema,
|
|
1591
|
-
result: IntellectualResultSchema
|
|
1545
|
+
meta: IMetaJSONSchema
|
|
1592
1546
|
},
|
|
1593
|
-
required: ["meta"
|
|
1547
|
+
required: ["meta"],
|
|
1594
1548
|
additionalProperties: true
|
|
1595
1549
|
};
|
|
1596
|
-
const Template$
|
|
1597
|
-
title: Cooperative$1.Registry.
|
|
1598
|
-
description: Cooperative$1.Registry.
|
|
1599
|
-
model: Schema$
|
|
1600
|
-
context: Cooperative$1.Registry.
|
|
1601
|
-
translations: Cooperative$1.Registry.
|
|
1550
|
+
const Template$p = {
|
|
1551
|
+
title: Cooperative$1.Registry.ExpenseStatement.title,
|
|
1552
|
+
description: Cooperative$1.Registry.ExpenseStatement.description,
|
|
1553
|
+
model: Schema$p,
|
|
1554
|
+
context: Cooperative$1.Registry.ExpenseStatement.context,
|
|
1555
|
+
translations: Cooperative$1.Registry.ExpenseStatement.translations
|
|
1602
1556
|
};
|
|
1603
1557
|
|
|
1604
|
-
const
|
|
1558
|
+
const ExpenseStatement = {
|
|
1605
1559
|
__proto__: null,
|
|
1606
|
-
Schema: Schema$
|
|
1607
|
-
Template: Template$
|
|
1608
|
-
registry_id: registry_id$
|
|
1560
|
+
Schema: Schema$p,
|
|
1561
|
+
Template: Template$p,
|
|
1562
|
+
registry_id: registry_id$p
|
|
1609
1563
|
};
|
|
1610
1564
|
|
|
1611
|
-
const registry_id$
|
|
1612
|
-
const Schema$
|
|
1565
|
+
const registry_id$o = Cooperative$1.Registry.ExpenseDecision.registry_id;
|
|
1566
|
+
const Schema$o = {
|
|
1613
1567
|
type: "object",
|
|
1614
1568
|
properties: {
|
|
1615
|
-
meta: IMetaJSONSchema
|
|
1616
|
-
coop: CooperativeSchema,
|
|
1617
|
-
vars: VarsSchema,
|
|
1618
|
-
uhdContract: UHDContractSchema,
|
|
1619
|
-
user: CommonUserSchema,
|
|
1620
|
-
result: IntellectualResultSchema,
|
|
1621
|
-
decision: decisionSchema,
|
|
1622
|
-
act: {
|
|
1623
|
-
type: "object",
|
|
1624
|
-
properties: {
|
|
1625
|
-
number: { type: "string" }
|
|
1626
|
-
},
|
|
1627
|
-
required: ["number"],
|
|
1628
|
-
additionalProperties: true
|
|
1629
|
-
}
|
|
1569
|
+
meta: IMetaJSONSchema
|
|
1630
1570
|
},
|
|
1631
|
-
required: ["meta"
|
|
1571
|
+
required: ["meta"],
|
|
1632
1572
|
additionalProperties: true
|
|
1633
1573
|
};
|
|
1634
|
-
const Template$
|
|
1635
|
-
title: Cooperative$1.Registry.
|
|
1636
|
-
description: Cooperative$1.Registry.
|
|
1637
|
-
model: Schema$
|
|
1638
|
-
context: Cooperative$1.Registry.
|
|
1639
|
-
translations: Cooperative$1.Registry.
|
|
1574
|
+
const Template$o = {
|
|
1575
|
+
title: Cooperative$1.Registry.ExpenseDecision.title,
|
|
1576
|
+
description: Cooperative$1.Registry.ExpenseDecision.description,
|
|
1577
|
+
model: Schema$o,
|
|
1578
|
+
context: Cooperative$1.Registry.ExpenseDecision.context,
|
|
1579
|
+
translations: Cooperative$1.Registry.ExpenseDecision.translations
|
|
1640
1580
|
};
|
|
1641
1581
|
|
|
1642
|
-
const
|
|
1582
|
+
const ExpenseDecision = {
|
|
1643
1583
|
__proto__: null,
|
|
1644
|
-
Schema: Schema$
|
|
1645
|
-
Template: Template$
|
|
1646
|
-
registry_id: registry_id$
|
|
1584
|
+
Schema: Schema$o,
|
|
1585
|
+
Template: Template$o,
|
|
1586
|
+
registry_id: registry_id$o
|
|
1647
1587
|
};
|
|
1648
1588
|
|
|
1649
|
-
const
|
|
1589
|
+
const registry_id$n = Cooperative$1.Registry.GenerationMoneyInvestStatement.registry_id;
|
|
1590
|
+
const Schema$n = {
|
|
1650
1591
|
type: "object",
|
|
1651
1592
|
properties: {
|
|
1652
|
-
|
|
1653
|
-
currency: { type: "string" },
|
|
1654
|
-
words: { type: "string" }
|
|
1593
|
+
meta: IMetaJSONSchema
|
|
1655
1594
|
},
|
|
1656
|
-
required: ["
|
|
1595
|
+
required: ["meta"],
|
|
1657
1596
|
additionalProperties: true
|
|
1658
1597
|
};
|
|
1598
|
+
const Template$n = {
|
|
1599
|
+
title: Cooperative$1.Registry.GenerationMoneyInvestStatement.title,
|
|
1600
|
+
description: Cooperative$1.Registry.GenerationMoneyInvestStatement.description,
|
|
1601
|
+
model: Schema$n,
|
|
1602
|
+
context: Cooperative$1.Registry.GenerationMoneyInvestStatement.context,
|
|
1603
|
+
translations: Cooperative$1.Registry.GenerationMoneyInvestStatement.translations
|
|
1604
|
+
};
|
|
1659
1605
|
|
|
1660
|
-
const
|
|
1661
|
-
|
|
1606
|
+
const GenerationMoneyInvestStatement = {
|
|
1607
|
+
__proto__: null,
|
|
1608
|
+
Schema: Schema$n,
|
|
1609
|
+
Template: Template$n,
|
|
1610
|
+
registry_id: registry_id$n
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
const registry_id$m = Cooperative$1.Registry.GenerationMoneyReturnUnusedStatement.registry_id;
|
|
1614
|
+
const Schema$m = {
|
|
1662
1615
|
type: "object",
|
|
1663
1616
|
properties: {
|
|
1664
|
-
meta: IMetaJSONSchema
|
|
1665
|
-
coop: CooperativeSchema,
|
|
1666
|
-
uhdContract: UHDContractSchema,
|
|
1667
|
-
user: CommonUserSchema,
|
|
1668
|
-
contribution: ContributionAmountSchema
|
|
1617
|
+
meta: IMetaJSONSchema
|
|
1669
1618
|
},
|
|
1670
|
-
required: ["meta"
|
|
1619
|
+
required: ["meta"],
|
|
1671
1620
|
additionalProperties: true
|
|
1672
1621
|
};
|
|
1673
|
-
const Template$
|
|
1674
|
-
title: Cooperative$1.Registry.
|
|
1675
|
-
description: Cooperative$1.Registry.
|
|
1676
|
-
model: Schema$
|
|
1677
|
-
context: Cooperative$1.Registry.
|
|
1678
|
-
translations: Cooperative$1.Registry.
|
|
1622
|
+
const Template$m = {
|
|
1623
|
+
title: Cooperative$1.Registry.GenerationMoneyReturnUnusedStatement.title,
|
|
1624
|
+
description: Cooperative$1.Registry.GenerationMoneyReturnUnusedStatement.description,
|
|
1625
|
+
model: Schema$m,
|
|
1626
|
+
context: Cooperative$1.Registry.GenerationMoneyReturnUnusedStatement.context,
|
|
1627
|
+
translations: Cooperative$1.Registry.GenerationMoneyReturnUnusedStatement.translations
|
|
1679
1628
|
};
|
|
1680
1629
|
|
|
1681
|
-
const
|
|
1630
|
+
const GenerationMoneyReturnUnusedStatement = {
|
|
1682
1631
|
__proto__: null,
|
|
1683
|
-
Schema: Schema$
|
|
1684
|
-
Template: Template$
|
|
1685
|
-
registry_id: registry_id$
|
|
1632
|
+
Schema: Schema$m,
|
|
1633
|
+
Template: Template$m,
|
|
1634
|
+
registry_id: registry_id$m
|
|
1686
1635
|
};
|
|
1687
1636
|
|
|
1688
|
-
const registry_id$
|
|
1637
|
+
const registry_id$l = Cooperative$1.Registry.CapitalizationMoneyInvestStatement.registry_id;
|
|
1638
|
+
const Schema$l = {
|
|
1639
|
+
type: "object",
|
|
1640
|
+
properties: {
|
|
1641
|
+
meta: IMetaJSONSchema
|
|
1642
|
+
},
|
|
1643
|
+
required: ["meta"],
|
|
1644
|
+
additionalProperties: true
|
|
1645
|
+
};
|
|
1646
|
+
const Template$l = {
|
|
1647
|
+
title: Cooperative$1.Registry.CapitalizationMoneyInvestStatement.title,
|
|
1648
|
+
description: Cooperative$1.Registry.CapitalizationMoneyInvestStatement.description,
|
|
1649
|
+
model: Schema$l,
|
|
1650
|
+
context: Cooperative$1.Registry.CapitalizationMoneyInvestStatement.context,
|
|
1651
|
+
translations: Cooperative$1.Registry.CapitalizationMoneyInvestStatement.translations
|
|
1652
|
+
};
|
|
1653
|
+
|
|
1654
|
+
const CapitalizationMoneyInvestStatement = {
|
|
1655
|
+
__proto__: null,
|
|
1656
|
+
Schema: Schema$l,
|
|
1657
|
+
Template: Template$l,
|
|
1658
|
+
registry_id: registry_id$l
|
|
1659
|
+
};
|
|
1660
|
+
|
|
1661
|
+
const registry_id$k = Cooperative$1.Registry.ResultContributionStatement.registry_id;
|
|
1662
|
+
const Schema$k = {
|
|
1663
|
+
type: "object",
|
|
1664
|
+
properties: {
|
|
1665
|
+
meta: IMetaJSONSchema
|
|
1666
|
+
},
|
|
1667
|
+
required: ["meta"],
|
|
1668
|
+
additionalProperties: true
|
|
1669
|
+
};
|
|
1670
|
+
const Template$k = {
|
|
1671
|
+
title: Cooperative$1.Registry.ResultContributionStatement.title,
|
|
1672
|
+
description: Cooperative$1.Registry.ResultContributionStatement.description,
|
|
1673
|
+
model: Schema$k,
|
|
1674
|
+
context: Cooperative$1.Registry.ResultContributionStatement.context,
|
|
1675
|
+
translations: Cooperative$1.Registry.ResultContributionStatement.translations
|
|
1676
|
+
};
|
|
1677
|
+
|
|
1678
|
+
const ResultContributionStatement = {
|
|
1679
|
+
__proto__: null,
|
|
1680
|
+
Schema: Schema$k,
|
|
1681
|
+
Template: Template$k,
|
|
1682
|
+
registry_id: registry_id$k
|
|
1683
|
+
};
|
|
1684
|
+
|
|
1685
|
+
const registry_id$j = Cooperative$1.Registry.ResultContributionDecision.registry_id;
|
|
1686
|
+
const Schema$j = {
|
|
1687
|
+
type: "object",
|
|
1688
|
+
properties: {
|
|
1689
|
+
meta: IMetaJSONSchema
|
|
1690
|
+
},
|
|
1691
|
+
required: ["meta"],
|
|
1692
|
+
additionalProperties: true
|
|
1693
|
+
};
|
|
1694
|
+
const Template$j = {
|
|
1695
|
+
title: Cooperative$1.Registry.ResultContributionDecision.title,
|
|
1696
|
+
description: Cooperative$1.Registry.ResultContributionDecision.description,
|
|
1697
|
+
model: Schema$j,
|
|
1698
|
+
context: Cooperative$1.Registry.ResultContributionDecision.context,
|
|
1699
|
+
translations: Cooperative$1.Registry.ResultContributionDecision.translations
|
|
1700
|
+
};
|
|
1701
|
+
|
|
1702
|
+
const ResultContributionDecision = {
|
|
1703
|
+
__proto__: null,
|
|
1704
|
+
Schema: Schema$j,
|
|
1705
|
+
Template: Template$j,
|
|
1706
|
+
registry_id: registry_id$j
|
|
1707
|
+
};
|
|
1708
|
+
|
|
1709
|
+
const registry_id$i = Cooperative$1.Registry.ResultContributionAct.registry_id;
|
|
1710
|
+
const Schema$i = {
|
|
1711
|
+
type: "object",
|
|
1712
|
+
properties: {
|
|
1713
|
+
meta: IMetaJSONSchema
|
|
1714
|
+
},
|
|
1715
|
+
required: ["meta"],
|
|
1716
|
+
additionalProperties: true
|
|
1717
|
+
};
|
|
1718
|
+
const Template$i = {
|
|
1719
|
+
title: Cooperative$1.Registry.ResultContributionAct.title,
|
|
1720
|
+
description: Cooperative$1.Registry.ResultContributionAct.description,
|
|
1721
|
+
model: Schema$i,
|
|
1722
|
+
context: Cooperative$1.Registry.ResultContributionAct.context,
|
|
1723
|
+
translations: Cooperative$1.Registry.ResultContributionAct.translations
|
|
1724
|
+
};
|
|
1725
|
+
|
|
1726
|
+
const ResultContributionAct = {
|
|
1727
|
+
__proto__: null,
|
|
1728
|
+
Schema: Schema$i,
|
|
1729
|
+
Template: Template$i,
|
|
1730
|
+
registry_id: registry_id$i
|
|
1731
|
+
};
|
|
1732
|
+
|
|
1733
|
+
const registry_id$h = Cooperative$1.Registry.GetLoanStatement.registry_id;
|
|
1734
|
+
const Schema$h = {
|
|
1735
|
+
type: "object",
|
|
1736
|
+
properties: {
|
|
1737
|
+
meta: IMetaJSONSchema
|
|
1738
|
+
},
|
|
1739
|
+
required: ["meta"],
|
|
1740
|
+
additionalProperties: true
|
|
1741
|
+
};
|
|
1742
|
+
const Template$h = {
|
|
1743
|
+
title: Cooperative$1.Registry.GetLoanStatement.title,
|
|
1744
|
+
description: Cooperative$1.Registry.GetLoanStatement.description,
|
|
1745
|
+
model: Schema$h,
|
|
1746
|
+
context: Cooperative$1.Registry.GetLoanStatement.context,
|
|
1747
|
+
translations: Cooperative$1.Registry.GetLoanStatement.translations
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1750
|
+
const GetLoanStatement = {
|
|
1751
|
+
__proto__: null,
|
|
1752
|
+
Schema: Schema$h,
|
|
1753
|
+
Template: Template$h,
|
|
1754
|
+
registry_id: registry_id$h
|
|
1755
|
+
};
|
|
1756
|
+
|
|
1757
|
+
const registry_id$g = Cooperative$1.Registry.GetLoanDecision.registry_id;
|
|
1758
|
+
const Schema$g = {
|
|
1759
|
+
type: "object",
|
|
1760
|
+
properties: {
|
|
1761
|
+
meta: IMetaJSONSchema
|
|
1762
|
+
},
|
|
1763
|
+
required: ["meta"],
|
|
1764
|
+
additionalProperties: true
|
|
1765
|
+
};
|
|
1766
|
+
const Template$g = {
|
|
1767
|
+
title: Cooperative$1.Registry.GetLoanDecision.title,
|
|
1768
|
+
description: Cooperative$1.Registry.GetLoanDecision.description,
|
|
1769
|
+
model: Schema$g,
|
|
1770
|
+
context: Cooperative$1.Registry.GetLoanDecision.context,
|
|
1771
|
+
translations: Cooperative$1.Registry.GetLoanDecision.translations
|
|
1772
|
+
};
|
|
1773
|
+
|
|
1774
|
+
const GetLoanDecision = {
|
|
1775
|
+
__proto__: null,
|
|
1776
|
+
Schema: Schema$g,
|
|
1777
|
+
Template: Template$g,
|
|
1778
|
+
registry_id: registry_id$g
|
|
1779
|
+
};
|
|
1780
|
+
|
|
1781
|
+
const registry_id$f = Cooperative$1.Registry.GenerationPropertyInvestStatement.registry_id;
|
|
1782
|
+
const Schema$f = {
|
|
1783
|
+
type: "object",
|
|
1784
|
+
properties: {
|
|
1785
|
+
meta: IMetaJSONSchema
|
|
1786
|
+
},
|
|
1787
|
+
required: ["meta"],
|
|
1788
|
+
additionalProperties: true
|
|
1789
|
+
};
|
|
1790
|
+
const Template$f = {
|
|
1791
|
+
title: Cooperative$1.Registry.GenerationPropertyInvestStatement.title,
|
|
1792
|
+
description: Cooperative$1.Registry.GenerationPropertyInvestStatement.description,
|
|
1793
|
+
model: Schema$f,
|
|
1794
|
+
context: Cooperative$1.Registry.GenerationPropertyInvestStatement.context,
|
|
1795
|
+
translations: Cooperative$1.Registry.GenerationPropertyInvestStatement.translations
|
|
1796
|
+
};
|
|
1797
|
+
|
|
1798
|
+
const GenerationPropertyInvestStatement = {
|
|
1799
|
+
__proto__: null,
|
|
1800
|
+
Schema: Schema$f,
|
|
1801
|
+
Template: Template$f,
|
|
1802
|
+
registry_id: registry_id$f
|
|
1803
|
+
};
|
|
1804
|
+
|
|
1805
|
+
const registry_id$e = Cooperative$1.Registry.GenerationPropertyInvestDecision.registry_id;
|
|
1806
|
+
const Schema$e = {
|
|
1807
|
+
type: "object",
|
|
1808
|
+
properties: {
|
|
1809
|
+
meta: IMetaJSONSchema
|
|
1810
|
+
},
|
|
1811
|
+
required: ["meta"],
|
|
1812
|
+
additionalProperties: true
|
|
1813
|
+
};
|
|
1814
|
+
const Template$e = {
|
|
1815
|
+
title: Cooperative$1.Registry.GenerationPropertyInvestDecision.title,
|
|
1816
|
+
description: Cooperative$1.Registry.GenerationPropertyInvestDecision.description,
|
|
1817
|
+
model: Schema$e,
|
|
1818
|
+
context: Cooperative$1.Registry.GenerationPropertyInvestDecision.context,
|
|
1819
|
+
translations: Cooperative$1.Registry.GenerationPropertyInvestDecision.translations
|
|
1820
|
+
};
|
|
1821
|
+
|
|
1822
|
+
const GenerationPropertyInvestDecision = {
|
|
1823
|
+
__proto__: null,
|
|
1824
|
+
Schema: Schema$e,
|
|
1825
|
+
Template: Template$e,
|
|
1826
|
+
registry_id: registry_id$e
|
|
1827
|
+
};
|
|
1828
|
+
|
|
1829
|
+
const registry_id$d = Cooperative$1.Registry.GenerationPropertyInvestAct.registry_id;
|
|
1830
|
+
const Schema$d = {
|
|
1831
|
+
type: "object",
|
|
1832
|
+
properties: {
|
|
1833
|
+
meta: IMetaJSONSchema
|
|
1834
|
+
},
|
|
1835
|
+
required: ["meta"],
|
|
1836
|
+
additionalProperties: true
|
|
1837
|
+
};
|
|
1838
|
+
const Template$d = {
|
|
1839
|
+
title: Cooperative$1.Registry.GenerationPropertyInvestAct.title,
|
|
1840
|
+
description: Cooperative$1.Registry.GenerationPropertyInvestAct.description,
|
|
1841
|
+
model: Schema$d,
|
|
1842
|
+
context: Cooperative$1.Registry.GenerationPropertyInvestAct.context,
|
|
1843
|
+
translations: Cooperative$1.Registry.GenerationPropertyInvestAct.translations
|
|
1844
|
+
};
|
|
1845
|
+
|
|
1846
|
+
const GenerationPropertyInvestAct = {
|
|
1847
|
+
__proto__: null,
|
|
1848
|
+
Schema: Schema$d,
|
|
1849
|
+
Template: Template$d,
|
|
1850
|
+
registry_id: registry_id$d
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1853
|
+
const registry_id$c = Cooperative$1.Registry.CapitalizationPropertyInvestStatement.registry_id;
|
|
1854
|
+
const Schema$c = {
|
|
1855
|
+
type: "object",
|
|
1856
|
+
properties: {
|
|
1857
|
+
meta: IMetaJSONSchema
|
|
1858
|
+
},
|
|
1859
|
+
required: ["meta"],
|
|
1860
|
+
additionalProperties: true
|
|
1861
|
+
};
|
|
1862
|
+
const Template$c = {
|
|
1863
|
+
title: Cooperative$1.Registry.CapitalizationPropertyInvestStatement.title,
|
|
1864
|
+
description: Cooperative$1.Registry.CapitalizationPropertyInvestStatement.description,
|
|
1865
|
+
model: Schema$c,
|
|
1866
|
+
context: Cooperative$1.Registry.CapitalizationPropertyInvestStatement.context,
|
|
1867
|
+
translations: Cooperative$1.Registry.CapitalizationPropertyInvestStatement.translations
|
|
1868
|
+
};
|
|
1869
|
+
|
|
1870
|
+
const CapitalizationPropertyInvestStatement = {
|
|
1871
|
+
__proto__: null,
|
|
1872
|
+
Schema: Schema$c,
|
|
1873
|
+
Template: Template$c,
|
|
1874
|
+
registry_id: registry_id$c
|
|
1875
|
+
};
|
|
1876
|
+
|
|
1877
|
+
const registry_id$b = Cooperative$1.Registry.CapitalizationPropertyInvestDecision.registry_id;
|
|
1878
|
+
const Schema$b = {
|
|
1879
|
+
type: "object",
|
|
1880
|
+
properties: {
|
|
1881
|
+
meta: IMetaJSONSchema
|
|
1882
|
+
},
|
|
1883
|
+
required: ["meta"],
|
|
1884
|
+
additionalProperties: true
|
|
1885
|
+
};
|
|
1886
|
+
const Template$b = {
|
|
1887
|
+
title: Cooperative$1.Registry.CapitalizationPropertyInvestDecision.title,
|
|
1888
|
+
description: Cooperative$1.Registry.CapitalizationPropertyInvestDecision.description,
|
|
1889
|
+
model: Schema$b,
|
|
1890
|
+
context: Cooperative$1.Registry.CapitalizationPropertyInvestDecision.context,
|
|
1891
|
+
translations: Cooperative$1.Registry.CapitalizationPropertyInvestDecision.translations
|
|
1892
|
+
};
|
|
1893
|
+
|
|
1894
|
+
const CapitalizationPropertyInvestDecision = {
|
|
1895
|
+
__proto__: null,
|
|
1896
|
+
Schema: Schema$b,
|
|
1897
|
+
Template: Template$b,
|
|
1898
|
+
registry_id: registry_id$b
|
|
1899
|
+
};
|
|
1900
|
+
|
|
1901
|
+
const registry_id$a = Cooperative$1.Registry.CapitalizationPropertyInvestAct.registry_id;
|
|
1902
|
+
const Schema$a = {
|
|
1903
|
+
type: "object",
|
|
1904
|
+
properties: {
|
|
1905
|
+
meta: IMetaJSONSchema
|
|
1906
|
+
},
|
|
1907
|
+
required: ["meta"],
|
|
1908
|
+
additionalProperties: true
|
|
1909
|
+
};
|
|
1910
|
+
const Template$a = {
|
|
1911
|
+
title: Cooperative$1.Registry.CapitalizationPropertyInvestAct.title,
|
|
1912
|
+
description: Cooperative$1.Registry.CapitalizationPropertyInvestAct.description,
|
|
1913
|
+
model: Schema$a,
|
|
1914
|
+
context: Cooperative$1.Registry.CapitalizationPropertyInvestAct.context,
|
|
1915
|
+
translations: Cooperative$1.Registry.CapitalizationPropertyInvestAct.translations
|
|
1916
|
+
};
|
|
1917
|
+
|
|
1918
|
+
const CapitalizationPropertyInvestAct = {
|
|
1919
|
+
__proto__: null,
|
|
1920
|
+
Schema: Schema$a,
|
|
1921
|
+
Template: Template$a,
|
|
1922
|
+
registry_id: registry_id$a
|
|
1923
|
+
};
|
|
1924
|
+
|
|
1925
|
+
const registry_id$9 = Cooperative$1.Registry.GenerationToMainWalletConvertStatement.registry_id;
|
|
1926
|
+
const Schema$9 = {
|
|
1927
|
+
type: "object",
|
|
1928
|
+
properties: {
|
|
1929
|
+
meta: IMetaJSONSchema
|
|
1930
|
+
},
|
|
1931
|
+
required: ["meta"],
|
|
1932
|
+
additionalProperties: true
|
|
1933
|
+
};
|
|
1934
|
+
const Template$9 = {
|
|
1935
|
+
title: Cooperative$1.Registry.GenerationToMainWalletConvertStatement.title,
|
|
1936
|
+
description: Cooperative$1.Registry.GenerationToMainWalletConvertStatement.description,
|
|
1937
|
+
model: Schema$9,
|
|
1938
|
+
context: Cooperative$1.Registry.GenerationToMainWalletConvertStatement.context,
|
|
1939
|
+
translations: Cooperative$1.Registry.GenerationToMainWalletConvertStatement.translations
|
|
1940
|
+
};
|
|
1941
|
+
|
|
1942
|
+
const GenerationToMainWalletConvertStatement = {
|
|
1943
|
+
__proto__: null,
|
|
1944
|
+
Schema: Schema$9,
|
|
1945
|
+
Template: Template$9,
|
|
1946
|
+
registry_id: registry_id$9
|
|
1947
|
+
};
|
|
1948
|
+
|
|
1949
|
+
const registry_id$8 = Cooperative$1.Registry.GenerationToProjectConvertStatement.registry_id;
|
|
1950
|
+
const Schema$8 = {
|
|
1951
|
+
type: "object",
|
|
1952
|
+
properties: {
|
|
1953
|
+
meta: IMetaJSONSchema
|
|
1954
|
+
},
|
|
1955
|
+
required: ["meta"],
|
|
1956
|
+
additionalProperties: true
|
|
1957
|
+
};
|
|
1958
|
+
const Template$8 = {
|
|
1959
|
+
title: Cooperative$1.Registry.GenerationToProjectConvertStatement.title,
|
|
1960
|
+
description: Cooperative$1.Registry.GenerationToProjectConvertStatement.description,
|
|
1961
|
+
model: Schema$8,
|
|
1962
|
+
context: Cooperative$1.Registry.GenerationToProjectConvertStatement.context,
|
|
1963
|
+
translations: Cooperative$1.Registry.GenerationToProjectConvertStatement.translations
|
|
1964
|
+
};
|
|
1965
|
+
|
|
1966
|
+
const GenerationToProjectConvertStatement = {
|
|
1967
|
+
__proto__: null,
|
|
1968
|
+
Schema: Schema$8,
|
|
1969
|
+
Template: Template$8,
|
|
1970
|
+
registry_id: registry_id$8
|
|
1971
|
+
};
|
|
1972
|
+
|
|
1973
|
+
const registry_id$7 = Cooperative$1.Registry.GenerationToCapitalizationConvertStatement.registry_id;
|
|
1974
|
+
const Schema$7 = {
|
|
1975
|
+
type: "object",
|
|
1976
|
+
properties: {
|
|
1977
|
+
meta: IMetaJSONSchema
|
|
1978
|
+
},
|
|
1979
|
+
required: ["meta"],
|
|
1980
|
+
additionalProperties: true
|
|
1981
|
+
};
|
|
1982
|
+
const Template$7 = {
|
|
1983
|
+
title: Cooperative$1.Registry.GenerationToCapitalizationConvertStatement.title,
|
|
1984
|
+
description: Cooperative$1.Registry.GenerationToCapitalizationConvertStatement.description,
|
|
1985
|
+
model: Schema$7,
|
|
1986
|
+
context: Cooperative$1.Registry.GenerationToCapitalizationConvertStatement.context,
|
|
1987
|
+
translations: Cooperative$1.Registry.GenerationToCapitalizationConvertStatement.translations
|
|
1988
|
+
};
|
|
1989
|
+
|
|
1990
|
+
const GenerationToCapitalizationConvertStatement = {
|
|
1991
|
+
__proto__: null,
|
|
1992
|
+
Schema: Schema$7,
|
|
1993
|
+
Template: Template$7,
|
|
1994
|
+
registry_id: registry_id$7
|
|
1995
|
+
};
|
|
1996
|
+
|
|
1997
|
+
const registry_id$6 = Cooperative$1.Registry.CapitalizationToMainWalletConvertStatement.registry_id;
|
|
1689
1998
|
const Schema$6 = {
|
|
1690
1999
|
type: "object",
|
|
1691
2000
|
properties: {
|
|
1692
|
-
meta: IMetaJSONSchema
|
|
1693
|
-
coop: CooperativeSchema,
|
|
1694
|
-
uhdContract: UHDContractSchema,
|
|
1695
|
-
user: CommonUserSchema,
|
|
1696
|
-
vars: VarsSchema,
|
|
1697
|
-
contribution: ContributionAmountSchema,
|
|
1698
|
-
appendix: {
|
|
1699
|
-
type: "object",
|
|
1700
|
-
properties: {
|
|
1701
|
-
number: { type: "string" }
|
|
1702
|
-
},
|
|
1703
|
-
required: ["number"],
|
|
1704
|
-
additionalProperties: true
|
|
1705
|
-
}
|
|
2001
|
+
meta: IMetaJSONSchema
|
|
1706
2002
|
},
|
|
1707
|
-
required: ["meta"
|
|
2003
|
+
required: ["meta"],
|
|
1708
2004
|
additionalProperties: true
|
|
1709
2005
|
};
|
|
1710
2006
|
const Template$6 = {
|
|
1711
|
-
title: Cooperative$1.Registry.
|
|
1712
|
-
description: Cooperative$1.Registry.
|
|
2007
|
+
title: Cooperative$1.Registry.CapitalizationToMainWalletConvertStatement.title,
|
|
2008
|
+
description: Cooperative$1.Registry.CapitalizationToMainWalletConvertStatement.description,
|
|
1713
2009
|
model: Schema$6,
|
|
1714
|
-
context: Cooperative$1.Registry.
|
|
1715
|
-
translations: Cooperative$1.Registry.
|
|
2010
|
+
context: Cooperative$1.Registry.CapitalizationToMainWalletConvertStatement.context,
|
|
2011
|
+
translations: Cooperative$1.Registry.CapitalizationToMainWalletConvertStatement.translations
|
|
1716
2012
|
};
|
|
1717
2013
|
|
|
1718
|
-
const
|
|
2014
|
+
const CapitalizationToMainWalletConvertStatement = {
|
|
1719
2015
|
__proto__: null,
|
|
1720
2016
|
Schema: Schema$6,
|
|
1721
2017
|
Template: Template$6,
|
|
@@ -1963,11 +2259,29 @@ const Registry = {
|
|
|
1963
2259
|
802: ReturnByAssetAct,
|
|
1964
2260
|
900: ReturnByMoney,
|
|
1965
2261
|
901: ReturnByMoneyDecision,
|
|
1966
|
-
1e3:
|
|
1967
|
-
1001:
|
|
1968
|
-
1002:
|
|
1969
|
-
|
|
1970
|
-
|
|
2262
|
+
1e3: CapitalizationAgreement,
|
|
2263
|
+
1001: GenerationAgreement,
|
|
2264
|
+
1002: AppendixGenerationAgreement,
|
|
2265
|
+
1010: ExpenseStatement,
|
|
2266
|
+
1011: ExpenseDecision,
|
|
2267
|
+
1020: GenerationMoneyInvestStatement,
|
|
2268
|
+
1025: GenerationMoneyReturnUnusedStatement,
|
|
2269
|
+
1030: CapitalizationMoneyInvestStatement,
|
|
2270
|
+
1040: ResultContributionStatement,
|
|
2271
|
+
1041: ResultContributionDecision,
|
|
2272
|
+
1042: ResultContributionAct,
|
|
2273
|
+
1050: GetLoanStatement,
|
|
2274
|
+
1051: GetLoanDecision,
|
|
2275
|
+
1060: GenerationPropertyInvestStatement,
|
|
2276
|
+
1061: GenerationPropertyInvestDecision,
|
|
2277
|
+
1062: GenerationPropertyInvestAct,
|
|
2278
|
+
1070: CapitalizationPropertyInvestStatement,
|
|
2279
|
+
1071: CapitalizationPropertyInvestDecision,
|
|
2280
|
+
1072: CapitalizationPropertyInvestAct,
|
|
2281
|
+
1080: GenerationToMainWalletConvertStatement,
|
|
2282
|
+
1081: GenerationToProjectConvertStatement,
|
|
2283
|
+
1082: GenerationToCapitalizationConvertStatement,
|
|
2284
|
+
1090: CapitalizationToMainWalletConvertStatement
|
|
1971
2285
|
};
|
|
1972
2286
|
|
|
1973
2287
|
var __defProp$d = Object.defineProperty;
|
|
@@ -2903,7 +3217,7 @@ class PDFService {
|
|
|
2903
3217
|
|
|
2904
3218
|
const name = "@coopenomics/factory";
|
|
2905
3219
|
const type = "module";
|
|
2906
|
-
const version = "2025.
|
|
3220
|
+
const version = "2025.11.7";
|
|
2907
3221
|
const description = "";
|
|
2908
3222
|
const author = "Alex Ant <chairman.voskhod@gmail.com>";
|
|
2909
3223
|
const license = "MIT";
|
|
@@ -2953,7 +3267,7 @@ const dependencies = {
|
|
|
2953
3267
|
"ajv-formats": "^3.0.1",
|
|
2954
3268
|
"ajv-i18n": "^4.2.0",
|
|
2955
3269
|
axios: "^1.7.2",
|
|
2956
|
-
cooptypes: "2025.
|
|
3270
|
+
cooptypes: "2025.11.7",
|
|
2957
3271
|
dotenv: "^16.4.5",
|
|
2958
3272
|
"eosjs-ecc": "^4.0.7",
|
|
2959
3273
|
handlebars: "^4.7.8",
|
|
@@ -2984,7 +3298,7 @@ const devDependencies = {
|
|
|
2984
3298
|
vite: "^5.2.11",
|
|
2985
3299
|
vitest: "^1.6.0"
|
|
2986
3300
|
};
|
|
2987
|
-
const gitHead = "
|
|
3301
|
+
const gitHead = "11f23bbd77d0579b76ce896a31201d307333f1e0";
|
|
2988
3302
|
const packageJson = {
|
|
2989
3303
|
name: name,
|
|
2990
3304
|
type: type,
|
|
@@ -3269,7 +3583,6 @@ class DocFactory {
|
|
|
3269
3583
|
* @returns 'for', 'against' или 'abstained'
|
|
3270
3584
|
*/
|
|
3271
3585
|
getUserVote(question, username) {
|
|
3272
|
-
console.log(question, username);
|
|
3273
3586
|
if (question.voters_for && question.voters_for.includes(username)) {
|
|
3274
3587
|
return "for";
|
|
3275
3588
|
}
|
|
@@ -3492,16 +3805,16 @@ class DocFactory {
|
|
|
3492
3805
|
}
|
|
3493
3806
|
}
|
|
3494
3807
|
|
|
3495
|
-
let Factory$
|
|
3808
|
+
let Factory$K = class Factory extends DocFactory {
|
|
3496
3809
|
constructor(storage) {
|
|
3497
3810
|
super(storage);
|
|
3498
3811
|
}
|
|
3499
3812
|
async generateDocument(data, options) {
|
|
3500
3813
|
let template;
|
|
3501
3814
|
if (process.env.SOURCE === "local") {
|
|
3502
|
-
template = Template$
|
|
3815
|
+
template = Template$K;
|
|
3503
3816
|
} else {
|
|
3504
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3817
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$K, data.block_num);
|
|
3505
3818
|
}
|
|
3506
3819
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3507
3820
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -3519,16 +3832,16 @@ let Factory$s = class Factory extends DocFactory {
|
|
|
3519
3832
|
}
|
|
3520
3833
|
};
|
|
3521
3834
|
|
|
3522
|
-
let Factory$
|
|
3835
|
+
let Factory$J = class Factory extends DocFactory {
|
|
3523
3836
|
constructor(storage) {
|
|
3524
3837
|
super(storage);
|
|
3525
3838
|
}
|
|
3526
3839
|
async generateDocument(data, options) {
|
|
3527
3840
|
let template;
|
|
3528
3841
|
if (process.env.SOURCE === "local") {
|
|
3529
|
-
template = Template$
|
|
3842
|
+
template = Template$J;
|
|
3530
3843
|
} else {
|
|
3531
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3844
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$J, data.block_num);
|
|
3532
3845
|
}
|
|
3533
3846
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3534
3847
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -3546,16 +3859,16 @@ let Factory$r = class Factory extends DocFactory {
|
|
|
3546
3859
|
}
|
|
3547
3860
|
};
|
|
3548
3861
|
|
|
3549
|
-
let Factory$
|
|
3862
|
+
let Factory$I = class Factory extends DocFactory {
|
|
3550
3863
|
constructor(storage) {
|
|
3551
3864
|
super(storage);
|
|
3552
3865
|
}
|
|
3553
3866
|
async generateDocument(data, options) {
|
|
3554
3867
|
let template;
|
|
3555
3868
|
if (process.env.SOURCE === "local") {
|
|
3556
|
-
template = Template$
|
|
3869
|
+
template = Template$I;
|
|
3557
3870
|
} else {
|
|
3558
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3871
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$I, data.block_num);
|
|
3559
3872
|
}
|
|
3560
3873
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3561
3874
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -3573,16 +3886,16 @@ let Factory$q = class Factory extends DocFactory {
|
|
|
3573
3886
|
}
|
|
3574
3887
|
};
|
|
3575
3888
|
|
|
3576
|
-
let Factory$
|
|
3889
|
+
let Factory$H = class Factory extends DocFactory {
|
|
3577
3890
|
constructor(storage) {
|
|
3578
3891
|
super(storage);
|
|
3579
3892
|
}
|
|
3580
3893
|
async generateDocument(data, options) {
|
|
3581
3894
|
let template;
|
|
3582
3895
|
if (process.env.SOURCE === "local") {
|
|
3583
|
-
template = Template$
|
|
3896
|
+
template = Template$H;
|
|
3584
3897
|
} else {
|
|
3585
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3898
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$H, data.block_num);
|
|
3586
3899
|
}
|
|
3587
3900
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3588
3901
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -3604,16 +3917,16 @@ let Factory$p = class Factory extends DocFactory {
|
|
|
3604
3917
|
}
|
|
3605
3918
|
};
|
|
3606
3919
|
|
|
3607
|
-
let Factory$
|
|
3920
|
+
let Factory$G = class Factory extends DocFactory {
|
|
3608
3921
|
constructor(storage) {
|
|
3609
3922
|
super(storage);
|
|
3610
3923
|
}
|
|
3611
3924
|
async generateDocument(data, options) {
|
|
3612
3925
|
let template;
|
|
3613
3926
|
if (process.env.SOURCE === "local") {
|
|
3614
|
-
template = Template$
|
|
3927
|
+
template = Template$G;
|
|
3615
3928
|
} else {
|
|
3616
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3929
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$G, data.block_num);
|
|
3617
3930
|
}
|
|
3618
3931
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3619
3932
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -3633,16 +3946,16 @@ let Factory$o = class Factory extends DocFactory {
|
|
|
3633
3946
|
}
|
|
3634
3947
|
};
|
|
3635
3948
|
|
|
3636
|
-
let Factory$
|
|
3949
|
+
let Factory$F = class Factory extends DocFactory {
|
|
3637
3950
|
constructor(storage) {
|
|
3638
3951
|
super(storage);
|
|
3639
3952
|
}
|
|
3640
3953
|
async generateDocument(data, _options) {
|
|
3641
3954
|
let template;
|
|
3642
3955
|
if (process.env.SOURCE === "local") {
|
|
3643
|
-
template = Template$
|
|
3956
|
+
template = Template$D;
|
|
3644
3957
|
} else {
|
|
3645
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3958
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$D, data.block_num);
|
|
3646
3959
|
}
|
|
3647
3960
|
const user = await super.getUser(data.username, data.block_num);
|
|
3648
3961
|
const userData = {
|
|
@@ -3664,16 +3977,16 @@ let Factory$n = class Factory extends DocFactory {
|
|
|
3664
3977
|
}
|
|
3665
3978
|
};
|
|
3666
3979
|
|
|
3667
|
-
let Factory$
|
|
3980
|
+
let Factory$E = class Factory extends DocFactory {
|
|
3668
3981
|
constructor(storage) {
|
|
3669
3982
|
super(storage);
|
|
3670
3983
|
}
|
|
3671
3984
|
async generateDocument(data, _options) {
|
|
3672
3985
|
let template;
|
|
3673
3986
|
if (process.env.SOURCE === "local") {
|
|
3674
|
-
template = Template$
|
|
3987
|
+
template = Template$F;
|
|
3675
3988
|
} else {
|
|
3676
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3989
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$F, data.block_num);
|
|
3677
3990
|
}
|
|
3678
3991
|
const user = await super.getUser(data.username, data.block_num);
|
|
3679
3992
|
let bank_account = {};
|
|
@@ -3734,16 +4047,16 @@ let Factory$m = class Factory extends DocFactory {
|
|
|
3734
4047
|
}
|
|
3735
4048
|
};
|
|
3736
4049
|
|
|
3737
|
-
let Factory$
|
|
4050
|
+
let Factory$D = class Factory extends DocFactory {
|
|
3738
4051
|
constructor(storage) {
|
|
3739
4052
|
super(storage);
|
|
3740
4053
|
}
|
|
3741
4054
|
async generateDocument(data, options) {
|
|
3742
4055
|
let template;
|
|
3743
4056
|
if (process.env.SOURCE === "local") {
|
|
3744
|
-
template = Template$
|
|
4057
|
+
template = Template$E;
|
|
3745
4058
|
} else {
|
|
3746
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4059
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$E, data.block_num);
|
|
3747
4060
|
}
|
|
3748
4061
|
const user = await super.getUser(data.username, data.block_num);
|
|
3749
4062
|
const userData = {
|
|
@@ -3783,16 +4096,16 @@ let Factory$l = class Factory extends DocFactory {
|
|
|
3783
4096
|
}
|
|
3784
4097
|
};
|
|
3785
4098
|
|
|
3786
|
-
let Factory$
|
|
4099
|
+
let Factory$C = class Factory extends DocFactory {
|
|
3787
4100
|
constructor(storage) {
|
|
3788
4101
|
super(storage);
|
|
3789
4102
|
}
|
|
3790
4103
|
async generateDocument(data, options) {
|
|
3791
4104
|
let template;
|
|
3792
4105
|
if (process.env.SOURCE === "local") {
|
|
3793
|
-
template = Template$
|
|
4106
|
+
template = Template$C;
|
|
3794
4107
|
} else {
|
|
3795
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4108
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$C, data.block_num);
|
|
3796
4109
|
}
|
|
3797
4110
|
const user = await this.getUser(data.username, data.block_num);
|
|
3798
4111
|
const suggester_name = await this.getFullName(user.data);
|
|
@@ -3828,16 +4141,16 @@ let Factory$k = class Factory extends DocFactory {
|
|
|
3828
4141
|
}
|
|
3829
4142
|
};
|
|
3830
4143
|
|
|
3831
|
-
let Factory$
|
|
4144
|
+
let Factory$B = class Factory extends DocFactory {
|
|
3832
4145
|
constructor(storage) {
|
|
3833
4146
|
super(storage);
|
|
3834
4147
|
}
|
|
3835
4148
|
async generateDocument(data, options) {
|
|
3836
4149
|
let template;
|
|
3837
4150
|
if (process.env.SOURCE === "local") {
|
|
3838
|
-
template = Template$
|
|
4151
|
+
template = Template$B;
|
|
3839
4152
|
} else {
|
|
3840
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4153
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$B, data.block_num);
|
|
3841
4154
|
}
|
|
3842
4155
|
const user = await this.getUser(data.username, data.block_num);
|
|
3843
4156
|
const userData = {
|
|
@@ -3880,16 +4193,16 @@ let Factory$j = class Factory extends DocFactory {
|
|
|
3880
4193
|
}
|
|
3881
4194
|
};
|
|
3882
4195
|
|
|
3883
|
-
let Factory$
|
|
4196
|
+
let Factory$A = class Factory extends DocFactory {
|
|
3884
4197
|
constructor(storage) {
|
|
3885
4198
|
super(storage);
|
|
3886
4199
|
}
|
|
3887
4200
|
async generateDocument(data, options) {
|
|
3888
4201
|
let template;
|
|
3889
4202
|
if (process.env.SOURCE === "local") {
|
|
3890
|
-
template = Template$
|
|
4203
|
+
template = Template$A;
|
|
3891
4204
|
} else {
|
|
3892
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4205
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$A, data.block_num);
|
|
3893
4206
|
}
|
|
3894
4207
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3895
4208
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -3911,16 +4224,16 @@ let Factory$i = class Factory extends DocFactory {
|
|
|
3911
4224
|
}
|
|
3912
4225
|
};
|
|
3913
4226
|
|
|
3914
|
-
let Factory$
|
|
4227
|
+
let Factory$z = class Factory extends DocFactory {
|
|
3915
4228
|
constructor(storage) {
|
|
3916
4229
|
super(storage);
|
|
3917
4230
|
}
|
|
3918
4231
|
async generateDocument(data, options) {
|
|
3919
4232
|
let template;
|
|
3920
4233
|
if (process.env.SOURCE === "local") {
|
|
3921
|
-
template = Template$
|
|
4234
|
+
template = Template$z;
|
|
3922
4235
|
} else {
|
|
3923
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4236
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$z, data.block_num);
|
|
3924
4237
|
}
|
|
3925
4238
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
3926
4239
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -3942,7 +4255,7 @@ let Factory$h = class Factory extends DocFactory {
|
|
|
3942
4255
|
}
|
|
3943
4256
|
};
|
|
3944
4257
|
|
|
3945
|
-
let Factory$
|
|
4258
|
+
let Factory$y = class Factory extends DocFactory {
|
|
3946
4259
|
constructor(storage) {
|
|
3947
4260
|
super(storage);
|
|
3948
4261
|
}
|
|
@@ -3969,16 +4282,16 @@ let Factory$g = class Factory extends DocFactory {
|
|
|
3969
4282
|
}
|
|
3970
4283
|
};
|
|
3971
4284
|
|
|
3972
|
-
let Factory$
|
|
4285
|
+
let Factory$x = class Factory extends DocFactory {
|
|
3973
4286
|
constructor(storage) {
|
|
3974
4287
|
super(storage);
|
|
3975
4288
|
}
|
|
3976
4289
|
async generateDocument(data, options) {
|
|
3977
4290
|
let template;
|
|
3978
4291
|
if (process.env.SOURCE === "local") {
|
|
3979
|
-
template = Template$
|
|
4292
|
+
template = Template$y;
|
|
3980
4293
|
} else {
|
|
3981
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4294
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$y, data.block_num);
|
|
3982
4295
|
}
|
|
3983
4296
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
3984
4297
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -4002,16 +4315,16 @@ let Factory$f = class Factory extends DocFactory {
|
|
|
4002
4315
|
}
|
|
4003
4316
|
};
|
|
4004
4317
|
|
|
4005
|
-
let Factory$
|
|
4318
|
+
let Factory$w = class Factory extends DocFactory {
|
|
4006
4319
|
constructor(storage) {
|
|
4007
4320
|
super(storage);
|
|
4008
4321
|
}
|
|
4009
4322
|
async generateDocument(data, options) {
|
|
4010
4323
|
let template;
|
|
4011
4324
|
if (process.env.SOURCE === "local") {
|
|
4012
|
-
template = Template$
|
|
4325
|
+
template = Template$w;
|
|
4013
4326
|
} else {
|
|
4014
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4327
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$w, data.block_num);
|
|
4015
4328
|
}
|
|
4016
4329
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4017
4330
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -4046,16 +4359,16 @@ let Factory$e = class Factory extends DocFactory {
|
|
|
4046
4359
|
}
|
|
4047
4360
|
};
|
|
4048
4361
|
|
|
4049
|
-
let Factory$
|
|
4362
|
+
let Factory$v = class Factory extends DocFactory {
|
|
4050
4363
|
constructor(storage) {
|
|
4051
4364
|
super(storage);
|
|
4052
4365
|
}
|
|
4053
4366
|
async generateDocument(data, options) {
|
|
4054
4367
|
let template;
|
|
4055
4368
|
if (process.env.SOURCE === "local") {
|
|
4056
|
-
template = Template$
|
|
4369
|
+
template = Template$x;
|
|
4057
4370
|
} else {
|
|
4058
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4371
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$x, data.block_num);
|
|
4059
4372
|
}
|
|
4060
4373
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4061
4374
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -4079,16 +4392,16 @@ let Factory$d = class Factory extends DocFactory {
|
|
|
4079
4392
|
}
|
|
4080
4393
|
};
|
|
4081
4394
|
|
|
4082
|
-
let Factory$
|
|
4395
|
+
let Factory$u = class Factory extends DocFactory {
|
|
4083
4396
|
constructor(storage) {
|
|
4084
4397
|
super(storage);
|
|
4085
4398
|
}
|
|
4086
4399
|
async generateDocument(data, options) {
|
|
4087
4400
|
let template;
|
|
4088
4401
|
if (process.env.SOURCE === "local") {
|
|
4089
|
-
template = Template$
|
|
4402
|
+
template = Template$v;
|
|
4090
4403
|
} else {
|
|
4091
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4404
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$v, data.block_num);
|
|
4092
4405
|
}
|
|
4093
4406
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4094
4407
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -4123,16 +4436,16 @@ let Factory$c = class Factory extends DocFactory {
|
|
|
4123
4436
|
}
|
|
4124
4437
|
};
|
|
4125
4438
|
|
|
4126
|
-
let Factory$
|
|
4439
|
+
let Factory$t = class Factory extends DocFactory {
|
|
4127
4440
|
constructor(storage) {
|
|
4128
4441
|
super(storage);
|
|
4129
4442
|
}
|
|
4130
4443
|
async generateDocument(data, options) {
|
|
4131
4444
|
let template;
|
|
4132
4445
|
if (process.env.SOURCE === "local") {
|
|
4133
|
-
template = Template$
|
|
4446
|
+
template = Template$u;
|
|
4134
4447
|
} else {
|
|
4135
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4448
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$u, data.block_num);
|
|
4136
4449
|
}
|
|
4137
4450
|
console.log(data);
|
|
4138
4451
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
@@ -4166,16 +4479,16 @@ let Factory$b = class Factory extends DocFactory {
|
|
|
4166
4479
|
}
|
|
4167
4480
|
};
|
|
4168
4481
|
|
|
4169
|
-
let Factory$
|
|
4482
|
+
let Factory$s = class Factory extends DocFactory {
|
|
4170
4483
|
constructor(storage) {
|
|
4171
4484
|
super(storage);
|
|
4172
4485
|
}
|
|
4173
4486
|
async generateDocument(data, options) {
|
|
4174
4487
|
let template;
|
|
4175
4488
|
if (process.env.SOURCE === "local") {
|
|
4176
|
-
template = Template$
|
|
4489
|
+
template = Template$t;
|
|
4177
4490
|
} else {
|
|
4178
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
4491
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$t, data.block_num);
|
|
4179
4492
|
}
|
|
4180
4493
|
const user = await super.getUser(data.username, data.block_num);
|
|
4181
4494
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -4213,6 +4526,367 @@ let Factory$a = class Factory extends DocFactory {
|
|
|
4213
4526
|
}
|
|
4214
4527
|
};
|
|
4215
4528
|
|
|
4529
|
+
let Factory$r = class Factory extends DocFactory {
|
|
4530
|
+
constructor(storage) {
|
|
4531
|
+
super(storage);
|
|
4532
|
+
}
|
|
4533
|
+
async generateDocument(data, options) {
|
|
4534
|
+
let template;
|
|
4535
|
+
if (process.env.SOURCE === "local") {
|
|
4536
|
+
template = Template$s;
|
|
4537
|
+
} else {
|
|
4538
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$s, data.block_num);
|
|
4539
|
+
}
|
|
4540
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4541
|
+
const combinedData = { meta };
|
|
4542
|
+
await this.validate(combinedData, template.model);
|
|
4543
|
+
const translation = template.translations[meta.lang];
|
|
4544
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4545
|
+
return document;
|
|
4546
|
+
}
|
|
4547
|
+
};
|
|
4548
|
+
|
|
4549
|
+
let Factory$q = class Factory extends DocFactory {
|
|
4550
|
+
constructor(storage) {
|
|
4551
|
+
super(storage);
|
|
4552
|
+
}
|
|
4553
|
+
async generateDocument(data, options) {
|
|
4554
|
+
let template;
|
|
4555
|
+
if (process.env.SOURCE === "local") {
|
|
4556
|
+
template = Template$r;
|
|
4557
|
+
} else {
|
|
4558
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$r, data.block_num);
|
|
4559
|
+
}
|
|
4560
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4561
|
+
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
4562
|
+
const combinedData = { meta, coop };
|
|
4563
|
+
await this.validate(combinedData, template.model);
|
|
4564
|
+
const translation = template.translations[meta.lang];
|
|
4565
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4566
|
+
return document;
|
|
4567
|
+
}
|
|
4568
|
+
};
|
|
4569
|
+
|
|
4570
|
+
let Factory$p = class Factory extends DocFactory {
|
|
4571
|
+
constructor(storage) {
|
|
4572
|
+
super(storage);
|
|
4573
|
+
}
|
|
4574
|
+
async generateDocument(data, options) {
|
|
4575
|
+
let template;
|
|
4576
|
+
if (process.env.SOURCE === "local") {
|
|
4577
|
+
template = Template$q;
|
|
4578
|
+
} else {
|
|
4579
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$q, data.block_num);
|
|
4580
|
+
}
|
|
4581
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4582
|
+
const combinedData = { meta };
|
|
4583
|
+
await this.validate(combinedData, template.model);
|
|
4584
|
+
const translation = template.translations[meta.lang];
|
|
4585
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4586
|
+
return document;
|
|
4587
|
+
}
|
|
4588
|
+
};
|
|
4589
|
+
|
|
4590
|
+
let Factory$o = class Factory extends DocFactory {
|
|
4591
|
+
constructor(storage) {
|
|
4592
|
+
super(storage);
|
|
4593
|
+
}
|
|
4594
|
+
async generateDocument(data, options) {
|
|
4595
|
+
let template;
|
|
4596
|
+
if (process.env.SOURCE === "local") {
|
|
4597
|
+
template = Template$p;
|
|
4598
|
+
} else {
|
|
4599
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$p, data.block_num);
|
|
4600
|
+
}
|
|
4601
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4602
|
+
const combinedData = { meta };
|
|
4603
|
+
await this.validate(combinedData, template.model);
|
|
4604
|
+
const translation = template.translations[meta.lang];
|
|
4605
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4606
|
+
return document;
|
|
4607
|
+
}
|
|
4608
|
+
};
|
|
4609
|
+
|
|
4610
|
+
let Factory$n = class Factory extends DocFactory {
|
|
4611
|
+
constructor(storage) {
|
|
4612
|
+
super(storage);
|
|
4613
|
+
}
|
|
4614
|
+
async generateDocument(data, options) {
|
|
4615
|
+
let template;
|
|
4616
|
+
if (process.env.SOURCE === "local") {
|
|
4617
|
+
template = Template$o;
|
|
4618
|
+
} else {
|
|
4619
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$o, data.block_num);
|
|
4620
|
+
}
|
|
4621
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4622
|
+
const combinedData = { meta };
|
|
4623
|
+
await this.validate(combinedData, template.model);
|
|
4624
|
+
const translation = template.translations[meta.lang];
|
|
4625
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4626
|
+
return document;
|
|
4627
|
+
}
|
|
4628
|
+
};
|
|
4629
|
+
|
|
4630
|
+
let Factory$m = class Factory extends DocFactory {
|
|
4631
|
+
constructor(storage) {
|
|
4632
|
+
super(storage);
|
|
4633
|
+
}
|
|
4634
|
+
async generateDocument(data, options) {
|
|
4635
|
+
let template;
|
|
4636
|
+
if (process.env.SOURCE === "local") {
|
|
4637
|
+
template = Template$n;
|
|
4638
|
+
} else {
|
|
4639
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$n, data.block_num);
|
|
4640
|
+
}
|
|
4641
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4642
|
+
const combinedData = { meta };
|
|
4643
|
+
await this.validate(combinedData, template.model);
|
|
4644
|
+
const translation = template.translations[meta.lang];
|
|
4645
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4646
|
+
return document;
|
|
4647
|
+
}
|
|
4648
|
+
};
|
|
4649
|
+
|
|
4650
|
+
let Factory$l = class Factory extends DocFactory {
|
|
4651
|
+
constructor(storage) {
|
|
4652
|
+
super(storage);
|
|
4653
|
+
}
|
|
4654
|
+
async generateDocument(data, options) {
|
|
4655
|
+
let template;
|
|
4656
|
+
if (process.env.SOURCE === "local") {
|
|
4657
|
+
template = Template$m;
|
|
4658
|
+
} else {
|
|
4659
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$m, data.block_num);
|
|
4660
|
+
}
|
|
4661
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4662
|
+
const combinedData = { meta };
|
|
4663
|
+
await this.validate(combinedData, template.model);
|
|
4664
|
+
const translation = template.translations[meta.lang];
|
|
4665
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4666
|
+
return document;
|
|
4667
|
+
}
|
|
4668
|
+
};
|
|
4669
|
+
|
|
4670
|
+
let Factory$k = class Factory extends DocFactory {
|
|
4671
|
+
constructor(storage) {
|
|
4672
|
+
super(storage);
|
|
4673
|
+
}
|
|
4674
|
+
async generateDocument(data, options) {
|
|
4675
|
+
let template;
|
|
4676
|
+
if (process.env.SOURCE === "local") {
|
|
4677
|
+
template = Template$l;
|
|
4678
|
+
} else {
|
|
4679
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$l, data.block_num);
|
|
4680
|
+
}
|
|
4681
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4682
|
+
const combinedData = { meta };
|
|
4683
|
+
await this.validate(combinedData, template.model);
|
|
4684
|
+
const translation = template.translations[meta.lang];
|
|
4685
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4686
|
+
return document;
|
|
4687
|
+
}
|
|
4688
|
+
};
|
|
4689
|
+
|
|
4690
|
+
let Factory$j = class Factory extends DocFactory {
|
|
4691
|
+
constructor(storage) {
|
|
4692
|
+
super(storage);
|
|
4693
|
+
}
|
|
4694
|
+
async generateDocument(data, options) {
|
|
4695
|
+
let template;
|
|
4696
|
+
if (process.env.SOURCE === "local") {
|
|
4697
|
+
template = Template$k;
|
|
4698
|
+
} else {
|
|
4699
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$k, data.block_num);
|
|
4700
|
+
}
|
|
4701
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4702
|
+
const combinedData = { meta };
|
|
4703
|
+
await this.validate(combinedData, template.model);
|
|
4704
|
+
const translation = template.translations[meta.lang];
|
|
4705
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4706
|
+
return document;
|
|
4707
|
+
}
|
|
4708
|
+
};
|
|
4709
|
+
|
|
4710
|
+
let Factory$i = class Factory extends DocFactory {
|
|
4711
|
+
constructor(storage) {
|
|
4712
|
+
super(storage);
|
|
4713
|
+
}
|
|
4714
|
+
async generateDocument(data, options) {
|
|
4715
|
+
let template;
|
|
4716
|
+
if (process.env.SOURCE === "local") {
|
|
4717
|
+
template = Template$j;
|
|
4718
|
+
} else {
|
|
4719
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$j, data.block_num);
|
|
4720
|
+
}
|
|
4721
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4722
|
+
const combinedData = { meta };
|
|
4723
|
+
await this.validate(combinedData, template.model);
|
|
4724
|
+
const translation = template.translations[meta.lang];
|
|
4725
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4726
|
+
return document;
|
|
4727
|
+
}
|
|
4728
|
+
};
|
|
4729
|
+
|
|
4730
|
+
let Factory$h = class Factory extends DocFactory {
|
|
4731
|
+
constructor(storage) {
|
|
4732
|
+
super(storage);
|
|
4733
|
+
}
|
|
4734
|
+
async generateDocument(data, options) {
|
|
4735
|
+
let template;
|
|
4736
|
+
if (process.env.SOURCE === "local") {
|
|
4737
|
+
template = Template$i;
|
|
4738
|
+
} else {
|
|
4739
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$i, data.block_num);
|
|
4740
|
+
}
|
|
4741
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4742
|
+
const combinedData = { meta };
|
|
4743
|
+
await this.validate(combinedData, template.model);
|
|
4744
|
+
const translation = template.translations[meta.lang];
|
|
4745
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4746
|
+
return document;
|
|
4747
|
+
}
|
|
4748
|
+
};
|
|
4749
|
+
|
|
4750
|
+
let Factory$g = class Factory extends DocFactory {
|
|
4751
|
+
constructor(storage) {
|
|
4752
|
+
super(storage);
|
|
4753
|
+
}
|
|
4754
|
+
async generateDocument(data, options) {
|
|
4755
|
+
let template;
|
|
4756
|
+
if (process.env.SOURCE === "local") {
|
|
4757
|
+
template = Template$h;
|
|
4758
|
+
} else {
|
|
4759
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$h, data.block_num);
|
|
4760
|
+
}
|
|
4761
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4762
|
+
const combinedData = { meta };
|
|
4763
|
+
await this.validate(combinedData, template.model);
|
|
4764
|
+
const translation = template.translations[meta.lang];
|
|
4765
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4766
|
+
return document;
|
|
4767
|
+
}
|
|
4768
|
+
};
|
|
4769
|
+
|
|
4770
|
+
let Factory$f = class Factory extends DocFactory {
|
|
4771
|
+
constructor(storage) {
|
|
4772
|
+
super(storage);
|
|
4773
|
+
}
|
|
4774
|
+
async generateDocument(data, options) {
|
|
4775
|
+
let template;
|
|
4776
|
+
if (process.env.SOURCE === "local") {
|
|
4777
|
+
template = Template$g;
|
|
4778
|
+
} else {
|
|
4779
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$g, data.block_num);
|
|
4780
|
+
}
|
|
4781
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4782
|
+
const combinedData = { meta };
|
|
4783
|
+
await this.validate(combinedData, template.model);
|
|
4784
|
+
const translation = template.translations[meta.lang];
|
|
4785
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4786
|
+
return document;
|
|
4787
|
+
}
|
|
4788
|
+
};
|
|
4789
|
+
|
|
4790
|
+
let Factory$e = class Factory extends DocFactory {
|
|
4791
|
+
constructor(storage) {
|
|
4792
|
+
super(storage);
|
|
4793
|
+
}
|
|
4794
|
+
async generateDocument(data, options) {
|
|
4795
|
+
let template;
|
|
4796
|
+
if (process.env.SOURCE === "local") {
|
|
4797
|
+
template = Template$f;
|
|
4798
|
+
} else {
|
|
4799
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$f, data.block_num);
|
|
4800
|
+
}
|
|
4801
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4802
|
+
const combinedData = { meta };
|
|
4803
|
+
await this.validate(combinedData, template.model);
|
|
4804
|
+
const translation = template.translations[meta.lang];
|
|
4805
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4806
|
+
return document;
|
|
4807
|
+
}
|
|
4808
|
+
};
|
|
4809
|
+
|
|
4810
|
+
let Factory$d = class Factory extends DocFactory {
|
|
4811
|
+
constructor(storage) {
|
|
4812
|
+
super(storage);
|
|
4813
|
+
}
|
|
4814
|
+
async generateDocument(data, options) {
|
|
4815
|
+
let template;
|
|
4816
|
+
if (process.env.SOURCE === "local") {
|
|
4817
|
+
template = Template$e;
|
|
4818
|
+
} else {
|
|
4819
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$e, data.block_num);
|
|
4820
|
+
}
|
|
4821
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4822
|
+
const combinedData = { meta };
|
|
4823
|
+
await this.validate(combinedData, template.model);
|
|
4824
|
+
const translation = template.translations[meta.lang];
|
|
4825
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4826
|
+
return document;
|
|
4827
|
+
}
|
|
4828
|
+
};
|
|
4829
|
+
|
|
4830
|
+
let Factory$c = class Factory extends DocFactory {
|
|
4831
|
+
constructor(storage) {
|
|
4832
|
+
super(storage);
|
|
4833
|
+
}
|
|
4834
|
+
async generateDocument(data, options) {
|
|
4835
|
+
let template;
|
|
4836
|
+
if (process.env.SOURCE === "local") {
|
|
4837
|
+
template = Template$d;
|
|
4838
|
+
} else {
|
|
4839
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$d, data.block_num);
|
|
4840
|
+
}
|
|
4841
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4842
|
+
const combinedData = { meta };
|
|
4843
|
+
await this.validate(combinedData, template.model);
|
|
4844
|
+
const translation = template.translations[meta.lang];
|
|
4845
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4846
|
+
return document;
|
|
4847
|
+
}
|
|
4848
|
+
};
|
|
4849
|
+
|
|
4850
|
+
let Factory$b = class Factory extends DocFactory {
|
|
4851
|
+
constructor(storage) {
|
|
4852
|
+
super(storage);
|
|
4853
|
+
}
|
|
4854
|
+
async generateDocument(data, options) {
|
|
4855
|
+
let template;
|
|
4856
|
+
if (process.env.SOURCE === "local") {
|
|
4857
|
+
template = Template$c;
|
|
4858
|
+
} else {
|
|
4859
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$c, data.block_num);
|
|
4860
|
+
}
|
|
4861
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4862
|
+
const combinedData = { meta };
|
|
4863
|
+
await this.validate(combinedData, template.model);
|
|
4864
|
+
const translation = template.translations[meta.lang];
|
|
4865
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4866
|
+
return document;
|
|
4867
|
+
}
|
|
4868
|
+
};
|
|
4869
|
+
|
|
4870
|
+
let Factory$a = class Factory extends DocFactory {
|
|
4871
|
+
constructor(storage) {
|
|
4872
|
+
super(storage);
|
|
4873
|
+
}
|
|
4874
|
+
async generateDocument(data, options) {
|
|
4875
|
+
let template;
|
|
4876
|
+
if (process.env.SOURCE === "local") {
|
|
4877
|
+
template = Template$b;
|
|
4878
|
+
} else {
|
|
4879
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$b, data.block_num);
|
|
4880
|
+
}
|
|
4881
|
+
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4882
|
+
const combinedData = { meta };
|
|
4883
|
+
await this.validate(combinedData, template.model);
|
|
4884
|
+
const translation = template.translations[meta.lang];
|
|
4885
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4886
|
+
return document;
|
|
4887
|
+
}
|
|
4888
|
+
};
|
|
4889
|
+
|
|
4216
4890
|
let Factory$9 = class Factory extends DocFactory {
|
|
4217
4891
|
constructor(storage) {
|
|
4218
4892
|
super(storage);
|
|
@@ -4225,34 +4899,10 @@ let Factory$9 = class Factory extends DocFactory {
|
|
|
4225
4899
|
template = await this.getTemplate(DraftContract.contractName.production, registry_id$a, data.block_num);
|
|
4226
4900
|
}
|
|
4227
4901
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4228
|
-
const
|
|
4229
|
-
const vars = await this.getVars(data.coopname, data.block_num);
|
|
4230
|
-
const user = await this.getUser(data.username, data.block_num);
|
|
4231
|
-
const commonUser = this.getCommonUser(user);
|
|
4232
|
-
const userData = {
|
|
4233
|
-
[user.type]: {
|
|
4234
|
-
...user.data
|
|
4235
|
-
}
|
|
4236
|
-
};
|
|
4237
|
-
const uhdContract = this.constructUHDContract(meta.created_at);
|
|
4238
|
-
const subject = data.subject ?? vars.investment_agreement?.subject;
|
|
4239
|
-
const terms = data.terms ?? vars.investment_agreement?.terms;
|
|
4240
|
-
const coopBankAccount = await this.getBankAccount(data.coopname, meta.block_num);
|
|
4241
|
-
const combinedData = {
|
|
4242
|
-
meta,
|
|
4243
|
-
coop,
|
|
4244
|
-
vars,
|
|
4245
|
-
user: commonUser,
|
|
4246
|
-
uhdContract,
|
|
4247
|
-
subject,
|
|
4248
|
-
terms,
|
|
4249
|
-
coopBankAccount,
|
|
4250
|
-
...userData,
|
|
4251
|
-
type: user.type
|
|
4252
|
-
};
|
|
4902
|
+
const combinedData = { meta };
|
|
4253
4903
|
await this.validate(combinedData, template.model);
|
|
4254
4904
|
const translation = template.translations[meta.lang];
|
|
4255
|
-
const document = await this.generatePDF(
|
|
4905
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4256
4906
|
return document;
|
|
4257
4907
|
}
|
|
4258
4908
|
};
|
|
@@ -4269,22 +4919,10 @@ let Factory$8 = class Factory extends DocFactory {
|
|
|
4269
4919
|
template = await this.getTemplate(DraftContract.contractName.production, registry_id$9, data.block_num);
|
|
4270
4920
|
}
|
|
4271
4921
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4272
|
-
const
|
|
4273
|
-
const vars = await this.getVars(data.coopname, data.block_num);
|
|
4274
|
-
const user = await this.getUser(data.username, data.block_num);
|
|
4275
|
-
const commonUser = this.getCommonUser(user);
|
|
4276
|
-
const uhdContract = this.constructUHDContract(meta.created_at);
|
|
4277
|
-
const combinedData = {
|
|
4278
|
-
meta,
|
|
4279
|
-
coop,
|
|
4280
|
-
vars,
|
|
4281
|
-
user: commonUser,
|
|
4282
|
-
uhdContract,
|
|
4283
|
-
result: data.result
|
|
4284
|
-
};
|
|
4922
|
+
const combinedData = { meta };
|
|
4285
4923
|
await this.validate(combinedData, template.model);
|
|
4286
4924
|
const translation = template.translations[meta.lang];
|
|
4287
|
-
const document = await this.generatePDF(
|
|
4925
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4288
4926
|
return document;
|
|
4289
4927
|
}
|
|
4290
4928
|
};
|
|
@@ -4301,33 +4939,10 @@ let Factory$7 = class Factory extends DocFactory {
|
|
|
4301
4939
|
template = await this.getTemplate(DraftContract.contractName.production, registry_id$8, data.block_num);
|
|
4302
4940
|
}
|
|
4303
4941
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4304
|
-
const
|
|
4305
|
-
const vars = await this.getVars(data.coopname, data.block_num);
|
|
4306
|
-
const user = await this.getUser(data.username, data.block_num);
|
|
4307
|
-
const commonUser = this.getCommonUser(user);
|
|
4308
|
-
const uhdContract = this.constructUHDContract(meta.created_at);
|
|
4309
|
-
const decision = await this.getDecision(
|
|
4310
|
-
coop,
|
|
4311
|
-
data.coopname,
|
|
4312
|
-
data.decision_id,
|
|
4313
|
-
meta.created_at
|
|
4314
|
-
);
|
|
4315
|
-
const act = {
|
|
4316
|
-
number: "123"
|
|
4317
|
-
};
|
|
4318
|
-
const combinedData = {
|
|
4319
|
-
meta,
|
|
4320
|
-
coop,
|
|
4321
|
-
vars,
|
|
4322
|
-
decision,
|
|
4323
|
-
user: commonUser,
|
|
4324
|
-
uhdContract,
|
|
4325
|
-
result: data.result,
|
|
4326
|
-
act
|
|
4327
|
-
};
|
|
4942
|
+
const combinedData = { meta };
|
|
4328
4943
|
await this.validate(combinedData, template.model);
|
|
4329
4944
|
const translation = template.translations[meta.lang];
|
|
4330
|
-
const document = await this.generatePDF(
|
|
4945
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4331
4946
|
return document;
|
|
4332
4947
|
}
|
|
4333
4948
|
};
|
|
@@ -4344,20 +4959,10 @@ let Factory$6 = class Factory extends DocFactory {
|
|
|
4344
4959
|
template = await this.getTemplate(DraftContract.contractName.production, registry_id$7, data.block_num);
|
|
4345
4960
|
}
|
|
4346
4961
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4347
|
-
const
|
|
4348
|
-
const user = await this.getUser(data.username, data.block_num);
|
|
4349
|
-
const commonUser = this.getCommonUser(user);
|
|
4350
|
-
const uhdContract = this.constructUHDContract(meta.created_at);
|
|
4351
|
-
const combinedData = {
|
|
4352
|
-
meta,
|
|
4353
|
-
coop,
|
|
4354
|
-
user: commonUser,
|
|
4355
|
-
uhdContract,
|
|
4356
|
-
contribution: data.contribution
|
|
4357
|
-
};
|
|
4962
|
+
const combinedData = { meta };
|
|
4358
4963
|
await this.validate(combinedData, template.model);
|
|
4359
4964
|
const translation = template.translations[meta.lang];
|
|
4360
|
-
const document = await this.generatePDF(
|
|
4965
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4361
4966
|
return document;
|
|
4362
4967
|
}
|
|
4363
4968
|
};
|
|
@@ -4374,24 +4979,10 @@ let Factory$5 = class Factory extends DocFactory {
|
|
|
4374
4979
|
template = await this.getTemplate(DraftContract.contractName.production, registry_id$6, data.block_num);
|
|
4375
4980
|
}
|
|
4376
4981
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
4377
|
-
const
|
|
4378
|
-
const user = await this.getUser(data.username, data.block_num);
|
|
4379
|
-
const commonUser = this.getCommonUser(user);
|
|
4380
|
-
const vars = await this.getVars(data.coopname, data.block_num);
|
|
4381
|
-
const uhdContract = this.constructUHDContract(meta.created_at);
|
|
4382
|
-
const appendix = { number: "123" };
|
|
4383
|
-
const combinedData = {
|
|
4384
|
-
meta,
|
|
4385
|
-
coop,
|
|
4386
|
-
vars,
|
|
4387
|
-
user: commonUser,
|
|
4388
|
-
uhdContract,
|
|
4389
|
-
contribution: data.contribution,
|
|
4390
|
-
appendix
|
|
4391
|
-
};
|
|
4982
|
+
const combinedData = { meta };
|
|
4392
4983
|
await this.validate(combinedData, template.model);
|
|
4393
4984
|
const translation = template.translations[meta.lang];
|
|
4394
|
-
const document = await this.generatePDF(
|
|
4985
|
+
const document = await this.generatePDF("", template.context, combinedData, translation, meta, options?.skip_save);
|
|
4395
4986
|
return document;
|
|
4396
4987
|
}
|
|
4397
4988
|
};
|
|
@@ -4886,19 +5477,19 @@ class Generator {
|
|
|
4886
5477
|
this.storage = new MongoDBConnector(mongoUri);
|
|
4887
5478
|
this.searchService = new SearchService(this.storage);
|
|
4888
5479
|
this.factories = {
|
|
4889
|
-
[registry_id$
|
|
5480
|
+
[registry_id$K]: new Factory$K(this.storage),
|
|
4890
5481
|
// 1
|
|
4891
|
-
[registry_id$
|
|
5482
|
+
[registry_id$J]: new Factory$J(this.storage),
|
|
4892
5483
|
// 2
|
|
4893
|
-
[registry_id$
|
|
5484
|
+
[registry_id$I]: new Factory$I(this.storage),
|
|
4894
5485
|
// 3
|
|
4895
|
-
[registry_id$
|
|
5486
|
+
[registry_id$H]: new Factory$H(this.storage),
|
|
4896
5487
|
// 4
|
|
4897
|
-
[registry_id$
|
|
5488
|
+
[registry_id$G]: new Factory$G(this.storage),
|
|
4898
5489
|
// 50
|
|
4899
|
-
[registry_id$
|
|
5490
|
+
[registry_id$F]: new Factory$E(this.storage),
|
|
4900
5491
|
// 100
|
|
4901
|
-
[registry_id$
|
|
5492
|
+
[registry_id$D]: new Factory$F(this.storage),
|
|
4902
5493
|
// 101
|
|
4903
5494
|
// общее собрание
|
|
4904
5495
|
[registry_id$4]: new Factory$4(this.storage),
|
|
@@ -4911,40 +5502,76 @@ class Generator {
|
|
|
4911
5502
|
// 303
|
|
4912
5503
|
[registry_id]: new Factory(this.storage),
|
|
4913
5504
|
// 304
|
|
4914
|
-
[registry_id$
|
|
5505
|
+
[registry_id$E]: new Factory$D(this.storage),
|
|
4915
5506
|
// 501
|
|
4916
|
-
[registry_id$
|
|
5507
|
+
[registry_id$C]: new Factory$C(this.storage),
|
|
4917
5508
|
// 599
|
|
4918
|
-
[registry_id$
|
|
5509
|
+
[registry_id$B]: new Factory$B(this.storage),
|
|
4919
5510
|
// 600
|
|
4920
|
-
[registry_id$5]: new Factory$
|
|
5511
|
+
[registry_id$5]: new Factory$y(this.storage),
|
|
4921
5512
|
// 699
|
|
4922
|
-
[registry_id$
|
|
5513
|
+
[registry_id$A]: new Factory$A(this.storage),
|
|
4923
5514
|
// 700
|
|
4924
|
-
[registry_id$
|
|
5515
|
+
[registry_id$z]: new Factory$z(this.storage),
|
|
4925
5516
|
// 800
|
|
4926
|
-
[registry_id$
|
|
5517
|
+
[registry_id$x]: new Factory$v(this.storage),
|
|
4927
5518
|
// 801
|
|
4928
|
-
[registry_id$
|
|
5519
|
+
[registry_id$v]: new Factory$u(this.storage),
|
|
4929
5520
|
// 802
|
|
4930
|
-
[registry_id$
|
|
5521
|
+
[registry_id$u]: new Factory$t(this.storage),
|
|
4931
5522
|
// 900
|
|
4932
|
-
[registry_id$
|
|
5523
|
+
[registry_id$t]: new Factory$s(this.storage),
|
|
4933
5524
|
// 901
|
|
4934
|
-
[registry_id$
|
|
5525
|
+
[registry_id$y]: new Factory$x(this.storage),
|
|
4935
5526
|
// 701
|
|
4936
|
-
[registry_id$
|
|
5527
|
+
[registry_id$w]: new Factory$w(this.storage),
|
|
4937
5528
|
// 702
|
|
4938
|
-
[registry_id$
|
|
5529
|
+
[registry_id$s]: new Factory$r(this.storage),
|
|
4939
5530
|
// 1000
|
|
4940
|
-
[registry_id$
|
|
5531
|
+
[registry_id$r]: new Factory$q(this.storage),
|
|
4941
5532
|
// 1001
|
|
4942
|
-
[registry_id$
|
|
5533
|
+
[registry_id$q]: new Factory$p(this.storage),
|
|
4943
5534
|
// 1002
|
|
5535
|
+
[registry_id$p]: new Factory$o(this.storage),
|
|
5536
|
+
// 1010
|
|
5537
|
+
[registry_id$o]: new Factory$n(this.storage),
|
|
5538
|
+
// 1011
|
|
5539
|
+
[registry_id$n]: new Factory$m(this.storage),
|
|
5540
|
+
// 1020
|
|
5541
|
+
[registry_id$m]: new Factory$l(this.storage),
|
|
5542
|
+
// 1025
|
|
5543
|
+
[registry_id$l]: new Factory$k(this.storage),
|
|
5544
|
+
// 1030
|
|
5545
|
+
[registry_id$k]: new Factory$j(this.storage),
|
|
5546
|
+
// 1040
|
|
5547
|
+
[registry_id$j]: new Factory$i(this.storage),
|
|
5548
|
+
// 1041
|
|
5549
|
+
[registry_id$i]: new Factory$h(this.storage),
|
|
5550
|
+
// 1042
|
|
5551
|
+
[registry_id$h]: new Factory$g(this.storage),
|
|
5552
|
+
// 1050
|
|
5553
|
+
[registry_id$g]: new Factory$f(this.storage),
|
|
5554
|
+
// 1051
|
|
5555
|
+
[registry_id$f]: new Factory$e(this.storage),
|
|
5556
|
+
// 1060
|
|
5557
|
+
[registry_id$e]: new Factory$d(this.storage),
|
|
5558
|
+
// 1061
|
|
5559
|
+
[registry_id$d]: new Factory$c(this.storage),
|
|
5560
|
+
// 1062
|
|
5561
|
+
[registry_id$c]: new Factory$b(this.storage),
|
|
5562
|
+
// 1070
|
|
5563
|
+
[registry_id$b]: new Factory$a(this.storage),
|
|
5564
|
+
// 1071
|
|
5565
|
+
[registry_id$a]: new Factory$9(this.storage),
|
|
5566
|
+
// 1072
|
|
5567
|
+
[registry_id$9]: new Factory$8(this.storage),
|
|
5568
|
+
// 1080
|
|
5569
|
+
[registry_id$8]: new Factory$7(this.storage),
|
|
5570
|
+
// 1081
|
|
4944
5571
|
[registry_id$7]: new Factory$6(this.storage),
|
|
4945
|
-
//
|
|
5572
|
+
// 1082
|
|
4946
5573
|
[registry_id$6]: new Factory$5(this.storage)
|
|
4947
|
-
//
|
|
5574
|
+
// 1090
|
|
4948
5575
|
};
|
|
4949
5576
|
await this.storage.connect();
|
|
4950
5577
|
}
|
|
@@ -5013,4 +5640,4 @@ class Generator {
|
|
|
5013
5640
|
}
|
|
5014
5641
|
}
|
|
5015
5642
|
|
|
5016
|
-
export { AgendaMeetSchema, AgendaQuestionSchema, AnnualGeneralMeetingAgenda, AnnualGeneralMeetingDecision, AnnualGeneralMeetingNotification, AnnualGeneralMeetingSovietDecision, AnnualGeneralMeetingVotingBallot, AssetContributionAct, AssetContributionDecision, AssetContributionStatement, BankAccountSchema, CommonUserSchema, CoopenomicsAgreement, CooperativeSchema, DecisionOfParticipantApplication, FreeDecision,
|
|
5643
|
+
export { AgendaMeetSchema, AgendaQuestionSchema, AnnualGeneralMeetingAgenda, AnnualGeneralMeetingDecision, AnnualGeneralMeetingNotification, AnnualGeneralMeetingSovietDecision, AnnualGeneralMeetingVotingBallot, AppendixGenerationAgreement, AssetContributionAct, AssetContributionDecision, AssetContributionStatement, BankAccountSchema, CapitalizationAgreement, CapitalizationMoneyInvestStatement, CapitalizationPropertyInvestAct, CapitalizationPropertyInvestDecision, CapitalizationPropertyInvestStatement, CapitalizationToMainWalletConvertStatement, CommonUserSchema, CoopenomicsAgreement, CooperativeSchema, DecisionOfParticipantApplication, ExpenseDecision, ExpenseStatement, FreeDecision, GenerationAgreement, GenerationMoneyInvestStatement, GenerationMoneyReturnUnusedStatement, GenerationPropertyInvestAct, GenerationPropertyInvestDecision, GenerationPropertyInvestStatement, GenerationToCapitalizationConvertStatement, GenerationToMainWalletConvertStatement, GenerationToProjectConvertStatement, Generator, GetLoanDecision, GetLoanStatement, MeetPointSchema, MeetSchema, ParticipantApplication, PrivacyPolicy, ProjectFreeDecision, QuestionExtendedSchema, QuestionSchema$1 as QuestionSchema, Registry, RegulationElectronicSignaturet as RegulationElectronicSignature, ResultContributionAct, ResultContributionDecision, ResultContributionStatement, ReturnByAssetAct, ReturnByAssetDecision, ReturnByAssetStatement, ReturnByMoney, ReturnByMoneyDecision, SelectBranchStatement, SosediAgreement, UserAgreement, VarsSchema, WalletAgreement, decisionSchema, entrepreneurSchema, individualSchema, organizationSchema, paymentMethodSchema };
|