@coopenomics/factory 2.2.5 → 2.2.6

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.d.cts CHANGED
@@ -2,124 +2,144 @@ import { JSONSchemaType } from 'ajv';
2
2
  import { Cooperative } from 'cooptypes';
3
3
  import { InsertOneResult, Filter, UpdateResult, Document, MongoClient, Db, Collection } from 'mongodb';
4
4
 
5
- declare const registry_id$9 = 1;
6
- type Action$9 = Cooperative.Registry.WalletAgreement.Action;
7
- type Model$9 = Cooperative.Registry.WalletAgreement.Model;
5
+ declare const registry_id$b = 1;
6
+ type Action$b = Cooperative.Registry.WalletAgreement.Action;
7
+ type Model$b = Cooperative.Registry.WalletAgreement.Model;
8
+ declare const Schema$b: JSONSchemaType<Model$b>;
9
+ declare const Template$b: ITemplate<Model$b>;
10
+
11
+ declare namespace WalletAgreement {
12
+ export { type Action$b as Action, type Model$b as Model, Schema$b as Schema, Template$b as Template, registry_id$b as registry_id };
13
+ }
14
+
15
+ declare const registry_id$a = 2;
16
+ type Action$a = Cooperative.Registry.RegulationElectronicSignature.Action;
17
+ type Model$a = Cooperative.Registry.RegulationElectronicSignature.Model;
18
+ declare const Schema$a: JSONSchemaType<Model$a>;
19
+ declare const Template$a: ITemplate<Model$a>;
20
+
21
+ declare namespace RegulationElectronicSignaturet {
22
+ export { type Action$a as Action, type Model$a as Model, Schema$a as Schema, Template$a as Template, registry_id$a as registry_id };
23
+ }
24
+
25
+ declare const registry_id$9 = 3;
26
+ type Action$9 = Cooperative.Registry.PrivacyPolicy.Action;
27
+ type Model$9 = Cooperative.Registry.PrivacyPolicy.Model;
8
28
  declare const Schema$9: JSONSchemaType<Model$9>;
9
29
  declare const Template$9: ITemplate<Model$9>;
10
30
 
11
- declare namespace WalletAgreement {
31
+ declare namespace PrivacyPolicy {
12
32
  export { type Action$9 as Action, type Model$9 as Model, Schema$9 as Schema, Template$9 as Template, registry_id$9 as registry_id };
13
33
  }
14
34
 
15
- declare const registry_id$8 = 2;
16
- type Action$8 = Cooperative.Registry.RegulationElectronicSignature.Action;
17
- type Model$8 = Cooperative.Registry.RegulationElectronicSignature.Model;
35
+ declare const registry_id$8 = 4;
36
+ type Action$8 = Cooperative.Registry.UserAgreement.Action;
37
+ type Model$8 = Cooperative.Registry.UserAgreement.Model;
18
38
  declare const Schema$8: JSONSchemaType<Model$8>;
19
39
  declare const Template$8: ITemplate<Model$8>;
20
40
 
21
- declare namespace RegulationElectronicSignaturet {
41
+ declare namespace UserAgreement {
22
42
  export { type Action$8 as Action, type Model$8 as Model, Schema$8 as Schema, Template$8 as Template, registry_id$8 as registry_id };
23
43
  }
24
44
 
25
- declare const registry_id$7 = 3;
26
- type Action$7 = Cooperative.Registry.PrivacyPolicy.Action;
27
- type Model$7 = Cooperative.Registry.PrivacyPolicy.Model;
45
+ declare const registry_id$7 = 50;
46
+ type Action$7 = Cooperative.Registry.CoopenomicsAgreement.Action;
47
+ type Model$7 = Cooperative.Registry.CoopenomicsAgreement.Model;
28
48
  declare const Schema$7: JSONSchemaType<Model$7>;
29
49
  declare const Template$7: ITemplate<Model$7>;
30
50
 
31
- declare namespace PrivacyPolicy {
51
+ declare namespace CoopenomicsAgreement {
32
52
  export { type Action$7 as Action, type Model$7 as Model, Schema$7 as Schema, Template$7 as Template, registry_id$7 as registry_id };
33
53
  }
34
54
 
35
- declare const registry_id$6 = 4;
36
- type Action$6 = Cooperative.Registry.UserAgreement.Action;
37
- type Model$6 = Cooperative.Registry.UserAgreement.Model;
55
+ declare const registry_id$6 = 100;
56
+ /**
57
+ * Интерфейс генерации заявления на вступление в кооператив
58
+ */
59
+ type Action$6 = Cooperative.Registry.ParticipantApplication.Action;
60
+ type Model$6 = Cooperative.Registry.ParticipantApplication.Model;
38
61
  declare const Schema$6: JSONSchemaType<Model$6>;
39
62
  declare const Template$6: ITemplate<Model$6>;
40
63
 
41
- declare namespace UserAgreement {
64
+ declare namespace ParticipantApplication {
42
65
  export { type Action$6 as Action, type Model$6 as Model, Schema$6 as Schema, Template$6 as Template, registry_id$6 as registry_id };
43
66
  }
44
67
 
45
- declare const registry_id$5 = 50;
46
- type Action$5 = Cooperative.Registry.CoopenomicsAgreement.Action;
47
- type Model$5 = Cooperative.Registry.CoopenomicsAgreement.Model;
68
+ declare const registry_id$5 = 501;
69
+ /**
70
+ * Интерфейс генерации решения совета
71
+ */
72
+ type Action$5 = Cooperative.Registry.DecisionOfParticipantApplication.Action;
73
+ type Model$5 = Cooperative.Registry.DecisionOfParticipantApplication.Model;
48
74
  declare const Schema$5: JSONSchemaType<Model$5>;
49
75
  declare const Template$5: ITemplate<Model$5>;
50
76
 
51
- declare namespace CoopenomicsAgreement {
77
+ declare namespace DecisionOfParticipantApplication {
52
78
  export { type Action$5 as Action, type Model$5 as Model, Schema$5 as Schema, Template$5 as Template, registry_id$5 as registry_id };
53
79
  }
54
80
 
55
- declare const registry_id$4 = 100;
81
+ declare const registry_id$4 = 101;
56
82
  /**
57
83
  * Интерфейс генерации заявления на вступление в кооператив
58
84
  */
59
- type Action$4 = Cooperative.Registry.ParticipantApplication.Action;
60
- type Model$4 = Cooperative.Registry.ParticipantApplication.Model;
85
+ type Action$4 = Cooperative.Registry.SelectBranchStatement.Action;
86
+ type Model$4 = Cooperative.Registry.SelectBranchStatement.Model;
61
87
  declare const Schema$4: JSONSchemaType<Model$4>;
62
88
  declare const Template$4: ITemplate<Model$4>;
63
89
 
64
- declare namespace ParticipantApplication {
90
+ declare namespace SelectBranchStatement {
65
91
  export { type Action$4 as Action, type Model$4 as Model, Schema$4 as Schema, Template$4 as Template, registry_id$4 as registry_id };
66
92
  }
67
93
 
68
- declare const registry_id$3 = 501;
94
+ declare const registry_id$3 = 599;
69
95
  /**
70
96
  * Интерфейс генерации решения совета
71
97
  */
72
- type Action$3 = Cooperative.Registry.DecisionOfParticipantApplication.Action;
73
- type Model$3 = Cooperative.Registry.DecisionOfParticipantApplication.Model;
98
+ type Action$3 = Cooperative.Registry.ProjectFreeDecision.Action;
99
+ type Model$3 = Cooperative.Registry.ProjectFreeDecision.Model;
74
100
  declare const Schema$3: JSONSchemaType<Model$3>;
75
101
  declare const Template$3: ITemplate<Model$3>;
76
102
 
77
- declare namespace DecisionOfParticipantApplication {
103
+ declare namespace ProjectFreeDecision {
78
104
  export { type Action$3 as Action, type Model$3 as Model, Schema$3 as Schema, Template$3 as Template, registry_id$3 as registry_id };
79
105
  }
80
106
 
81
- declare const registry_id$2 = 101;
107
+ declare const registry_id$2 = 600;
82
108
  /**
83
- * Интерфейс генерации заявления на вступление в кооператив
109
+ * Интерфейс генерации решения совета
84
110
  */
85
- type Action$2 = Cooperative.Registry.SelectBranchStatement.Action;
86
- type Model$2 = Cooperative.Registry.SelectBranchStatement.Model;
111
+ type Action$2 = Cooperative.Registry.FreeDecision.Action;
112
+ type Model$2 = Cooperative.Registry.FreeDecision.Model;
87
113
  declare const Schema$2: JSONSchemaType<Model$2>;
88
114
  declare const Template$2: ITemplate<Model$2>;
89
115
 
90
- declare namespace SelectBranchStatement {
116
+ declare namespace FreeDecision {
91
117
  export { type Action$2 as Action, type Model$2 as Model, Schema$2 as Schema, Template$2 as Template, registry_id$2 as registry_id };
92
118
  }
93
119
 
94
- declare const registry_id$1 = 599;
95
- /**
96
- * Интерфейс генерации решения совета
97
- */
98
- type Action$1 = Cooperative.Registry.ProjectFreeDecision.Action;
99
- type Model$1 = Cooperative.Registry.ProjectFreeDecision.Model;
120
+ declare const registry_id$1 = 700;
121
+ type Action$1 = Cooperative.Registry.AssetContributionStatement.Action;
122
+ type Model$1 = Cooperative.Registry.AssetContributionStatement.Model;
100
123
  declare const Schema$1: JSONSchemaType<Model$1>;
101
124
  declare const Template$1: ITemplate<Model$1>;
102
125
 
103
- declare namespace ProjectFreeDecision {
126
+ declare namespace AssetContributionStatement {
104
127
  export { type Action$1 as Action, type Model$1 as Model, Schema$1 as Schema, Template$1 as Template, registry_id$1 as registry_id };
105
128
  }
106
129
 
107
- declare const registry_id: 600;
108
- /**
109
- * Интерфейс генерации решения совета
110
- */
111
- type Action = Cooperative.Registry.FreeDecision.Action;
112
- type Model = Cooperative.Registry.FreeDecision.Model;
130
+ declare const registry_id: 800;
131
+ type Action = Cooperative.Registry.ReturnByAssetStatement.Action;
132
+ type Model = Cooperative.Registry.ReturnByAssetStatement.Model;
113
133
  declare const Schema: JSONSchemaType<Model>;
114
134
  declare const Template: ITemplate<Model>;
115
135
 
116
- type FreeDecision_Action = Action;
117
- type FreeDecision_Model = Model;
118
- declare const FreeDecision_Schema: typeof Schema;
119
- declare const FreeDecision_Template: typeof Template;
120
- declare const FreeDecision_registry_id: typeof registry_id;
121
- declare namespace FreeDecision {
122
- export { type FreeDecision_Action as Action, type FreeDecision_Model as Model, FreeDecision_Schema as Schema, FreeDecision_Template as Template, FreeDecision_registry_id as registry_id };
136
+ type ReturnByAssetStatement_Action = Action;
137
+ type ReturnByAssetStatement_Model = Model;
138
+ declare const ReturnByAssetStatement_Schema: typeof Schema;
139
+ declare const ReturnByAssetStatement_Template: typeof Template;
140
+ declare const ReturnByAssetStatement_registry_id: typeof registry_id;
141
+ declare namespace ReturnByAssetStatement {
142
+ export { type ReturnByAssetStatement_Action as Action, type ReturnByAssetStatement_Model as Model, ReturnByAssetStatement_Schema as Schema, ReturnByAssetStatement_Template as Template, ReturnByAssetStatement_registry_id as registry_id };
123
143
  }
124
144
 
125
145
  declare const Registry: {
@@ -133,6 +153,8 @@ declare const Registry: {
133
153
  501: typeof DecisionOfParticipantApplication;
134
154
  599: typeof ProjectFreeDecision;
135
155
  600: typeof FreeDecision;
156
+ 700: typeof AssetContributionStatement;
157
+ 800: typeof ReturnByAssetStatement;
136
158
  };
137
159
 
138
160
  interface ValidateResult {
@@ -354,6 +376,7 @@ declare abstract class DocFactory<T extends IGenerate> {
354
376
  getTemplate<T>(scope: string, registry_id: number, block_num?: number): Promise<ITemplate<T>>;
355
377
  generatePDF(data: externalDataTypes | string, context: string, vars: ICombinedData, translation: ITranslations, meta: IMetaDocument, skip_save?: boolean): Promise<IGeneratedDocument>;
356
378
  getFullName(data: externalDataTypes | string): string;
379
+ getFullParticipantName(data: externalDataTypes): string;
357
380
  saveDraft(document: IGeneratedDocument): Promise<void>;
358
381
  getMeta<T extends IMetaDocumentPartial>({ title, username, coopname, registry_id, links, lang, generator, version, // TODO перенести в .env
359
382
  created_at, block_num, timezone, // TODO перенести в .env
@@ -397,4 +420,4 @@ declare class Generator implements IGenerator {
397
420
  constructCooperative(username: string, block_num?: number): Promise<CooperativeData | null>;
398
421
  }
399
422
 
400
- export { BankAccountSchema, CoopenomicsAgreement, CooperativeSchema, type Currency, DecisionOfParticipantApplication, FreeDecision, Generator, type IBCState, type IBankAccount, type ICombinedData, type CooperativeData as ICooperativeData, type ExternalEntrepreneurData as IEntrepreneurData, type ExternalProjectData as IExternalProjectData, type IFilterActions, type IFilterDeltas, type IFilterDocuments, type IGenerate, type IGeneratedDocument, type IGenerationOptions, type IGenerator, type ExternalIndividualData as IIndividualData, type IMetaDocument, type IMetaDocumentPartial, type ExternalOrganizationData as IOrganizationData, type IPaymentData, type ITemplate, type ITranslations, type LangType, type NestedRecord, type Numbers, ParticipantApplication, PrivacyPolicy, ProjectFreeDecision, Registry, RegulationElectronicSignaturet as RegulationElectronicSignature, SelectBranchStatement, UserAgreement, VarsSchema, WalletAgreement, type dataTypes, decisionSchema, entrepreneurSchema, type externalDataTypes, type externalDataTypesArrays, individualSchema, type internalFilterTypes, organizationSchema, paymentMethodSchema };
423
+ export { AssetContributionStatement, BankAccountSchema, CoopenomicsAgreement, CooperativeSchema, type Currency, DecisionOfParticipantApplication, FreeDecision, Generator, type IBCState, type IBankAccount, type ICombinedData, type CooperativeData as ICooperativeData, type ExternalEntrepreneurData as IEntrepreneurData, type ExternalProjectData as IExternalProjectData, type IFilterActions, type IFilterDeltas, type IFilterDocuments, type IGenerate, type IGeneratedDocument, type IGenerationOptions, type IGenerator, type ExternalIndividualData as IIndividualData, type IMetaDocument, type IMetaDocumentPartial, type ExternalOrganizationData as IOrganizationData, type IPaymentData, type ITemplate, type ITranslations, type LangType, type NestedRecord, type Numbers, ParticipantApplication, PrivacyPolicy, ProjectFreeDecision, Registry, RegulationElectronicSignaturet as RegulationElectronicSignature, ReturnByAssetStatement, SelectBranchStatement, UserAgreement, VarsSchema, WalletAgreement, type dataTypes, decisionSchema, entrepreneurSchema, type externalDataTypes, type externalDataTypesArrays, individualSchema, type internalFilterTypes, organizationSchema, paymentMethodSchema };
package/dist/index.d.mts CHANGED
@@ -2,124 +2,144 @@ import { JSONSchemaType } from 'ajv';
2
2
  import { Cooperative } from 'cooptypes';
3
3
  import { InsertOneResult, Filter, UpdateResult, Document, MongoClient, Db, Collection } from 'mongodb';
4
4
 
5
- declare const registry_id$9 = 1;
6
- type Action$9 = Cooperative.Registry.WalletAgreement.Action;
7
- type Model$9 = Cooperative.Registry.WalletAgreement.Model;
5
+ declare const registry_id$b = 1;
6
+ type Action$b = Cooperative.Registry.WalletAgreement.Action;
7
+ type Model$b = Cooperative.Registry.WalletAgreement.Model;
8
+ declare const Schema$b: JSONSchemaType<Model$b>;
9
+ declare const Template$b: ITemplate<Model$b>;
10
+
11
+ declare namespace WalletAgreement {
12
+ export { type Action$b as Action, type Model$b as Model, Schema$b as Schema, Template$b as Template, registry_id$b as registry_id };
13
+ }
14
+
15
+ declare const registry_id$a = 2;
16
+ type Action$a = Cooperative.Registry.RegulationElectronicSignature.Action;
17
+ type Model$a = Cooperative.Registry.RegulationElectronicSignature.Model;
18
+ declare const Schema$a: JSONSchemaType<Model$a>;
19
+ declare const Template$a: ITemplate<Model$a>;
20
+
21
+ declare namespace RegulationElectronicSignaturet {
22
+ export { type Action$a as Action, type Model$a as Model, Schema$a as Schema, Template$a as Template, registry_id$a as registry_id };
23
+ }
24
+
25
+ declare const registry_id$9 = 3;
26
+ type Action$9 = Cooperative.Registry.PrivacyPolicy.Action;
27
+ type Model$9 = Cooperative.Registry.PrivacyPolicy.Model;
8
28
  declare const Schema$9: JSONSchemaType<Model$9>;
9
29
  declare const Template$9: ITemplate<Model$9>;
10
30
 
11
- declare namespace WalletAgreement {
31
+ declare namespace PrivacyPolicy {
12
32
  export { type Action$9 as Action, type Model$9 as Model, Schema$9 as Schema, Template$9 as Template, registry_id$9 as registry_id };
13
33
  }
14
34
 
15
- declare const registry_id$8 = 2;
16
- type Action$8 = Cooperative.Registry.RegulationElectronicSignature.Action;
17
- type Model$8 = Cooperative.Registry.RegulationElectronicSignature.Model;
35
+ declare const registry_id$8 = 4;
36
+ type Action$8 = Cooperative.Registry.UserAgreement.Action;
37
+ type Model$8 = Cooperative.Registry.UserAgreement.Model;
18
38
  declare const Schema$8: JSONSchemaType<Model$8>;
19
39
  declare const Template$8: ITemplate<Model$8>;
20
40
 
21
- declare namespace RegulationElectronicSignaturet {
41
+ declare namespace UserAgreement {
22
42
  export { type Action$8 as Action, type Model$8 as Model, Schema$8 as Schema, Template$8 as Template, registry_id$8 as registry_id };
23
43
  }
24
44
 
25
- declare const registry_id$7 = 3;
26
- type Action$7 = Cooperative.Registry.PrivacyPolicy.Action;
27
- type Model$7 = Cooperative.Registry.PrivacyPolicy.Model;
45
+ declare const registry_id$7 = 50;
46
+ type Action$7 = Cooperative.Registry.CoopenomicsAgreement.Action;
47
+ type Model$7 = Cooperative.Registry.CoopenomicsAgreement.Model;
28
48
  declare const Schema$7: JSONSchemaType<Model$7>;
29
49
  declare const Template$7: ITemplate<Model$7>;
30
50
 
31
- declare namespace PrivacyPolicy {
51
+ declare namespace CoopenomicsAgreement {
32
52
  export { type Action$7 as Action, type Model$7 as Model, Schema$7 as Schema, Template$7 as Template, registry_id$7 as registry_id };
33
53
  }
34
54
 
35
- declare const registry_id$6 = 4;
36
- type Action$6 = Cooperative.Registry.UserAgreement.Action;
37
- type Model$6 = Cooperative.Registry.UserAgreement.Model;
55
+ declare const registry_id$6 = 100;
56
+ /**
57
+ * Интерфейс генерации заявления на вступление в кооператив
58
+ */
59
+ type Action$6 = Cooperative.Registry.ParticipantApplication.Action;
60
+ type Model$6 = Cooperative.Registry.ParticipantApplication.Model;
38
61
  declare const Schema$6: JSONSchemaType<Model$6>;
39
62
  declare const Template$6: ITemplate<Model$6>;
40
63
 
41
- declare namespace UserAgreement {
64
+ declare namespace ParticipantApplication {
42
65
  export { type Action$6 as Action, type Model$6 as Model, Schema$6 as Schema, Template$6 as Template, registry_id$6 as registry_id };
43
66
  }
44
67
 
45
- declare const registry_id$5 = 50;
46
- type Action$5 = Cooperative.Registry.CoopenomicsAgreement.Action;
47
- type Model$5 = Cooperative.Registry.CoopenomicsAgreement.Model;
68
+ declare const registry_id$5 = 501;
69
+ /**
70
+ * Интерфейс генерации решения совета
71
+ */
72
+ type Action$5 = Cooperative.Registry.DecisionOfParticipantApplication.Action;
73
+ type Model$5 = Cooperative.Registry.DecisionOfParticipantApplication.Model;
48
74
  declare const Schema$5: JSONSchemaType<Model$5>;
49
75
  declare const Template$5: ITemplate<Model$5>;
50
76
 
51
- declare namespace CoopenomicsAgreement {
77
+ declare namespace DecisionOfParticipantApplication {
52
78
  export { type Action$5 as Action, type Model$5 as Model, Schema$5 as Schema, Template$5 as Template, registry_id$5 as registry_id };
53
79
  }
54
80
 
55
- declare const registry_id$4 = 100;
81
+ declare const registry_id$4 = 101;
56
82
  /**
57
83
  * Интерфейс генерации заявления на вступление в кооператив
58
84
  */
59
- type Action$4 = Cooperative.Registry.ParticipantApplication.Action;
60
- type Model$4 = Cooperative.Registry.ParticipantApplication.Model;
85
+ type Action$4 = Cooperative.Registry.SelectBranchStatement.Action;
86
+ type Model$4 = Cooperative.Registry.SelectBranchStatement.Model;
61
87
  declare const Schema$4: JSONSchemaType<Model$4>;
62
88
  declare const Template$4: ITemplate<Model$4>;
63
89
 
64
- declare namespace ParticipantApplication {
90
+ declare namespace SelectBranchStatement {
65
91
  export { type Action$4 as Action, type Model$4 as Model, Schema$4 as Schema, Template$4 as Template, registry_id$4 as registry_id };
66
92
  }
67
93
 
68
- declare const registry_id$3 = 501;
94
+ declare const registry_id$3 = 599;
69
95
  /**
70
96
  * Интерфейс генерации решения совета
71
97
  */
72
- type Action$3 = Cooperative.Registry.DecisionOfParticipantApplication.Action;
73
- type Model$3 = Cooperative.Registry.DecisionOfParticipantApplication.Model;
98
+ type Action$3 = Cooperative.Registry.ProjectFreeDecision.Action;
99
+ type Model$3 = Cooperative.Registry.ProjectFreeDecision.Model;
74
100
  declare const Schema$3: JSONSchemaType<Model$3>;
75
101
  declare const Template$3: ITemplate<Model$3>;
76
102
 
77
- declare namespace DecisionOfParticipantApplication {
103
+ declare namespace ProjectFreeDecision {
78
104
  export { type Action$3 as Action, type Model$3 as Model, Schema$3 as Schema, Template$3 as Template, registry_id$3 as registry_id };
79
105
  }
80
106
 
81
- declare const registry_id$2 = 101;
107
+ declare const registry_id$2 = 600;
82
108
  /**
83
- * Интерфейс генерации заявления на вступление в кооператив
109
+ * Интерфейс генерации решения совета
84
110
  */
85
- type Action$2 = Cooperative.Registry.SelectBranchStatement.Action;
86
- type Model$2 = Cooperative.Registry.SelectBranchStatement.Model;
111
+ type Action$2 = Cooperative.Registry.FreeDecision.Action;
112
+ type Model$2 = Cooperative.Registry.FreeDecision.Model;
87
113
  declare const Schema$2: JSONSchemaType<Model$2>;
88
114
  declare const Template$2: ITemplate<Model$2>;
89
115
 
90
- declare namespace SelectBranchStatement {
116
+ declare namespace FreeDecision {
91
117
  export { type Action$2 as Action, type Model$2 as Model, Schema$2 as Schema, Template$2 as Template, registry_id$2 as registry_id };
92
118
  }
93
119
 
94
- declare const registry_id$1 = 599;
95
- /**
96
- * Интерфейс генерации решения совета
97
- */
98
- type Action$1 = Cooperative.Registry.ProjectFreeDecision.Action;
99
- type Model$1 = Cooperative.Registry.ProjectFreeDecision.Model;
120
+ declare const registry_id$1 = 700;
121
+ type Action$1 = Cooperative.Registry.AssetContributionStatement.Action;
122
+ type Model$1 = Cooperative.Registry.AssetContributionStatement.Model;
100
123
  declare const Schema$1: JSONSchemaType<Model$1>;
101
124
  declare const Template$1: ITemplate<Model$1>;
102
125
 
103
- declare namespace ProjectFreeDecision {
126
+ declare namespace AssetContributionStatement {
104
127
  export { type Action$1 as Action, type Model$1 as Model, Schema$1 as Schema, Template$1 as Template, registry_id$1 as registry_id };
105
128
  }
106
129
 
107
- declare const registry_id: 600;
108
- /**
109
- * Интерфейс генерации решения совета
110
- */
111
- type Action = Cooperative.Registry.FreeDecision.Action;
112
- type Model = Cooperative.Registry.FreeDecision.Model;
130
+ declare const registry_id: 800;
131
+ type Action = Cooperative.Registry.ReturnByAssetStatement.Action;
132
+ type Model = Cooperative.Registry.ReturnByAssetStatement.Model;
113
133
  declare const Schema: JSONSchemaType<Model>;
114
134
  declare const Template: ITemplate<Model>;
115
135
 
116
- type FreeDecision_Action = Action;
117
- type FreeDecision_Model = Model;
118
- declare const FreeDecision_Schema: typeof Schema;
119
- declare const FreeDecision_Template: typeof Template;
120
- declare const FreeDecision_registry_id: typeof registry_id;
121
- declare namespace FreeDecision {
122
- export { type FreeDecision_Action as Action, type FreeDecision_Model as Model, FreeDecision_Schema as Schema, FreeDecision_Template as Template, FreeDecision_registry_id as registry_id };
136
+ type ReturnByAssetStatement_Action = Action;
137
+ type ReturnByAssetStatement_Model = Model;
138
+ declare const ReturnByAssetStatement_Schema: typeof Schema;
139
+ declare const ReturnByAssetStatement_Template: typeof Template;
140
+ declare const ReturnByAssetStatement_registry_id: typeof registry_id;
141
+ declare namespace ReturnByAssetStatement {
142
+ export { type ReturnByAssetStatement_Action as Action, type ReturnByAssetStatement_Model as Model, ReturnByAssetStatement_Schema as Schema, ReturnByAssetStatement_Template as Template, ReturnByAssetStatement_registry_id as registry_id };
123
143
  }
124
144
 
125
145
  declare const Registry: {
@@ -133,6 +153,8 @@ declare const Registry: {
133
153
  501: typeof DecisionOfParticipantApplication;
134
154
  599: typeof ProjectFreeDecision;
135
155
  600: typeof FreeDecision;
156
+ 700: typeof AssetContributionStatement;
157
+ 800: typeof ReturnByAssetStatement;
136
158
  };
137
159
 
138
160
  interface ValidateResult {
@@ -354,6 +376,7 @@ declare abstract class DocFactory<T extends IGenerate> {
354
376
  getTemplate<T>(scope: string, registry_id: number, block_num?: number): Promise<ITemplate<T>>;
355
377
  generatePDF(data: externalDataTypes | string, context: string, vars: ICombinedData, translation: ITranslations, meta: IMetaDocument, skip_save?: boolean): Promise<IGeneratedDocument>;
356
378
  getFullName(data: externalDataTypes | string): string;
379
+ getFullParticipantName(data: externalDataTypes): string;
357
380
  saveDraft(document: IGeneratedDocument): Promise<void>;
358
381
  getMeta<T extends IMetaDocumentPartial>({ title, username, coopname, registry_id, links, lang, generator, version, // TODO перенести в .env
359
382
  created_at, block_num, timezone, // TODO перенести в .env
@@ -397,4 +420,4 @@ declare class Generator implements IGenerator {
397
420
  constructCooperative(username: string, block_num?: number): Promise<CooperativeData | null>;
398
421
  }
399
422
 
400
- export { BankAccountSchema, CoopenomicsAgreement, CooperativeSchema, type Currency, DecisionOfParticipantApplication, FreeDecision, Generator, type IBCState, type IBankAccount, type ICombinedData, type CooperativeData as ICooperativeData, type ExternalEntrepreneurData as IEntrepreneurData, type ExternalProjectData as IExternalProjectData, type IFilterActions, type IFilterDeltas, type IFilterDocuments, type IGenerate, type IGeneratedDocument, type IGenerationOptions, type IGenerator, type ExternalIndividualData as IIndividualData, type IMetaDocument, type IMetaDocumentPartial, type ExternalOrganizationData as IOrganizationData, type IPaymentData, type ITemplate, type ITranslations, type LangType, type NestedRecord, type Numbers, ParticipantApplication, PrivacyPolicy, ProjectFreeDecision, Registry, RegulationElectronicSignaturet as RegulationElectronicSignature, SelectBranchStatement, UserAgreement, VarsSchema, WalletAgreement, type dataTypes, decisionSchema, entrepreneurSchema, type externalDataTypes, type externalDataTypesArrays, individualSchema, type internalFilterTypes, organizationSchema, paymentMethodSchema };
423
+ export { AssetContributionStatement, BankAccountSchema, CoopenomicsAgreement, CooperativeSchema, type Currency, DecisionOfParticipantApplication, FreeDecision, Generator, type IBCState, type IBankAccount, type ICombinedData, type CooperativeData as ICooperativeData, type ExternalEntrepreneurData as IEntrepreneurData, type ExternalProjectData as IExternalProjectData, type IFilterActions, type IFilterDeltas, type IFilterDocuments, type IGenerate, type IGeneratedDocument, type IGenerationOptions, type IGenerator, type ExternalIndividualData as IIndividualData, type IMetaDocument, type IMetaDocumentPartial, type ExternalOrganizationData as IOrganizationData, type IPaymentData, type ITemplate, type ITranslations, type LangType, type NestedRecord, type Numbers, ParticipantApplication, PrivacyPolicy, ProjectFreeDecision, Registry, RegulationElectronicSignaturet as RegulationElectronicSignature, ReturnByAssetStatement, SelectBranchStatement, UserAgreement, VarsSchema, WalletAgreement, type dataTypes, decisionSchema, entrepreneurSchema, type externalDataTypes, type externalDataTypesArrays, individualSchema, type internalFilterTypes, organizationSchema, paymentMethodSchema };