@coopenomics/factory 2.2.10 → 2025.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +555 -261
- package/dist/index.d.cts +165 -110
- package/dist/index.d.mts +165 -110
- package/dist/index.d.ts +165 -110
- package/dist/index.mjs +551 -262
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -365,8 +365,8 @@ const VarsSchema = {
|
|
|
365
365
|
additionalProperties: true
|
|
366
366
|
};
|
|
367
367
|
|
|
368
|
-
const registry_id$
|
|
369
|
-
const Schema$
|
|
368
|
+
const registry_id$q = Cooperative$1.Registry.WalletAgreement.registry_id;
|
|
369
|
+
const Schema$q = {
|
|
370
370
|
type: "object",
|
|
371
371
|
properties: {
|
|
372
372
|
meta: IMetaJSONSchema,
|
|
@@ -376,23 +376,23 @@ const Schema$l = {
|
|
|
376
376
|
required: ["meta", "coop", "vars"],
|
|
377
377
|
additionalProperties: true
|
|
378
378
|
};
|
|
379
|
-
const Template$
|
|
379
|
+
const Template$q = {
|
|
380
380
|
title: Cooperative$1.Registry.WalletAgreement.title,
|
|
381
381
|
description: Cooperative$1.Registry.WalletAgreement.description,
|
|
382
|
-
model: Schema$
|
|
382
|
+
model: Schema$q,
|
|
383
383
|
context: Cooperative$1.Registry.WalletAgreement.context,
|
|
384
384
|
translations: Cooperative$1.Registry.WalletAgreement.translations
|
|
385
385
|
};
|
|
386
386
|
|
|
387
387
|
const WalletAgreement = {
|
|
388
388
|
__proto__: null,
|
|
389
|
-
Schema: Schema$
|
|
390
|
-
Template: Template$
|
|
391
|
-
registry_id: registry_id$
|
|
389
|
+
Schema: Schema$q,
|
|
390
|
+
Template: Template$q,
|
|
391
|
+
registry_id: registry_id$q
|
|
392
392
|
};
|
|
393
393
|
|
|
394
|
-
const registry_id$
|
|
395
|
-
const Schema$
|
|
394
|
+
const registry_id$p = Cooperative$1.Registry.RegulationElectronicSignature.registry_id;
|
|
395
|
+
const Schema$p = {
|
|
396
396
|
type: "object",
|
|
397
397
|
properties: {
|
|
398
398
|
meta: IMetaJSONSchema,
|
|
@@ -402,23 +402,23 @@ const Schema$k = {
|
|
|
402
402
|
required: ["meta", "coop", "vars"],
|
|
403
403
|
additionalProperties: true
|
|
404
404
|
};
|
|
405
|
-
const Template$
|
|
405
|
+
const Template$p = {
|
|
406
406
|
title: Cooperative$1.Registry.RegulationElectronicSignature.title,
|
|
407
407
|
description: Cooperative$1.Registry.RegulationElectronicSignature.description,
|
|
408
|
-
model: Schema$
|
|
408
|
+
model: Schema$p,
|
|
409
409
|
context: Cooperative$1.Registry.RegulationElectronicSignature.context,
|
|
410
410
|
translations: Cooperative$1.Registry.RegulationElectronicSignature.translations
|
|
411
411
|
};
|
|
412
412
|
|
|
413
413
|
const RegulationElectronicSignaturet = {
|
|
414
414
|
__proto__: null,
|
|
415
|
-
Schema: Schema$
|
|
416
|
-
Template: Template$
|
|
417
|
-
registry_id: registry_id$
|
|
415
|
+
Schema: Schema$p,
|
|
416
|
+
Template: Template$p,
|
|
417
|
+
registry_id: registry_id$p
|
|
418
418
|
};
|
|
419
419
|
|
|
420
|
-
const registry_id$
|
|
421
|
-
const Schema$
|
|
420
|
+
const registry_id$o = Cooperative$1.Registry.PrivacyPolicy.registry_id;
|
|
421
|
+
const Schema$o = {
|
|
422
422
|
type: "object",
|
|
423
423
|
properties: {
|
|
424
424
|
meta: IMetaJSONSchema,
|
|
@@ -428,23 +428,23 @@ const Schema$j = {
|
|
|
428
428
|
required: ["meta", "coop", "vars"],
|
|
429
429
|
additionalProperties: true
|
|
430
430
|
};
|
|
431
|
-
const Template$
|
|
431
|
+
const Template$o = {
|
|
432
432
|
title: Cooperative$1.Registry.PrivacyPolicy.title,
|
|
433
433
|
description: Cooperative$1.Registry.PrivacyPolicy.description,
|
|
434
|
-
model: Schema$
|
|
434
|
+
model: Schema$o,
|
|
435
435
|
context: Cooperative$1.Registry.PrivacyPolicy.context,
|
|
436
436
|
translations: Cooperative$1.Registry.PrivacyPolicy.translations
|
|
437
437
|
};
|
|
438
438
|
|
|
439
439
|
const PrivacyPolicy = {
|
|
440
440
|
__proto__: null,
|
|
441
|
-
Schema: Schema$
|
|
442
|
-
Template: Template$
|
|
443
|
-
registry_id: registry_id$
|
|
441
|
+
Schema: Schema$o,
|
|
442
|
+
Template: Template$o,
|
|
443
|
+
registry_id: registry_id$o
|
|
444
444
|
};
|
|
445
445
|
|
|
446
|
-
const registry_id$
|
|
447
|
-
const Schema$
|
|
446
|
+
const registry_id$n = Cooperative$1.Registry.UserAgreement.registry_id;
|
|
447
|
+
const Schema$n = {
|
|
448
448
|
type: "object",
|
|
449
449
|
properties: {
|
|
450
450
|
meta: IMetaJSONSchema,
|
|
@@ -461,23 +461,23 @@ const Schema$i = {
|
|
|
461
461
|
required: ["meta", "coop", "vars", "user"],
|
|
462
462
|
additionalProperties: true
|
|
463
463
|
};
|
|
464
|
-
const Template$
|
|
464
|
+
const Template$n = {
|
|
465
465
|
title: Cooperative$1.Registry.UserAgreement.title,
|
|
466
466
|
description: Cooperative$1.Registry.UserAgreement.description,
|
|
467
|
-
model: Schema$
|
|
467
|
+
model: Schema$n,
|
|
468
468
|
context: Cooperative$1.Registry.UserAgreement.context,
|
|
469
469
|
translations: Cooperative$1.Registry.UserAgreement.translations
|
|
470
470
|
};
|
|
471
471
|
|
|
472
472
|
const UserAgreement = {
|
|
473
473
|
__proto__: null,
|
|
474
|
-
Schema: Schema$
|
|
475
|
-
Template: Template$
|
|
476
|
-
registry_id: registry_id$
|
|
474
|
+
Schema: Schema$n,
|
|
475
|
+
Template: Template$n,
|
|
476
|
+
registry_id: registry_id$n
|
|
477
477
|
};
|
|
478
478
|
|
|
479
|
-
const registry_id$
|
|
480
|
-
const Schema$
|
|
479
|
+
const registry_id$m = Cooperative$1.Registry.CoopenomicsAgreement.registry_id;
|
|
480
|
+
const Schema$m = {
|
|
481
481
|
type: "object",
|
|
482
482
|
properties: {
|
|
483
483
|
meta: IMetaJSONSchema,
|
|
@@ -488,23 +488,23 @@ const Schema$h = {
|
|
|
488
488
|
required: ["meta", "coop", "vars", "partner"],
|
|
489
489
|
additionalProperties: true
|
|
490
490
|
};
|
|
491
|
-
const Template$
|
|
491
|
+
const Template$m = {
|
|
492
492
|
title: Cooperative$1.Registry.CoopenomicsAgreement.title,
|
|
493
493
|
description: Cooperative$1.Registry.CoopenomicsAgreement.description,
|
|
494
|
-
model: Schema$
|
|
494
|
+
model: Schema$m,
|
|
495
495
|
context: Cooperative$1.Registry.CoopenomicsAgreement.context,
|
|
496
496
|
translations: Cooperative$1.Registry.CoopenomicsAgreement.translations
|
|
497
497
|
};
|
|
498
498
|
|
|
499
499
|
const CoopenomicsAgreement = {
|
|
500
500
|
__proto__: null,
|
|
501
|
-
Schema: Schema$
|
|
502
|
-
Template: Template$
|
|
503
|
-
registry_id: registry_id$
|
|
501
|
+
Schema: Schema$m,
|
|
502
|
+
Template: Template$m,
|
|
503
|
+
registry_id: registry_id$m
|
|
504
504
|
};
|
|
505
505
|
|
|
506
|
-
const registry_id$
|
|
507
|
-
const Schema$
|
|
506
|
+
const registry_id$l = Cooperative$1.Registry.ParticipantApplication.registry_id;
|
|
507
|
+
const Schema$l = {
|
|
508
508
|
type: "object",
|
|
509
509
|
properties: {
|
|
510
510
|
type: {
|
|
@@ -576,23 +576,23 @@ const Schema$g = {
|
|
|
576
576
|
required: ["meta", "coop", "type", "signature"],
|
|
577
577
|
additionalProperties: true
|
|
578
578
|
};
|
|
579
|
-
const Template$
|
|
579
|
+
const Template$l = {
|
|
580
580
|
title: Cooperative$1.Registry.ParticipantApplication.title,
|
|
581
581
|
description: Cooperative$1.Registry.ParticipantApplication.description,
|
|
582
|
-
model: Schema$
|
|
582
|
+
model: Schema$l,
|
|
583
583
|
context: Cooperative$1.Registry.ParticipantApplication.context,
|
|
584
584
|
translations: Cooperative$1.Registry.ParticipantApplication.translations
|
|
585
585
|
};
|
|
586
586
|
|
|
587
587
|
const ParticipantApplication = {
|
|
588
588
|
__proto__: null,
|
|
589
|
-
Schema: Schema$
|
|
590
|
-
Template: Template$
|
|
591
|
-
registry_id: registry_id$
|
|
589
|
+
Schema: Schema$l,
|
|
590
|
+
Template: Template$l,
|
|
591
|
+
registry_id: registry_id$l
|
|
592
592
|
};
|
|
593
593
|
|
|
594
|
-
const registry_id$
|
|
595
|
-
const Schema$
|
|
594
|
+
const registry_id$k = Cooperative$1.Registry.DecisionOfParticipantApplication.registry_id;
|
|
595
|
+
const Schema$k = {
|
|
596
596
|
type: "object",
|
|
597
597
|
properties: {
|
|
598
598
|
type: {
|
|
@@ -656,29 +656,37 @@ const Schema$f = {
|
|
|
656
656
|
// vars не добавляем в обязательные параметры для обратной совместимости (начиная с 2.26)
|
|
657
657
|
additionalProperties: true
|
|
658
658
|
};
|
|
659
|
-
const Template$
|
|
659
|
+
const Template$k = {
|
|
660
660
|
title: Cooperative$1.Registry.DecisionOfParticipantApplication.title,
|
|
661
661
|
description: Cooperative$1.Registry.DecisionOfParticipantApplication.description,
|
|
662
|
-
model: Schema$
|
|
662
|
+
model: Schema$k,
|
|
663
663
|
context: Cooperative$1.Registry.DecisionOfParticipantApplication.context,
|
|
664
664
|
translations: Cooperative$1.Registry.DecisionOfParticipantApplication.translations
|
|
665
665
|
};
|
|
666
666
|
|
|
667
667
|
const DecisionOfParticipantApplication = {
|
|
668
668
|
__proto__: null,
|
|
669
|
-
Schema: Schema$
|
|
670
|
-
Template: Template$
|
|
671
|
-
registry_id: registry_id$
|
|
669
|
+
Schema: Schema$k,
|
|
670
|
+
Template: Template$k,
|
|
671
|
+
registry_id: registry_id$k
|
|
672
672
|
};
|
|
673
673
|
|
|
674
|
-
const registry_id$
|
|
675
|
-
const Schema$
|
|
674
|
+
const registry_id$j = Cooperative$1.Registry.SelectBranchStatement.registry_id;
|
|
675
|
+
const Schema$j = {
|
|
676
676
|
type: "object",
|
|
677
677
|
properties: {
|
|
678
678
|
type: {
|
|
679
679
|
type: "string",
|
|
680
680
|
enum: ["individual", "entrepreneur", "organization"]
|
|
681
681
|
},
|
|
682
|
+
coop: {
|
|
683
|
+
type: "object",
|
|
684
|
+
properties: {
|
|
685
|
+
...CooperativeSchema.properties
|
|
686
|
+
},
|
|
687
|
+
required: [...CooperativeSchema.required],
|
|
688
|
+
additionalProperties: true
|
|
689
|
+
},
|
|
682
690
|
individual: {
|
|
683
691
|
type: "object",
|
|
684
692
|
properties: {
|
|
@@ -724,26 +732,26 @@ const Schema$e = {
|
|
|
724
732
|
additionalProperties: true
|
|
725
733
|
}
|
|
726
734
|
},
|
|
727
|
-
required: ["meta", "type", "branch", "vars"],
|
|
735
|
+
required: ["meta", "type", "branch", "vars", "coop"],
|
|
728
736
|
additionalProperties: true
|
|
729
737
|
};
|
|
730
|
-
const Template$
|
|
738
|
+
const Template$j = {
|
|
731
739
|
title: Cooperative$1.Registry.SelectBranchStatement.title,
|
|
732
740
|
description: Cooperative$1.Registry.SelectBranchStatement.description,
|
|
733
|
-
model: Schema$
|
|
741
|
+
model: Schema$j,
|
|
734
742
|
context: Cooperative$1.Registry.SelectBranchStatement.context,
|
|
735
743
|
translations: Cooperative$1.Registry.SelectBranchStatement.translations
|
|
736
744
|
};
|
|
737
745
|
|
|
738
746
|
const SelectBranchStatement = {
|
|
739
747
|
__proto__: null,
|
|
740
|
-
Schema: Schema$
|
|
741
|
-
Template: Template$
|
|
742
|
-
registry_id: registry_id$
|
|
748
|
+
Schema: Schema$j,
|
|
749
|
+
Template: Template$j,
|
|
750
|
+
registry_id: registry_id$j
|
|
743
751
|
};
|
|
744
752
|
|
|
745
|
-
const registry_id$
|
|
746
|
-
const Schema$
|
|
753
|
+
const registry_id$i = Cooperative$1.Registry.ProjectFreeDecision.registry_id;
|
|
754
|
+
const Schema$i = {
|
|
747
755
|
type: "object",
|
|
748
756
|
properties: {
|
|
749
757
|
coop: {
|
|
@@ -778,23 +786,23 @@ const Schema$d = {
|
|
|
778
786
|
required: ["meta", "coop", "project", "suggester_name", "vars"],
|
|
779
787
|
additionalProperties: true
|
|
780
788
|
};
|
|
781
|
-
const Template$
|
|
789
|
+
const Template$i = {
|
|
782
790
|
title: Cooperative$1.Registry.ProjectFreeDecision.title,
|
|
783
791
|
description: Cooperative$1.Registry.ProjectFreeDecision.description,
|
|
784
|
-
model: Schema$
|
|
792
|
+
model: Schema$i,
|
|
785
793
|
context: Cooperative$1.Registry.ProjectFreeDecision.context,
|
|
786
794
|
translations: Cooperative$1.Registry.ProjectFreeDecision.translations
|
|
787
795
|
};
|
|
788
796
|
|
|
789
797
|
const ProjectFreeDecision = {
|
|
790
798
|
__proto__: null,
|
|
791
|
-
Schema: Schema$
|
|
792
|
-
Template: Template$
|
|
793
|
-
registry_id: registry_id$
|
|
799
|
+
Schema: Schema$i,
|
|
800
|
+
Template: Template$i,
|
|
801
|
+
registry_id: registry_id$i
|
|
794
802
|
};
|
|
795
803
|
|
|
796
|
-
const registry_id$
|
|
797
|
-
const Schema$
|
|
804
|
+
const registry_id$h = Cooperative$1.Registry.FreeDecision.registry_id;
|
|
805
|
+
const Schema$h = {
|
|
798
806
|
type: "object",
|
|
799
807
|
properties: {
|
|
800
808
|
coop: {
|
|
@@ -837,19 +845,19 @@ const Schema$c = {
|
|
|
837
845
|
// vars не вносим для обратной совместимости начиная с версии 2.25
|
|
838
846
|
additionalProperties: true
|
|
839
847
|
};
|
|
840
|
-
const Template$
|
|
848
|
+
const Template$h = {
|
|
841
849
|
title: Cooperative$1.Registry.FreeDecision.title,
|
|
842
850
|
description: Cooperative$1.Registry.FreeDecision.description,
|
|
843
|
-
model: Schema$
|
|
851
|
+
model: Schema$h,
|
|
844
852
|
context: Cooperative$1.Registry.FreeDecision.context,
|
|
845
853
|
translations: Cooperative$1.Registry.FreeDecision.translations
|
|
846
854
|
};
|
|
847
855
|
|
|
848
856
|
const FreeDecision = {
|
|
849
857
|
__proto__: null,
|
|
850
|
-
Schema: Schema$
|
|
851
|
-
Template: Template$
|
|
852
|
-
registry_id: registry_id$
|
|
858
|
+
Schema: Schema$h,
|
|
859
|
+
Template: Template$h,
|
|
860
|
+
registry_id: registry_id$h
|
|
853
861
|
};
|
|
854
862
|
|
|
855
863
|
const CommonRequestSchema = {
|
|
@@ -889,8 +897,8 @@ const CommonUserSchema = {
|
|
|
889
897
|
additionalProperties: true
|
|
890
898
|
};
|
|
891
899
|
|
|
892
|
-
const registry_id$
|
|
893
|
-
const Schema$
|
|
900
|
+
const registry_id$g = Cooperative$1.Registry.AssetContributionStatement.registry_id;
|
|
901
|
+
const Schema$g = {
|
|
894
902
|
type: "object",
|
|
895
903
|
properties: {
|
|
896
904
|
meta: IMetaJSONSchema,
|
|
@@ -902,23 +910,23 @@ const Schema$b = {
|
|
|
902
910
|
required: ["meta", "coop", "vars", "request", "user"],
|
|
903
911
|
additionalProperties: true
|
|
904
912
|
};
|
|
905
|
-
const Template$
|
|
913
|
+
const Template$g = {
|
|
906
914
|
title: Cooperative$1.Registry.AssetContributionStatement.title,
|
|
907
915
|
description: Cooperative$1.Registry.AssetContributionStatement.description,
|
|
908
|
-
model: Schema$
|
|
916
|
+
model: Schema$g,
|
|
909
917
|
context: Cooperative$1.Registry.AssetContributionStatement.context,
|
|
910
918
|
translations: Cooperative$1.Registry.AssetContributionStatement.translations
|
|
911
919
|
};
|
|
912
920
|
|
|
913
921
|
const AssetContributionStatement = {
|
|
914
922
|
__proto__: null,
|
|
915
|
-
Schema: Schema$
|
|
916
|
-
Template: Template$
|
|
917
|
-
registry_id: registry_id$
|
|
923
|
+
Schema: Schema$g,
|
|
924
|
+
Template: Template$g,
|
|
925
|
+
registry_id: registry_id$g
|
|
918
926
|
};
|
|
919
927
|
|
|
920
|
-
const registry_id$
|
|
921
|
-
const Schema$
|
|
928
|
+
const registry_id$f = Cooperative$1.Registry.ReturnByAssetStatement.registry_id;
|
|
929
|
+
const Schema$f = {
|
|
922
930
|
type: "object",
|
|
923
931
|
properties: {
|
|
924
932
|
meta: IMetaJSONSchema,
|
|
@@ -930,23 +938,23 @@ const Schema$a = {
|
|
|
930
938
|
required: ["meta", "coop", "vars", "request", "user"],
|
|
931
939
|
additionalProperties: true
|
|
932
940
|
};
|
|
933
|
-
const Template$
|
|
941
|
+
const Template$f = {
|
|
934
942
|
title: Cooperative$1.Registry.ReturnByAssetStatement.title,
|
|
935
943
|
description: Cooperative$1.Registry.ReturnByAssetStatement.description,
|
|
936
|
-
model: Schema$
|
|
944
|
+
model: Schema$f,
|
|
937
945
|
context: Cooperative$1.Registry.ReturnByAssetStatement.context,
|
|
938
946
|
translations: Cooperative$1.Registry.ReturnByAssetStatement.translations
|
|
939
947
|
};
|
|
940
948
|
|
|
941
949
|
const ReturnByAssetStatement = {
|
|
942
950
|
__proto__: null,
|
|
943
|
-
Schema: Schema$
|
|
944
|
-
Template: Template$
|
|
945
|
-
registry_id: registry_id$
|
|
951
|
+
Schema: Schema$f,
|
|
952
|
+
Template: Template$f,
|
|
953
|
+
registry_id: registry_id$f
|
|
946
954
|
};
|
|
947
955
|
|
|
948
|
-
const registry_id$
|
|
949
|
-
const Schema$
|
|
956
|
+
const registry_id$e = Cooperative$1.Registry.AssetContributionDecision.registry_id;
|
|
957
|
+
const Schema$e = {
|
|
950
958
|
type: "object",
|
|
951
959
|
properties: {
|
|
952
960
|
meta: IMetaJSONSchema,
|
|
@@ -959,23 +967,23 @@ const Schema$9 = {
|
|
|
959
967
|
required: ["meta", "coop", "vars", "request", "user", "decision"],
|
|
960
968
|
additionalProperties: true
|
|
961
969
|
};
|
|
962
|
-
const Template$
|
|
970
|
+
const Template$e = {
|
|
963
971
|
title: Cooperative$1.Registry.AssetContributionDecision.title,
|
|
964
972
|
description: Cooperative$1.Registry.AssetContributionDecision.description,
|
|
965
|
-
model: Schema$
|
|
973
|
+
model: Schema$e,
|
|
966
974
|
context: Cooperative$1.Registry.AssetContributionDecision.context,
|
|
967
975
|
translations: Cooperative$1.Registry.AssetContributionDecision.translations
|
|
968
976
|
};
|
|
969
977
|
|
|
970
978
|
const AssetContributionDecision = {
|
|
971
979
|
__proto__: null,
|
|
972
|
-
Schema: Schema$
|
|
973
|
-
Template: Template$
|
|
974
|
-
registry_id: registry_id$
|
|
980
|
+
Schema: Schema$e,
|
|
981
|
+
Template: Template$e,
|
|
982
|
+
registry_id: registry_id$e
|
|
975
983
|
};
|
|
976
984
|
|
|
977
|
-
const registry_id$
|
|
978
|
-
const Schema$
|
|
985
|
+
const registry_id$d = Cooperative$1.Registry.ReturnByAssetDecision.registry_id;
|
|
986
|
+
const Schema$d = {
|
|
979
987
|
type: "object",
|
|
980
988
|
properties: {
|
|
981
989
|
meta: IMetaJSONSchema,
|
|
@@ -988,19 +996,19 @@ const Schema$8 = {
|
|
|
988
996
|
required: ["meta", "coop", "vars", "request", "user", "decision"],
|
|
989
997
|
additionalProperties: true
|
|
990
998
|
};
|
|
991
|
-
const Template$
|
|
999
|
+
const Template$d = {
|
|
992
1000
|
title: Cooperative$1.Registry.ReturnByAssetDecision.title,
|
|
993
1001
|
description: Cooperative$1.Registry.ReturnByAssetDecision.description,
|
|
994
|
-
model: Schema$
|
|
1002
|
+
model: Schema$d,
|
|
995
1003
|
context: Cooperative$1.Registry.ReturnByAssetDecision.context,
|
|
996
1004
|
translations: Cooperative$1.Registry.ReturnByAssetDecision.translations
|
|
997
1005
|
};
|
|
998
1006
|
|
|
999
1007
|
const ReturnByAssetDecision = {
|
|
1000
1008
|
__proto__: null,
|
|
1001
|
-
Schema: Schema$
|
|
1002
|
-
Template: Template$
|
|
1003
|
-
registry_id: registry_id$
|
|
1009
|
+
Schema: Schema$d,
|
|
1010
|
+
Template: Template$d,
|
|
1011
|
+
registry_id: registry_id$d
|
|
1004
1012
|
};
|
|
1005
1013
|
|
|
1006
1014
|
const FirstLastMiddleNameSchema = {
|
|
@@ -1023,8 +1031,8 @@ const CommonProgramSchema = {
|
|
|
1023
1031
|
additionalProperties: true
|
|
1024
1032
|
};
|
|
1025
1033
|
|
|
1026
|
-
const registry_id$
|
|
1027
|
-
const Schema$
|
|
1034
|
+
const registry_id$c = Cooperative$1.Registry.AssetContributionAct.registry_id;
|
|
1035
|
+
const Schema$c = {
|
|
1028
1036
|
type: "object",
|
|
1029
1037
|
properties: {
|
|
1030
1038
|
meta: IMetaJSONSchema,
|
|
@@ -1041,23 +1049,23 @@ const Schema$7 = {
|
|
|
1041
1049
|
required: ["meta", "coop", "vars", "request", "user", "decision", "act_id", "receiver", "program"],
|
|
1042
1050
|
additionalProperties: true
|
|
1043
1051
|
};
|
|
1044
|
-
const Template$
|
|
1052
|
+
const Template$c = {
|
|
1045
1053
|
title: Cooperative$1.Registry.AssetContributionAct.title,
|
|
1046
1054
|
description: Cooperative$1.Registry.AssetContributionAct.description,
|
|
1047
|
-
model: Schema$
|
|
1055
|
+
model: Schema$c,
|
|
1048
1056
|
context: Cooperative$1.Registry.AssetContributionAct.context,
|
|
1049
1057
|
translations: Cooperative$1.Registry.AssetContributionAct.translations
|
|
1050
1058
|
};
|
|
1051
1059
|
|
|
1052
1060
|
const AssetContributionAct = {
|
|
1053
1061
|
__proto__: null,
|
|
1054
|
-
Schema: Schema$
|
|
1055
|
-
Template: Template$
|
|
1056
|
-
registry_id: registry_id$
|
|
1062
|
+
Schema: Schema$c,
|
|
1063
|
+
Template: Template$c,
|
|
1064
|
+
registry_id: registry_id$c
|
|
1057
1065
|
};
|
|
1058
1066
|
|
|
1059
|
-
const registry_id$
|
|
1060
|
-
const Schema$
|
|
1067
|
+
const registry_id$b = Cooperative$1.Registry.ReturnByAssetAct.registry_id;
|
|
1068
|
+
const Schema$b = {
|
|
1061
1069
|
type: "object",
|
|
1062
1070
|
properties: {
|
|
1063
1071
|
meta: IMetaJSONSchema,
|
|
@@ -1074,23 +1082,23 @@ const Schema$6 = {
|
|
|
1074
1082
|
required: ["meta", "coop", "vars", "request", "user", "decision", "act_id", "transmitter", "program"],
|
|
1075
1083
|
additionalProperties: true
|
|
1076
1084
|
};
|
|
1077
|
-
const Template$
|
|
1085
|
+
const Template$b = {
|
|
1078
1086
|
title: Cooperative$1.Registry.ReturnByAssetAct.title,
|
|
1079
1087
|
description: Cooperative$1.Registry.ReturnByAssetAct.description,
|
|
1080
|
-
model: Schema$
|
|
1088
|
+
model: Schema$b,
|
|
1081
1089
|
context: Cooperative$1.Registry.ReturnByAssetAct.context,
|
|
1082
1090
|
translations: Cooperative$1.Registry.ReturnByAssetAct.translations
|
|
1083
1091
|
};
|
|
1084
1092
|
|
|
1085
1093
|
const ReturnByAssetAct = {
|
|
1086
1094
|
__proto__: null,
|
|
1087
|
-
Schema: Schema$
|
|
1088
|
-
Template: Template$
|
|
1089
|
-
registry_id: registry_id$
|
|
1095
|
+
Schema: Schema$b,
|
|
1096
|
+
Template: Template$b,
|
|
1097
|
+
registry_id: registry_id$b
|
|
1090
1098
|
};
|
|
1091
1099
|
|
|
1092
|
-
const registry_id$
|
|
1093
|
-
const Schema$
|
|
1100
|
+
const registry_id$a = Cooperative$1.Registry.InvestmentAgreement.registry_id;
|
|
1101
|
+
const Schema$a = {
|
|
1094
1102
|
type: "object",
|
|
1095
1103
|
properties: {
|
|
1096
1104
|
meta: IMetaJSONSchema,
|
|
@@ -1164,19 +1172,19 @@ const Schema$5 = {
|
|
|
1164
1172
|
required: ["meta", "coop", "vars", "uhdContract", "user", "coopBankAccount", "type"],
|
|
1165
1173
|
additionalProperties: true
|
|
1166
1174
|
};
|
|
1167
|
-
const Template$
|
|
1175
|
+
const Template$a = {
|
|
1168
1176
|
title: Cooperative$1.Registry.InvestmentAgreement.title,
|
|
1169
1177
|
description: Cooperative$1.Registry.InvestmentAgreement.description,
|
|
1170
|
-
model: Schema$
|
|
1178
|
+
model: Schema$a,
|
|
1171
1179
|
context: Cooperative$1.Registry.InvestmentAgreement.context,
|
|
1172
1180
|
translations: Cooperative$1.Registry.InvestmentAgreement.translations
|
|
1173
1181
|
};
|
|
1174
1182
|
|
|
1175
1183
|
const InvestmentAgreement = {
|
|
1176
1184
|
__proto__: null,
|
|
1177
|
-
Schema: Schema$
|
|
1178
|
-
Template: Template$
|
|
1179
|
-
registry_id: registry_id$
|
|
1185
|
+
Schema: Schema$a,
|
|
1186
|
+
Template: Template$a,
|
|
1187
|
+
registry_id: registry_id$a
|
|
1180
1188
|
};
|
|
1181
1189
|
|
|
1182
1190
|
const UHDContractSchema = {
|
|
@@ -1203,8 +1211,8 @@ const IntellectualResultSchema = {
|
|
|
1203
1211
|
additionalProperties: true
|
|
1204
1212
|
};
|
|
1205
1213
|
|
|
1206
|
-
const registry_id$
|
|
1207
|
-
const Schema$
|
|
1214
|
+
const registry_id$9 = Cooperative$1.Registry.InvestByResultStatement.registry_id;
|
|
1215
|
+
const Schema$9 = {
|
|
1208
1216
|
type: "object",
|
|
1209
1217
|
properties: {
|
|
1210
1218
|
meta: IMetaJSONSchema,
|
|
@@ -1217,23 +1225,23 @@ const Schema$4 = {
|
|
|
1217
1225
|
required: ["meta", "coop", "vars", "uhdContract", "result", "user"],
|
|
1218
1226
|
additionalProperties: true
|
|
1219
1227
|
};
|
|
1220
|
-
const Template$
|
|
1228
|
+
const Template$9 = {
|
|
1221
1229
|
title: Cooperative$1.Registry.InvestByResultStatement.title,
|
|
1222
1230
|
description: Cooperative$1.Registry.InvestByResultStatement.description,
|
|
1223
|
-
model: Schema$
|
|
1231
|
+
model: Schema$9,
|
|
1224
1232
|
context: Cooperative$1.Registry.InvestByResultStatement.context,
|
|
1225
1233
|
translations: Cooperative$1.Registry.InvestByResultStatement.translations
|
|
1226
1234
|
};
|
|
1227
1235
|
|
|
1228
1236
|
const InvestByResultStatement = {
|
|
1229
1237
|
__proto__: null,
|
|
1230
|
-
Schema: Schema$
|
|
1231
|
-
Template: Template$
|
|
1232
|
-
registry_id: registry_id$
|
|
1238
|
+
Schema: Schema$9,
|
|
1239
|
+
Template: Template$9,
|
|
1240
|
+
registry_id: registry_id$9
|
|
1233
1241
|
};
|
|
1234
1242
|
|
|
1235
|
-
const registry_id$
|
|
1236
|
-
const Schema$
|
|
1243
|
+
const registry_id$8 = Cooperative$1.Registry.InvestByResultAct.registry_id;
|
|
1244
|
+
const Schema$8 = {
|
|
1237
1245
|
type: "object",
|
|
1238
1246
|
properties: {
|
|
1239
1247
|
meta: IMetaJSONSchema,
|
|
@@ -1255,19 +1263,19 @@ const Schema$3 = {
|
|
|
1255
1263
|
required: ["meta", "coop", "vars", "uhdContract", "result", "user"],
|
|
1256
1264
|
additionalProperties: true
|
|
1257
1265
|
};
|
|
1258
|
-
const Template$
|
|
1266
|
+
const Template$8 = {
|
|
1259
1267
|
title: Cooperative$1.Registry.InvestByResultAct.title,
|
|
1260
1268
|
description: Cooperative$1.Registry.InvestByResultAct.description,
|
|
1261
|
-
model: Schema$
|
|
1269
|
+
model: Schema$8,
|
|
1262
1270
|
context: Cooperative$1.Registry.InvestByResultAct.context,
|
|
1263
1271
|
translations: Cooperative$1.Registry.InvestByResultAct.translations
|
|
1264
1272
|
};
|
|
1265
1273
|
|
|
1266
1274
|
const InvestByResultAct = {
|
|
1267
1275
|
__proto__: null,
|
|
1268
|
-
Schema: Schema$
|
|
1269
|
-
Template: Template$
|
|
1270
|
-
registry_id: registry_id$
|
|
1276
|
+
Schema: Schema$8,
|
|
1277
|
+
Template: Template$8,
|
|
1278
|
+
registry_id: registry_id$8
|
|
1271
1279
|
};
|
|
1272
1280
|
|
|
1273
1281
|
const ContributionAmountSchema = {
|
|
@@ -1281,8 +1289,8 @@ const ContributionAmountSchema = {
|
|
|
1281
1289
|
additionalProperties: true
|
|
1282
1290
|
};
|
|
1283
1291
|
|
|
1284
|
-
const registry_id$
|
|
1285
|
-
const Schema$
|
|
1292
|
+
const registry_id$7 = Cooperative$1.Registry.InvestByMoneyStatement.registry_id;
|
|
1293
|
+
const Schema$7 = {
|
|
1286
1294
|
type: "object",
|
|
1287
1295
|
properties: {
|
|
1288
1296
|
meta: IMetaJSONSchema,
|
|
@@ -1294,23 +1302,23 @@ const Schema$2 = {
|
|
|
1294
1302
|
required: ["meta", "coop", "uhdContract", "user", "contribution"],
|
|
1295
1303
|
additionalProperties: true
|
|
1296
1304
|
};
|
|
1297
|
-
const Template$
|
|
1305
|
+
const Template$7 = {
|
|
1298
1306
|
title: Cooperative$1.Registry.InvestByMoneyStatement.title,
|
|
1299
1307
|
description: Cooperative$1.Registry.InvestByMoneyStatement.description,
|
|
1300
|
-
model: Schema$
|
|
1308
|
+
model: Schema$7,
|
|
1301
1309
|
context: Cooperative$1.Registry.InvestByMoneyStatement.context,
|
|
1302
1310
|
translations: Cooperative$1.Registry.InvestByMoneyStatement.translations
|
|
1303
1311
|
};
|
|
1304
1312
|
|
|
1305
1313
|
const InvestByMoneyStatement = {
|
|
1306
1314
|
__proto__: null,
|
|
1307
|
-
Schema: Schema$
|
|
1308
|
-
Template: Template$
|
|
1309
|
-
registry_id: registry_id$
|
|
1315
|
+
Schema: Schema$7,
|
|
1316
|
+
Template: Template$7,
|
|
1317
|
+
registry_id: registry_id$7
|
|
1310
1318
|
};
|
|
1311
1319
|
|
|
1312
|
-
const registry_id$
|
|
1313
|
-
const Schema$
|
|
1320
|
+
const registry_id$6 = Cooperative$1.Registry.InvestMembershipConvertation.registry_id;
|
|
1321
|
+
const Schema$6 = {
|
|
1314
1322
|
type: "object",
|
|
1315
1323
|
properties: {
|
|
1316
1324
|
meta: IMetaJSONSchema,
|
|
@@ -1331,23 +1339,23 @@ const Schema$1 = {
|
|
|
1331
1339
|
required: ["meta", "coop", "uhdContract", "user", "contribution", "appendix", "vars"],
|
|
1332
1340
|
additionalProperties: true
|
|
1333
1341
|
};
|
|
1334
|
-
const Template$
|
|
1342
|
+
const Template$6 = {
|
|
1335
1343
|
title: Cooperative$1.Registry.InvestMembershipConvertation.title,
|
|
1336
1344
|
description: Cooperative$1.Registry.InvestMembershipConvertation.description,
|
|
1337
|
-
model: Schema$
|
|
1345
|
+
model: Schema$6,
|
|
1338
1346
|
context: Cooperative$1.Registry.InvestMembershipConvertation.context,
|
|
1339
1347
|
translations: Cooperative$1.Registry.InvestMembershipConvertation.translations
|
|
1340
1348
|
};
|
|
1341
1349
|
|
|
1342
1350
|
const InvestMembershipConvertation = {
|
|
1343
1351
|
__proto__: null,
|
|
1344
|
-
Schema: Schema$
|
|
1345
|
-
Template: Template$
|
|
1346
|
-
registry_id: registry_id$
|
|
1352
|
+
Schema: Schema$6,
|
|
1353
|
+
Template: Template$6,
|
|
1354
|
+
registry_id: registry_id$6
|
|
1347
1355
|
};
|
|
1348
1356
|
|
|
1349
|
-
const registry_id = Cooperative$1.Registry.SosediAgreement.registry_id;
|
|
1350
|
-
const Schema = {
|
|
1357
|
+
const registry_id$5 = Cooperative$1.Registry.SosediAgreement.registry_id;
|
|
1358
|
+
const Schema$5 = {
|
|
1351
1359
|
type: "object",
|
|
1352
1360
|
properties: {
|
|
1353
1361
|
meta: IMetaJSONSchema,
|
|
@@ -1357,35 +1365,170 @@ const Schema = {
|
|
|
1357
1365
|
required: ["meta", "coop", "vars"],
|
|
1358
1366
|
additionalProperties: true
|
|
1359
1367
|
};
|
|
1360
|
-
const Template = {
|
|
1368
|
+
const Template$5 = {
|
|
1361
1369
|
title: Cooperative$1.Registry.SosediAgreement.title,
|
|
1362
1370
|
description: Cooperative$1.Registry.SosediAgreement.description,
|
|
1363
|
-
model: Schema,
|
|
1371
|
+
model: Schema$5,
|
|
1364
1372
|
context: Cooperative$1.Registry.SosediAgreement.context,
|
|
1365
1373
|
translations: Cooperative$1.Registry.SosediAgreement.translations
|
|
1366
1374
|
};
|
|
1367
1375
|
|
|
1368
1376
|
const SosediAgreement = {
|
|
1369
1377
|
__proto__: null,
|
|
1370
|
-
Schema: Schema,
|
|
1371
|
-
Template: Template,
|
|
1372
|
-
registry_id: registry_id
|
|
1378
|
+
Schema: Schema$5,
|
|
1379
|
+
Template: Template$5,
|
|
1380
|
+
registry_id: registry_id$5
|
|
1373
1381
|
};
|
|
1374
1382
|
|
|
1375
|
-
const
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1383
|
+
const registry_id$4 = Cooperative$1.Registry.AnnualGeneralMeetingAgenda.registry_id;
|
|
1384
|
+
const Schema$4 = {
|
|
1385
|
+
type: "object",
|
|
1386
|
+
properties: {
|
|
1387
|
+
meta: IMetaJSONSchema,
|
|
1388
|
+
coop: CooperativeSchema,
|
|
1389
|
+
vars: VarsSchema
|
|
1390
|
+
},
|
|
1391
|
+
required: ["meta", "coop", "vars"],
|
|
1392
|
+
additionalProperties: true
|
|
1393
|
+
};
|
|
1394
|
+
const Template$4 = {
|
|
1395
|
+
title: Cooperative$1.Registry.AnnualGeneralMeetingAgenda.title,
|
|
1396
|
+
description: Cooperative$1.Registry.AnnualGeneralMeetingAgenda.description,
|
|
1397
|
+
model: Schema$4,
|
|
1398
|
+
context: Cooperative$1.Registry.AnnualGeneralMeetingAgenda.context,
|
|
1399
|
+
translations: Cooperative$1.Registry.AnnualGeneralMeetingAgenda.translations
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
const AnnualGeneralMeetingAgenda = {
|
|
1403
|
+
__proto__: null,
|
|
1404
|
+
Schema: Schema$4,
|
|
1405
|
+
Template: Template$4,
|
|
1406
|
+
registry_id: registry_id$4
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1409
|
+
const registry_id$3 = Cooperative$1.Registry.AnnualGeneralMeetingSovietDecision.registry_id;
|
|
1410
|
+
const Schema$3 = {
|
|
1411
|
+
type: "object",
|
|
1412
|
+
properties: {
|
|
1413
|
+
meta: IMetaJSONSchema,
|
|
1414
|
+
coop: CooperativeSchema,
|
|
1415
|
+
vars: VarsSchema
|
|
1416
|
+
},
|
|
1417
|
+
required: ["meta", "coop", "vars"],
|
|
1418
|
+
additionalProperties: true
|
|
1419
|
+
};
|
|
1420
|
+
const Template$3 = {
|
|
1421
|
+
title: Cooperative$1.Registry.AnnualGeneralMeetingSovietDecision.title,
|
|
1422
|
+
description: Cooperative$1.Registry.AnnualGeneralMeetingSovietDecision.description,
|
|
1423
|
+
model: Schema$3,
|
|
1424
|
+
context: Cooperative$1.Registry.AnnualGeneralMeetingSovietDecision.context,
|
|
1425
|
+
translations: Cooperative$1.Registry.AnnualGeneralMeetingSovietDecision.translations
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1428
|
+
const AnnualGeneralMeetingSovietDecision = {
|
|
1429
|
+
__proto__: null,
|
|
1430
|
+
Schema: Schema$3,
|
|
1431
|
+
Template: Template$3,
|
|
1432
|
+
registry_id: registry_id$3
|
|
1433
|
+
};
|
|
1434
|
+
|
|
1435
|
+
const registry_id$2 = Cooperative$1.Registry.AnnualGeneralMeetingNotification.registry_id;
|
|
1436
|
+
const Schema$2 = {
|
|
1437
|
+
type: "object",
|
|
1438
|
+
properties: {
|
|
1439
|
+
meta: IMetaJSONSchema,
|
|
1440
|
+
coop: CooperativeSchema,
|
|
1441
|
+
vars: VarsSchema
|
|
1442
|
+
},
|
|
1443
|
+
required: ["meta", "coop", "vars"],
|
|
1444
|
+
additionalProperties: true
|
|
1445
|
+
};
|
|
1446
|
+
const Template$2 = {
|
|
1447
|
+
title: Cooperative$1.Registry.AnnualGeneralMeetingNotification.title,
|
|
1448
|
+
description: Cooperative$1.Registry.AnnualGeneralMeetingNotification.description,
|
|
1449
|
+
model: Schema$2,
|
|
1450
|
+
context: Cooperative$1.Registry.AnnualGeneralMeetingNotification.context,
|
|
1451
|
+
translations: Cooperative$1.Registry.AnnualGeneralMeetingNotification.translations
|
|
1452
|
+
};
|
|
1453
|
+
|
|
1454
|
+
const AnnualGeneralMeetingNotification = {
|
|
1455
|
+
__proto__: null,
|
|
1456
|
+
Schema: Schema$2,
|
|
1457
|
+
Template: Template$2,
|
|
1458
|
+
registry_id: registry_id$2
|
|
1459
|
+
};
|
|
1460
|
+
|
|
1461
|
+
const registry_id$1 = Cooperative$1.Registry.AnnualGeneralMeetingVotingBallot.registry_id;
|
|
1462
|
+
const Schema$1 = {
|
|
1463
|
+
type: "object",
|
|
1464
|
+
properties: {
|
|
1465
|
+
meta: IMetaJSONSchema,
|
|
1466
|
+
coop: CooperativeSchema,
|
|
1467
|
+
vars: VarsSchema
|
|
1468
|
+
},
|
|
1469
|
+
required: ["meta", "coop", "vars"],
|
|
1470
|
+
additionalProperties: true
|
|
1471
|
+
};
|
|
1472
|
+
const Template$1 = {
|
|
1473
|
+
title: Cooperative$1.Registry.AnnualGeneralMeetingVotingBallot.title,
|
|
1474
|
+
description: Cooperative$1.Registry.AnnualGeneralMeetingVotingBallot.description,
|
|
1475
|
+
model: Schema$1,
|
|
1476
|
+
context: Cooperative$1.Registry.AnnualGeneralMeetingVotingBallot.context,
|
|
1477
|
+
translations: Cooperative$1.Registry.AnnualGeneralMeetingVotingBallot.translations
|
|
1478
|
+
};
|
|
1479
|
+
|
|
1480
|
+
const AnnualGeneralMeetingVotingBallot = {
|
|
1481
|
+
__proto__: null,
|
|
1482
|
+
Schema: Schema$1,
|
|
1483
|
+
Template: Template$1,
|
|
1484
|
+
registry_id: registry_id$1
|
|
1485
|
+
};
|
|
1486
|
+
|
|
1487
|
+
const registry_id = Cooperative$1.Registry.AnnualGeneralMeetingDecision.registry_id;
|
|
1488
|
+
const Schema = {
|
|
1489
|
+
type: "object",
|
|
1490
|
+
properties: {
|
|
1491
|
+
meta: IMetaJSONSchema,
|
|
1492
|
+
coop: CooperativeSchema,
|
|
1493
|
+
vars: VarsSchema
|
|
1494
|
+
},
|
|
1495
|
+
required: ["meta", "coop", "vars"],
|
|
1496
|
+
additionalProperties: true
|
|
1497
|
+
};
|
|
1498
|
+
const Template = {
|
|
1499
|
+
title: Cooperative$1.Registry.AnnualGeneralMeetingDecision.title,
|
|
1500
|
+
description: Cooperative$1.Registry.AnnualGeneralMeetingDecision.description,
|
|
1501
|
+
model: Schema,
|
|
1502
|
+
context: Cooperative$1.Registry.AnnualGeneralMeetingDecision.context,
|
|
1503
|
+
translations: Cooperative$1.Registry.AnnualGeneralMeetingDecision.translations
|
|
1504
|
+
};
|
|
1505
|
+
|
|
1506
|
+
const AnnualGeneralMeetingDecision = {
|
|
1507
|
+
__proto__: null,
|
|
1508
|
+
Schema: Schema,
|
|
1509
|
+
Template: Template,
|
|
1510
|
+
registry_id: registry_id
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
const Registry = {
|
|
1514
|
+
1: WalletAgreement,
|
|
1515
|
+
2: RegulationElectronicSignaturet,
|
|
1516
|
+
3: PrivacyPolicy,
|
|
1517
|
+
4: UserAgreement,
|
|
1518
|
+
50: CoopenomicsAgreement,
|
|
1519
|
+
100: ParticipantApplication,
|
|
1520
|
+
101: SelectBranchStatement,
|
|
1521
|
+
300: AnnualGeneralMeetingAgenda,
|
|
1522
|
+
301: AnnualGeneralMeetingSovietDecision,
|
|
1523
|
+
302: AnnualGeneralMeetingNotification,
|
|
1524
|
+
303: AnnualGeneralMeetingVotingBallot,
|
|
1525
|
+
304: AnnualGeneralMeetingDecision,
|
|
1526
|
+
501: DecisionOfParticipantApplication,
|
|
1527
|
+
599: ProjectFreeDecision,
|
|
1528
|
+
600: FreeDecision,
|
|
1529
|
+
699: SosediAgreement,
|
|
1530
|
+
700: AssetContributionStatement,
|
|
1531
|
+
701: AssetContributionDecision,
|
|
1389
1532
|
702: AssetContributionAct,
|
|
1390
1533
|
800: ReturnByAssetStatement,
|
|
1391
1534
|
801: ReturnByAssetDecision,
|
|
@@ -2015,7 +2158,7 @@ class PDFService {
|
|
|
2015
2158
|
|
|
2016
2159
|
const name = "@coopenomics/factory";
|
|
2017
2160
|
const type = "module";
|
|
2018
|
-
const version = "
|
|
2161
|
+
const version = "2025.5.2";
|
|
2019
2162
|
const packageManager = "pnpm@9.0.6";
|
|
2020
2163
|
const description = "";
|
|
2021
2164
|
const author = "Alex Ant <chairman.voskhod@gmail.com>";
|
|
@@ -2064,7 +2207,7 @@ const dependencies = {
|
|
|
2064
2207
|
"ajv-formats": "^3.0.1",
|
|
2065
2208
|
"ajv-i18n": "^4.2.0",
|
|
2066
2209
|
axios: "^1.7.2",
|
|
2067
|
-
cooptypes: "
|
|
2210
|
+
cooptypes: "2025.5.2",
|
|
2068
2211
|
dotenv: "^16.4.5",
|
|
2069
2212
|
"eosjs-ecc": "^4.0.7",
|
|
2070
2213
|
handlebars: "^4.7.8",
|
|
@@ -2105,7 +2248,7 @@ const pnpm = {
|
|
|
2105
2248
|
"vite@>=5.1.0 <=5.1.6": ">=5.1.7"
|
|
2106
2249
|
}
|
|
2107
2250
|
};
|
|
2108
|
-
const gitHead = "
|
|
2251
|
+
const gitHead = "b930543c2bd9a67214210dd1909d535816f1ec8f";
|
|
2109
2252
|
const packageJson = {
|
|
2110
2253
|
name: name,
|
|
2111
2254
|
type: type,
|
|
@@ -2445,16 +2588,16 @@ class DocFactory {
|
|
|
2445
2588
|
}
|
|
2446
2589
|
}
|
|
2447
2590
|
|
|
2448
|
-
let Factory$
|
|
2591
|
+
let Factory$q = class Factory extends DocFactory {
|
|
2449
2592
|
constructor(storage) {
|
|
2450
2593
|
super(storage);
|
|
2451
2594
|
}
|
|
2452
2595
|
async generateDocument(data, options) {
|
|
2453
2596
|
let template;
|
|
2454
2597
|
if (process.env.SOURCE === "local") {
|
|
2455
|
-
template = Template$
|
|
2598
|
+
template = Template$q;
|
|
2456
2599
|
} else {
|
|
2457
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2600
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$q, data.block_num);
|
|
2458
2601
|
}
|
|
2459
2602
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
2460
2603
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -2472,16 +2615,16 @@ let Factory$l = class Factory extends DocFactory {
|
|
|
2472
2615
|
}
|
|
2473
2616
|
};
|
|
2474
2617
|
|
|
2475
|
-
let Factory$
|
|
2618
|
+
let Factory$p = class Factory extends DocFactory {
|
|
2476
2619
|
constructor(storage) {
|
|
2477
2620
|
super(storage);
|
|
2478
2621
|
}
|
|
2479
2622
|
async generateDocument(data, options) {
|
|
2480
2623
|
let template;
|
|
2481
2624
|
if (process.env.SOURCE === "local") {
|
|
2482
|
-
template = Template$
|
|
2625
|
+
template = Template$p;
|
|
2483
2626
|
} else {
|
|
2484
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2627
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$p, data.block_num);
|
|
2485
2628
|
}
|
|
2486
2629
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
2487
2630
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -2499,16 +2642,16 @@ let Factory$k = class Factory extends DocFactory {
|
|
|
2499
2642
|
}
|
|
2500
2643
|
};
|
|
2501
2644
|
|
|
2502
|
-
let Factory$
|
|
2645
|
+
let Factory$o = class Factory extends DocFactory {
|
|
2503
2646
|
constructor(storage) {
|
|
2504
2647
|
super(storage);
|
|
2505
2648
|
}
|
|
2506
2649
|
async generateDocument(data, options) {
|
|
2507
2650
|
let template;
|
|
2508
2651
|
if (process.env.SOURCE === "local") {
|
|
2509
|
-
template = Template$
|
|
2652
|
+
template = Template$o;
|
|
2510
2653
|
} else {
|
|
2511
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2654
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$o, data.block_num);
|
|
2512
2655
|
}
|
|
2513
2656
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
2514
2657
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -2526,16 +2669,16 @@ let Factory$j = class Factory extends DocFactory {
|
|
|
2526
2669
|
}
|
|
2527
2670
|
};
|
|
2528
2671
|
|
|
2529
|
-
let Factory$
|
|
2672
|
+
let Factory$n = class Factory extends DocFactory {
|
|
2530
2673
|
constructor(storage) {
|
|
2531
2674
|
super(storage);
|
|
2532
2675
|
}
|
|
2533
2676
|
async generateDocument(data, options) {
|
|
2534
2677
|
let template;
|
|
2535
2678
|
if (process.env.SOURCE === "local") {
|
|
2536
|
-
template = Template$
|
|
2679
|
+
template = Template$n;
|
|
2537
2680
|
} else {
|
|
2538
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2681
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$n, data.block_num);
|
|
2539
2682
|
}
|
|
2540
2683
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
2541
2684
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -2557,16 +2700,16 @@ let Factory$i = class Factory extends DocFactory {
|
|
|
2557
2700
|
}
|
|
2558
2701
|
};
|
|
2559
2702
|
|
|
2560
|
-
let Factory$
|
|
2703
|
+
let Factory$m = class Factory extends DocFactory {
|
|
2561
2704
|
constructor(storage) {
|
|
2562
2705
|
super(storage);
|
|
2563
2706
|
}
|
|
2564
2707
|
async generateDocument(data, options) {
|
|
2565
2708
|
let template;
|
|
2566
2709
|
if (process.env.SOURCE === "local") {
|
|
2567
|
-
template = Template$
|
|
2710
|
+
template = Template$m;
|
|
2568
2711
|
} else {
|
|
2569
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2712
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$m, data.block_num);
|
|
2570
2713
|
}
|
|
2571
2714
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
2572
2715
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -2586,16 +2729,16 @@ let Factory$h = class Factory extends DocFactory {
|
|
|
2586
2729
|
}
|
|
2587
2730
|
};
|
|
2588
2731
|
|
|
2589
|
-
let Factory$
|
|
2732
|
+
let Factory$l = class Factory extends DocFactory {
|
|
2590
2733
|
constructor(storage) {
|
|
2591
2734
|
super(storage);
|
|
2592
2735
|
}
|
|
2593
2736
|
async generateDocument(data, _options) {
|
|
2594
2737
|
let template;
|
|
2595
2738
|
if (process.env.SOURCE === "local") {
|
|
2596
|
-
template = Template$
|
|
2739
|
+
template = Template$j;
|
|
2597
2740
|
} else {
|
|
2598
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2741
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$j, data.block_num);
|
|
2599
2742
|
}
|
|
2600
2743
|
const user = await super.getUser(data.username, data.block_num);
|
|
2601
2744
|
const userData = {
|
|
@@ -2609,7 +2752,7 @@ let Factory$g = class Factory extends DocFactory {
|
|
|
2609
2752
|
const branch = await super.getOrganization(data.braname, data.block_num);
|
|
2610
2753
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
2611
2754
|
const vars = await super.getVars(data.coopname, data.block_num);
|
|
2612
|
-
const combinedData = { ...userData, meta, branch, type: user.type, vars };
|
|
2755
|
+
const combinedData = { ...userData, meta, branch, type: user.type, vars, coop };
|
|
2613
2756
|
await super.validate(combinedData, template.model);
|
|
2614
2757
|
const translation = template.translations[meta.lang];
|
|
2615
2758
|
const document = await super.generatePDF(user.data, template.context, combinedData, translation, meta, data.skip_save);
|
|
@@ -2617,16 +2760,16 @@ let Factory$g = class Factory extends DocFactory {
|
|
|
2617
2760
|
}
|
|
2618
2761
|
};
|
|
2619
2762
|
|
|
2620
|
-
let Factory$
|
|
2763
|
+
let Factory$k = class Factory extends DocFactory {
|
|
2621
2764
|
constructor(storage) {
|
|
2622
2765
|
super(storage);
|
|
2623
2766
|
}
|
|
2624
2767
|
async generateDocument(data, _options) {
|
|
2625
2768
|
let template;
|
|
2626
2769
|
if (process.env.SOURCE === "local") {
|
|
2627
|
-
template = Template$
|
|
2770
|
+
template = Template$l;
|
|
2628
2771
|
} else {
|
|
2629
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2772
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$l, data.block_num);
|
|
2630
2773
|
}
|
|
2631
2774
|
const user = await super.getUser(data.username, data.block_num);
|
|
2632
2775
|
let bank_account = {};
|
|
@@ -2676,16 +2819,16 @@ let Factory$f = class Factory extends DocFactory {
|
|
|
2676
2819
|
}
|
|
2677
2820
|
};
|
|
2678
2821
|
|
|
2679
|
-
let Factory$
|
|
2822
|
+
let Factory$j = class Factory extends DocFactory {
|
|
2680
2823
|
constructor(storage) {
|
|
2681
2824
|
super(storage);
|
|
2682
2825
|
}
|
|
2683
2826
|
async generateDocument(data, options) {
|
|
2684
2827
|
let template;
|
|
2685
2828
|
if (process.env.SOURCE === "local") {
|
|
2686
|
-
template = Template$
|
|
2829
|
+
template = Template$k;
|
|
2687
2830
|
} else {
|
|
2688
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2831
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$k, data.block_num);
|
|
2689
2832
|
}
|
|
2690
2833
|
const user = await super.getUser(data.username, data.block_num);
|
|
2691
2834
|
const userData = {
|
|
@@ -2725,16 +2868,16 @@ let Factory$e = class Factory extends DocFactory {
|
|
|
2725
2868
|
}
|
|
2726
2869
|
};
|
|
2727
2870
|
|
|
2728
|
-
let Factory$
|
|
2871
|
+
let Factory$i = class Factory extends DocFactory {
|
|
2729
2872
|
constructor(storage) {
|
|
2730
2873
|
super(storage);
|
|
2731
2874
|
}
|
|
2732
2875
|
async generateDocument(data, options) {
|
|
2733
2876
|
let template;
|
|
2734
2877
|
if (process.env.SOURCE === "local") {
|
|
2735
|
-
template = Template$
|
|
2878
|
+
template = Template$i;
|
|
2736
2879
|
} else {
|
|
2737
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2880
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$i, data.block_num);
|
|
2738
2881
|
}
|
|
2739
2882
|
const user = await this.getUser(data.username, data.block_num);
|
|
2740
2883
|
const suggester_name = await this.getFullName(user.data);
|
|
@@ -2770,16 +2913,16 @@ let Factory$d = class Factory extends DocFactory {
|
|
|
2770
2913
|
}
|
|
2771
2914
|
};
|
|
2772
2915
|
|
|
2773
|
-
let Factory$
|
|
2916
|
+
let Factory$h = class Factory extends DocFactory {
|
|
2774
2917
|
constructor(storage) {
|
|
2775
2918
|
super(storage);
|
|
2776
2919
|
}
|
|
2777
2920
|
async generateDocument(data, options) {
|
|
2778
2921
|
let template;
|
|
2779
2922
|
if (process.env.SOURCE === "local") {
|
|
2780
|
-
template = Template$
|
|
2923
|
+
template = Template$h;
|
|
2781
2924
|
} else {
|
|
2782
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2925
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$h, data.block_num);
|
|
2783
2926
|
}
|
|
2784
2927
|
const user = await this.getUser(data.username, data.block_num);
|
|
2785
2928
|
const userData = {
|
|
@@ -2822,16 +2965,16 @@ let Factory$c = class Factory extends DocFactory {
|
|
|
2822
2965
|
}
|
|
2823
2966
|
};
|
|
2824
2967
|
|
|
2825
|
-
let Factory$
|
|
2968
|
+
let Factory$g = class Factory extends DocFactory {
|
|
2826
2969
|
constructor(storage) {
|
|
2827
2970
|
super(storage);
|
|
2828
2971
|
}
|
|
2829
2972
|
async generateDocument(data, options) {
|
|
2830
2973
|
let template;
|
|
2831
2974
|
if (process.env.SOURCE === "local") {
|
|
2832
|
-
template = Template$
|
|
2975
|
+
template = Template$g;
|
|
2833
2976
|
} else {
|
|
2834
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
2977
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$g, data.block_num);
|
|
2835
2978
|
}
|
|
2836
2979
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
2837
2980
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -2853,16 +2996,16 @@ let Factory$b = class Factory extends DocFactory {
|
|
|
2853
2996
|
}
|
|
2854
2997
|
};
|
|
2855
2998
|
|
|
2856
|
-
let Factory$
|
|
2999
|
+
let Factory$f = class Factory extends DocFactory {
|
|
2857
3000
|
constructor(storage) {
|
|
2858
3001
|
super(storage);
|
|
2859
3002
|
}
|
|
2860
3003
|
async generateDocument(data, options) {
|
|
2861
3004
|
let template;
|
|
2862
3005
|
if (process.env.SOURCE === "local") {
|
|
2863
|
-
template = Template$
|
|
3006
|
+
template = Template$f;
|
|
2864
3007
|
} else {
|
|
2865
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3008
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$f, data.block_num);
|
|
2866
3009
|
}
|
|
2867
3010
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
2868
3011
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -2884,16 +3027,16 @@ let Factory$a = class Factory extends DocFactory {
|
|
|
2884
3027
|
}
|
|
2885
3028
|
};
|
|
2886
3029
|
|
|
2887
|
-
let Factory$
|
|
3030
|
+
let Factory$e = class Factory extends DocFactory {
|
|
2888
3031
|
constructor(storage) {
|
|
2889
3032
|
super(storage);
|
|
2890
3033
|
}
|
|
2891
3034
|
async generateDocument(data, options) {
|
|
2892
3035
|
let template;
|
|
2893
3036
|
if (process.env.SOURCE === "local") {
|
|
2894
|
-
template = Template;
|
|
3037
|
+
template = Template$5;
|
|
2895
3038
|
} else {
|
|
2896
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id, data.block_num);
|
|
3039
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$5, data.block_num);
|
|
2897
3040
|
}
|
|
2898
3041
|
const meta = await super.getMeta({ title: template.title, ...data });
|
|
2899
3042
|
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
@@ -2911,16 +3054,16 @@ let Factory$9 = class Factory extends DocFactory {
|
|
|
2911
3054
|
}
|
|
2912
3055
|
};
|
|
2913
3056
|
|
|
2914
|
-
let Factory$
|
|
3057
|
+
let Factory$d = class Factory extends DocFactory {
|
|
2915
3058
|
constructor(storage) {
|
|
2916
3059
|
super(storage);
|
|
2917
3060
|
}
|
|
2918
3061
|
async generateDocument(data, options) {
|
|
2919
3062
|
let template;
|
|
2920
3063
|
if (process.env.SOURCE === "local") {
|
|
2921
|
-
template = Template$
|
|
3064
|
+
template = Template$e;
|
|
2922
3065
|
} else {
|
|
2923
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3066
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$e, data.block_num);
|
|
2924
3067
|
}
|
|
2925
3068
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
2926
3069
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -2944,16 +3087,16 @@ let Factory$8 = class Factory extends DocFactory {
|
|
|
2944
3087
|
}
|
|
2945
3088
|
};
|
|
2946
3089
|
|
|
2947
|
-
let Factory$
|
|
3090
|
+
let Factory$c = class Factory extends DocFactory {
|
|
2948
3091
|
constructor(storage) {
|
|
2949
3092
|
super(storage);
|
|
2950
3093
|
}
|
|
2951
3094
|
async generateDocument(data, options) {
|
|
2952
3095
|
let template;
|
|
2953
3096
|
if (process.env.SOURCE === "local") {
|
|
2954
|
-
template = Template$
|
|
3097
|
+
template = Template$c;
|
|
2955
3098
|
} else {
|
|
2956
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3099
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$c, data.block_num);
|
|
2957
3100
|
}
|
|
2958
3101
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
2959
3102
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -2988,16 +3131,16 @@ let Factory$7 = class Factory extends DocFactory {
|
|
|
2988
3131
|
}
|
|
2989
3132
|
};
|
|
2990
3133
|
|
|
2991
|
-
let Factory$
|
|
3134
|
+
let Factory$b = class Factory extends DocFactory {
|
|
2992
3135
|
constructor(storage) {
|
|
2993
3136
|
super(storage);
|
|
2994
3137
|
}
|
|
2995
3138
|
async generateDocument(data, options) {
|
|
2996
3139
|
let template;
|
|
2997
3140
|
if (process.env.SOURCE === "local") {
|
|
2998
|
-
template = Template$
|
|
3141
|
+
template = Template$d;
|
|
2999
3142
|
} else {
|
|
3000
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3143
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$d, data.block_num);
|
|
3001
3144
|
}
|
|
3002
3145
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
3003
3146
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -3021,16 +3164,16 @@ let Factory$6 = class Factory extends DocFactory {
|
|
|
3021
3164
|
}
|
|
3022
3165
|
};
|
|
3023
3166
|
|
|
3024
|
-
let Factory$
|
|
3167
|
+
let Factory$a = class Factory extends DocFactory {
|
|
3025
3168
|
constructor(storage) {
|
|
3026
3169
|
super(storage);
|
|
3027
3170
|
}
|
|
3028
3171
|
async generateDocument(data, options) {
|
|
3029
3172
|
let template;
|
|
3030
3173
|
if (process.env.SOURCE === "local") {
|
|
3031
|
-
template = Template$
|
|
3174
|
+
template = Template$b;
|
|
3032
3175
|
} else {
|
|
3033
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3176
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$b, data.block_num);
|
|
3034
3177
|
}
|
|
3035
3178
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
3036
3179
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -3065,16 +3208,16 @@ let Factory$5 = class Factory extends DocFactory {
|
|
|
3065
3208
|
}
|
|
3066
3209
|
};
|
|
3067
3210
|
|
|
3068
|
-
let Factory$
|
|
3211
|
+
let Factory$9 = class Factory extends DocFactory {
|
|
3069
3212
|
constructor(storage) {
|
|
3070
3213
|
super(storage);
|
|
3071
3214
|
}
|
|
3072
3215
|
async generateDocument(data, options) {
|
|
3073
3216
|
let template;
|
|
3074
3217
|
if (process.env.SOURCE === "local") {
|
|
3075
|
-
template = Template$
|
|
3218
|
+
template = Template$a;
|
|
3076
3219
|
} else {
|
|
3077
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3220
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$a, data.block_num);
|
|
3078
3221
|
}
|
|
3079
3222
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
3080
3223
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -3109,16 +3252,16 @@ let Factory$4 = class Factory extends DocFactory {
|
|
|
3109
3252
|
}
|
|
3110
3253
|
};
|
|
3111
3254
|
|
|
3112
|
-
let Factory$
|
|
3255
|
+
let Factory$8 = class Factory extends DocFactory {
|
|
3113
3256
|
constructor(storage) {
|
|
3114
3257
|
super(storage);
|
|
3115
3258
|
}
|
|
3116
3259
|
async generateDocument(data, options) {
|
|
3117
3260
|
let template;
|
|
3118
3261
|
if (process.env.SOURCE === "local") {
|
|
3119
|
-
template = Template$
|
|
3262
|
+
template = Template$9;
|
|
3120
3263
|
} else {
|
|
3121
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3264
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$9, data.block_num);
|
|
3122
3265
|
}
|
|
3123
3266
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
3124
3267
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -3141,16 +3284,16 @@ let Factory$3 = class Factory extends DocFactory {
|
|
|
3141
3284
|
}
|
|
3142
3285
|
};
|
|
3143
3286
|
|
|
3144
|
-
let Factory$
|
|
3287
|
+
let Factory$7 = class Factory extends DocFactory {
|
|
3145
3288
|
constructor(storage) {
|
|
3146
3289
|
super(storage);
|
|
3147
3290
|
}
|
|
3148
3291
|
async generateDocument(data, options) {
|
|
3149
3292
|
let template;
|
|
3150
3293
|
if (process.env.SOURCE === "local") {
|
|
3151
|
-
template = Template$
|
|
3294
|
+
template = Template$8;
|
|
3152
3295
|
} else {
|
|
3153
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3296
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$8, data.block_num);
|
|
3154
3297
|
}
|
|
3155
3298
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
3156
3299
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -3184,16 +3327,16 @@ let Factory$2 = class Factory extends DocFactory {
|
|
|
3184
3327
|
}
|
|
3185
3328
|
};
|
|
3186
3329
|
|
|
3187
|
-
let Factory$
|
|
3330
|
+
let Factory$6 = class Factory extends DocFactory {
|
|
3188
3331
|
constructor(storage) {
|
|
3189
3332
|
super(storage);
|
|
3190
3333
|
}
|
|
3191
3334
|
async generateDocument(data, options) {
|
|
3192
3335
|
let template;
|
|
3193
3336
|
if (process.env.SOURCE === "local") {
|
|
3194
|
-
template = Template$
|
|
3337
|
+
template = Template$7;
|
|
3195
3338
|
} else {
|
|
3196
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3339
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$7, data.block_num);
|
|
3197
3340
|
}
|
|
3198
3341
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
3199
3342
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -3214,16 +3357,16 @@ let Factory$1 = class Factory extends DocFactory {
|
|
|
3214
3357
|
}
|
|
3215
3358
|
};
|
|
3216
3359
|
|
|
3217
|
-
class Factory extends DocFactory {
|
|
3360
|
+
let Factory$5 = class Factory extends DocFactory {
|
|
3218
3361
|
constructor(storage) {
|
|
3219
3362
|
super(storage);
|
|
3220
3363
|
}
|
|
3221
3364
|
async generateDocument(data, options) {
|
|
3222
3365
|
let template;
|
|
3223
3366
|
if (process.env.SOURCE === "local") {
|
|
3224
|
-
template = Template$
|
|
3367
|
+
template = Template$6;
|
|
3225
3368
|
} else {
|
|
3226
|
-
template = await this.getTemplate(DraftContract.contractName.production, registry_id$
|
|
3369
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$6, data.block_num);
|
|
3227
3370
|
}
|
|
3228
3371
|
const meta = await this.getMeta({ title: template.title, ...data });
|
|
3229
3372
|
const coop = await this.getCooperative(data.coopname, data.block_num);
|
|
@@ -3246,6 +3389,141 @@ class Factory extends DocFactory {
|
|
|
3246
3389
|
const document = await this.generatePDF(commonUser.full_name_or_short_name, template.context, combinedData, translation, meta, options?.skip_save);
|
|
3247
3390
|
return document;
|
|
3248
3391
|
}
|
|
3392
|
+
};
|
|
3393
|
+
|
|
3394
|
+
let Factory$4 = class Factory extends DocFactory {
|
|
3395
|
+
constructor(storage) {
|
|
3396
|
+
super(storage);
|
|
3397
|
+
}
|
|
3398
|
+
async generateDocument(data, options) {
|
|
3399
|
+
let template;
|
|
3400
|
+
if (process.env.SOURCE === "local") {
|
|
3401
|
+
template = Template$4;
|
|
3402
|
+
} else {
|
|
3403
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$4, data.block_num);
|
|
3404
|
+
}
|
|
3405
|
+
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3406
|
+
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
3407
|
+
const vars = await super.getVars(data.coopname, data.block_num);
|
|
3408
|
+
const user = await super.getUser(data.username, data.block_num);
|
|
3409
|
+
const combinedData = {
|
|
3410
|
+
meta,
|
|
3411
|
+
coop,
|
|
3412
|
+
vars
|
|
3413
|
+
};
|
|
3414
|
+
await super.validate(combinedData, template.model);
|
|
3415
|
+
const translation = template.translations[meta.lang];
|
|
3416
|
+
const document = await super.generatePDF(user.data, template.context, combinedData, translation, meta, options?.skip_save);
|
|
3417
|
+
return document;
|
|
3418
|
+
}
|
|
3419
|
+
};
|
|
3420
|
+
|
|
3421
|
+
let Factory$3 = class Factory extends DocFactory {
|
|
3422
|
+
constructor(storage) {
|
|
3423
|
+
super(storage);
|
|
3424
|
+
}
|
|
3425
|
+
async generateDocument(data, options) {
|
|
3426
|
+
let template;
|
|
3427
|
+
if (process.env.SOURCE === "local") {
|
|
3428
|
+
template = Template$3;
|
|
3429
|
+
} else {
|
|
3430
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$3, data.block_num);
|
|
3431
|
+
}
|
|
3432
|
+
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3433
|
+
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
3434
|
+
const vars = await super.getVars(data.coopname, data.block_num);
|
|
3435
|
+
const user = await super.getUser(data.username, data.block_num);
|
|
3436
|
+
const combinedData = {
|
|
3437
|
+
meta,
|
|
3438
|
+
coop,
|
|
3439
|
+
vars
|
|
3440
|
+
};
|
|
3441
|
+
await super.validate(combinedData, template.model);
|
|
3442
|
+
const translation = template.translations[meta.lang];
|
|
3443
|
+
const document = await super.generatePDF(user.data, template.context, combinedData, translation, meta, options?.skip_save);
|
|
3444
|
+
return document;
|
|
3445
|
+
}
|
|
3446
|
+
};
|
|
3447
|
+
|
|
3448
|
+
let Factory$2 = class Factory extends DocFactory {
|
|
3449
|
+
constructor(storage) {
|
|
3450
|
+
super(storage);
|
|
3451
|
+
}
|
|
3452
|
+
async generateDocument(data, options) {
|
|
3453
|
+
let template;
|
|
3454
|
+
if (process.env.SOURCE === "local") {
|
|
3455
|
+
template = Template$2;
|
|
3456
|
+
} else {
|
|
3457
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$2, data.block_num);
|
|
3458
|
+
}
|
|
3459
|
+
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3460
|
+
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
3461
|
+
const vars = await super.getVars(data.coopname, data.block_num);
|
|
3462
|
+
const user = await super.getUser(data.username, data.block_num);
|
|
3463
|
+
const combinedData = {
|
|
3464
|
+
meta,
|
|
3465
|
+
coop,
|
|
3466
|
+
vars
|
|
3467
|
+
};
|
|
3468
|
+
await super.validate(combinedData, template.model);
|
|
3469
|
+
const translation = template.translations[meta.lang];
|
|
3470
|
+
const document = await super.generatePDF(user.data, template.context, combinedData, translation, meta, options?.skip_save);
|
|
3471
|
+
return document;
|
|
3472
|
+
}
|
|
3473
|
+
};
|
|
3474
|
+
|
|
3475
|
+
let Factory$1 = class Factory extends DocFactory {
|
|
3476
|
+
constructor(storage) {
|
|
3477
|
+
super(storage);
|
|
3478
|
+
}
|
|
3479
|
+
async generateDocument(data, options) {
|
|
3480
|
+
let template;
|
|
3481
|
+
if (process.env.SOURCE === "local") {
|
|
3482
|
+
template = Template$1;
|
|
3483
|
+
} else {
|
|
3484
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id$1, data.block_num);
|
|
3485
|
+
}
|
|
3486
|
+
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3487
|
+
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
3488
|
+
const vars = await super.getVars(data.coopname, data.block_num);
|
|
3489
|
+
const user = await super.getUser(data.username, data.block_num);
|
|
3490
|
+
const combinedData = {
|
|
3491
|
+
meta,
|
|
3492
|
+
coop,
|
|
3493
|
+
vars
|
|
3494
|
+
};
|
|
3495
|
+
await super.validate(combinedData, template.model);
|
|
3496
|
+
const translation = template.translations[meta.lang];
|
|
3497
|
+
const document = await super.generatePDF(user.data, template.context, combinedData, translation, meta, options?.skip_save);
|
|
3498
|
+
return document;
|
|
3499
|
+
}
|
|
3500
|
+
};
|
|
3501
|
+
|
|
3502
|
+
class Factory extends DocFactory {
|
|
3503
|
+
constructor(storage) {
|
|
3504
|
+
super(storage);
|
|
3505
|
+
}
|
|
3506
|
+
async generateDocument(data, options) {
|
|
3507
|
+
let template;
|
|
3508
|
+
if (process.env.SOURCE === "local") {
|
|
3509
|
+
template = Template;
|
|
3510
|
+
} else {
|
|
3511
|
+
template = await this.getTemplate(DraftContract.contractName.production, registry_id, data.block_num);
|
|
3512
|
+
}
|
|
3513
|
+
const meta = await super.getMeta({ title: template.title, ...data });
|
|
3514
|
+
const coop = await super.getCooperative(data.coopname, data.block_num);
|
|
3515
|
+
const vars = await super.getVars(data.coopname, data.block_num);
|
|
3516
|
+
const user = await super.getUser(data.username, data.block_num);
|
|
3517
|
+
const combinedData = {
|
|
3518
|
+
meta,
|
|
3519
|
+
coop,
|
|
3520
|
+
vars
|
|
3521
|
+
};
|
|
3522
|
+
await super.validate(combinedData, template.model);
|
|
3523
|
+
const translation = template.translations[meta.lang];
|
|
3524
|
+
const document = await super.generatePDF(user.data, template.context, combinedData, translation, meta, options?.skip_save);
|
|
3525
|
+
return document;
|
|
3526
|
+
}
|
|
3249
3527
|
}
|
|
3250
3528
|
|
|
3251
3529
|
var __defProp$1 = Object.defineProperty;
|
|
@@ -3310,49 +3588,60 @@ class Generator {
|
|
|
3310
3588
|
async connect(mongoUri) {
|
|
3311
3589
|
this.storage = new MongoDBConnector(mongoUri);
|
|
3312
3590
|
this.factories = {
|
|
3313
|
-
[registry_id$
|
|
3591
|
+
[registry_id$q]: new Factory$q(this.storage),
|
|
3314
3592
|
// 1
|
|
3315
|
-
[registry_id$
|
|
3593
|
+
[registry_id$p]: new Factory$p(this.storage),
|
|
3316
3594
|
// 2
|
|
3317
|
-
[registry_id$
|
|
3595
|
+
[registry_id$o]: new Factory$o(this.storage),
|
|
3318
3596
|
// 3
|
|
3319
|
-
[registry_id$
|
|
3597
|
+
[registry_id$n]: new Factory$n(this.storage),
|
|
3320
3598
|
// 4
|
|
3321
|
-
[registry_id$
|
|
3599
|
+
[registry_id$m]: new Factory$m(this.storage),
|
|
3322
3600
|
// 50
|
|
3323
|
-
[registry_id$
|
|
3601
|
+
[registry_id$l]: new Factory$k(this.storage),
|
|
3324
3602
|
// 100
|
|
3325
|
-
[registry_id$
|
|
3603
|
+
[registry_id$j]: new Factory$l(this.storage),
|
|
3326
3604
|
// 101
|
|
3327
|
-
|
|
3605
|
+
// общее собрание
|
|
3606
|
+
[registry_id$4]: new Factory$4(this.storage),
|
|
3607
|
+
// 300
|
|
3608
|
+
[registry_id$3]: new Factory$3(this.storage),
|
|
3609
|
+
// 301
|
|
3610
|
+
[registry_id$2]: new Factory$2(this.storage),
|
|
3611
|
+
// 302
|
|
3612
|
+
[registry_id$1]: new Factory$1(this.storage),
|
|
3613
|
+
// 303
|
|
3614
|
+
[registry_id]: new Factory(this.storage),
|
|
3615
|
+
// 304
|
|
3616
|
+
[registry_id$k]: new Factory$j(this.storage),
|
|
3328
3617
|
// 501
|
|
3329
|
-
[registry_id$
|
|
3618
|
+
[registry_id$i]: new Factory$i(this.storage),
|
|
3330
3619
|
// 599
|
|
3331
|
-
[registry_id$
|
|
3620
|
+
[registry_id$h]: new Factory$h(this.storage),
|
|
3332
3621
|
// 600
|
|
3333
|
-
[registry_id]: new Factory$
|
|
3622
|
+
[registry_id$5]: new Factory$e(this.storage),
|
|
3334
3623
|
// 699
|
|
3335
|
-
[registry_id$
|
|
3624
|
+
[registry_id$g]: new Factory$g(this.storage),
|
|
3336
3625
|
// 700
|
|
3337
|
-
[registry_id$
|
|
3626
|
+
[registry_id$f]: new Factory$f(this.storage),
|
|
3338
3627
|
// 800
|
|
3339
|
-
[registry_id$
|
|
3628
|
+
[registry_id$d]: new Factory$b(this.storage),
|
|
3340
3629
|
// 801
|
|
3341
|
-
[registry_id$
|
|
3630
|
+
[registry_id$b]: new Factory$a(this.storage),
|
|
3342
3631
|
// 802
|
|
3343
|
-
[registry_id$
|
|
3632
|
+
[registry_id$e]: new Factory$d(this.storage),
|
|
3344
3633
|
// 701
|
|
3345
|
-
[registry_id$
|
|
3634
|
+
[registry_id$c]: new Factory$c(this.storage),
|
|
3346
3635
|
// 702
|
|
3347
|
-
[registry_id$
|
|
3636
|
+
[registry_id$a]: new Factory$9(this.storage),
|
|
3348
3637
|
// 1000
|
|
3349
|
-
[registry_id$
|
|
3638
|
+
[registry_id$9]: new Factory$8(this.storage),
|
|
3350
3639
|
// 1001
|
|
3351
|
-
[registry_id$
|
|
3640
|
+
[registry_id$8]: new Factory$7(this.storage),
|
|
3352
3641
|
// 1002
|
|
3353
|
-
[registry_id$
|
|
3642
|
+
[registry_id$7]: new Factory$6(this.storage),
|
|
3354
3643
|
// 1005
|
|
3355
|
-
[registry_id$
|
|
3644
|
+
[registry_id$6]: new Factory$5(this.storage)
|
|
3356
3645
|
// 1010
|
|
3357
3646
|
};
|
|
3358
3647
|
await this.storage.connect();
|
|
@@ -3418,4 +3707,4 @@ class Generator {
|
|
|
3418
3707
|
}
|
|
3419
3708
|
}
|
|
3420
3709
|
|
|
3421
|
-
export { AssetContributionAct, AssetContributionDecision, AssetContributionStatement, BankAccountSchema, CoopenomicsAgreement, CooperativeSchema, DecisionOfParticipantApplication, FreeDecision, Generator, InvestByMoneyStatement, InvestByResultAct, InvestByResultStatement, InvestMembershipConvertation, InvestmentAgreement, ParticipantApplication, PrivacyPolicy, ProjectFreeDecision, Registry, RegulationElectronicSignaturet as RegulationElectronicSignature, ReturnByAssetAct, ReturnByAssetDecision, ReturnByAssetStatement, SelectBranchStatement, SosediAgreement, UserAgreement, VarsSchema, WalletAgreement, decisionSchema, entrepreneurSchema, individualSchema, organizationSchema, paymentMethodSchema };
|
|
3710
|
+
export { AnnualGeneralMeetingAgenda, AnnualGeneralMeetingDecision, AnnualGeneralMeetingNotification, AnnualGeneralMeetingSovietDecision, AnnualGeneralMeetingVotingBallot, AssetContributionAct, AssetContributionDecision, AssetContributionStatement, BankAccountSchema, CoopenomicsAgreement, CooperativeSchema, DecisionOfParticipantApplication, FreeDecision, Generator, InvestByMoneyStatement, InvestByResultAct, InvestByResultStatement, InvestMembershipConvertation, InvestmentAgreement, ParticipantApplication, PrivacyPolicy, ProjectFreeDecision, Registry, RegulationElectronicSignaturet as RegulationElectronicSignature, ReturnByAssetAct, ReturnByAssetDecision, ReturnByAssetStatement, SelectBranchStatement, SosediAgreement, UserAgreement, VarsSchema, WalletAgreement, decisionSchema, entrepreneurSchema, individualSchema, organizationSchema, paymentMethodSchema };
|