cooptypes 0.5.27 → 0.5.29
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 +24 -1
- package/dist/index.d.mts +24 -1
- package/dist/index.d.ts +24 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -6375,6 +6375,7 @@ interface IBankAccount {
|
|
|
6375
6375
|
};
|
|
6376
6376
|
}
|
|
6377
6377
|
interface IIndividualData {
|
|
6378
|
+
username: string;
|
|
6378
6379
|
first_name: string;
|
|
6379
6380
|
last_name: string;
|
|
6380
6381
|
middle_name: string;
|
|
@@ -6384,6 +6385,7 @@ interface IIndividualData {
|
|
|
6384
6385
|
email: string;
|
|
6385
6386
|
}
|
|
6386
6387
|
interface IOrganizationData {
|
|
6388
|
+
username: string;
|
|
6387
6389
|
type: 'coop' | 'ooo' | 'oao' | 'zao' | 'pao' | 'ao';
|
|
6388
6390
|
is_cooperative: boolean;
|
|
6389
6391
|
short_name: string;
|
|
@@ -6404,6 +6406,7 @@ interface IOrganizationData {
|
|
|
6404
6406
|
bank_account: IBankAccount;
|
|
6405
6407
|
}
|
|
6406
6408
|
interface IEntrepreneurData {
|
|
6409
|
+
username: string;
|
|
6407
6410
|
first_name: string;
|
|
6408
6411
|
last_name: string;
|
|
6409
6412
|
middle_name: string;
|
|
@@ -6562,6 +6565,23 @@ interface IAgenda {
|
|
|
6562
6565
|
interface IComplexAgenda extends IAgenda {
|
|
6563
6566
|
documents: IComplexDocument;
|
|
6564
6567
|
}
|
|
6568
|
+
/**
|
|
6569
|
+
* Общий интерфейс для генерации/регенерации документа
|
|
6570
|
+
*/
|
|
6571
|
+
interface IGenerate extends Omit<Partial<IMetaDocument>, 'registry_id' | 'title'> {
|
|
6572
|
+
code: string;
|
|
6573
|
+
action: string;
|
|
6574
|
+
coopname: string;
|
|
6575
|
+
username: string;
|
|
6576
|
+
[key: string]: any;
|
|
6577
|
+
}
|
|
6578
|
+
interface IGenerateJoinCoop extends IGenerate {
|
|
6579
|
+
signature: string;
|
|
6580
|
+
skip_save: boolean;
|
|
6581
|
+
}
|
|
6582
|
+
interface IGenerateJoinCoopDecision extends IGenerate {
|
|
6583
|
+
decision_id: number;
|
|
6584
|
+
}
|
|
6565
6585
|
|
|
6566
6586
|
type index$2_IAgenda = IAgenda;
|
|
6567
6587
|
type index$2_IChainDocument = IChainDocument;
|
|
@@ -6570,12 +6590,15 @@ type index$2_IComplexAgenda = IComplexAgenda;
|
|
|
6570
6590
|
type index$2_IComplexDecision = IComplexDecision;
|
|
6571
6591
|
type index$2_IComplexDocument = IComplexDocument;
|
|
6572
6592
|
type index$2_IComplexStatement = IComplexStatement;
|
|
6593
|
+
type index$2_IGenerate = IGenerate;
|
|
6594
|
+
type index$2_IGenerateJoinCoop = IGenerateJoinCoop;
|
|
6595
|
+
type index$2_IGenerateJoinCoopDecision = IGenerateJoinCoopDecision;
|
|
6573
6596
|
type index$2_IGeneratedDocument = IGeneratedDocument;
|
|
6574
6597
|
type index$2_IGetComplexDocuments = IGetComplexDocuments;
|
|
6575
6598
|
type index$2_IMetaDocument = IMetaDocument;
|
|
6576
6599
|
type index$2_LangType = LangType;
|
|
6577
6600
|
declare namespace index$2 {
|
|
6578
|
-
export type { index$2_IAgenda as IAgenda, index$2_IChainDocument as IChainDocument, index$2_IComplexAct as IComplexAct, index$2_IComplexAgenda as IComplexAgenda, index$2_IComplexDecision as IComplexDecision, index$2_IComplexDocument as IComplexDocument, index$2_IComplexStatement as IComplexStatement, index$2_IGeneratedDocument as IGeneratedDocument, index$2_IGetComplexDocuments as IGetComplexDocuments, index$2_IMetaDocument as IMetaDocument, index$2_LangType as LangType };
|
|
6601
|
+
export type { index$2_IAgenda as IAgenda, index$2_IChainDocument as IChainDocument, index$2_IComplexAct as IComplexAct, index$2_IComplexAgenda as IComplexAgenda, index$2_IComplexDecision as IComplexDecision, index$2_IComplexDocument as IComplexDocument, index$2_IComplexStatement as IComplexStatement, index$2_IGenerate as IGenerate, index$2_IGenerateJoinCoop as IGenerateJoinCoop, index$2_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$2_IGeneratedDocument as IGeneratedDocument, index$2_IGetComplexDocuments as IGetComplexDocuments, index$2_IMetaDocument as IMetaDocument, index$2_LangType as LangType };
|
|
6579
6602
|
}
|
|
6580
6603
|
|
|
6581
6604
|
interface ICooperativeData extends IOrganizationData {
|
package/dist/index.d.mts
CHANGED
|
@@ -6375,6 +6375,7 @@ interface IBankAccount {
|
|
|
6375
6375
|
};
|
|
6376
6376
|
}
|
|
6377
6377
|
interface IIndividualData {
|
|
6378
|
+
username: string;
|
|
6378
6379
|
first_name: string;
|
|
6379
6380
|
last_name: string;
|
|
6380
6381
|
middle_name: string;
|
|
@@ -6384,6 +6385,7 @@ interface IIndividualData {
|
|
|
6384
6385
|
email: string;
|
|
6385
6386
|
}
|
|
6386
6387
|
interface IOrganizationData {
|
|
6388
|
+
username: string;
|
|
6387
6389
|
type: 'coop' | 'ooo' | 'oao' | 'zao' | 'pao' | 'ao';
|
|
6388
6390
|
is_cooperative: boolean;
|
|
6389
6391
|
short_name: string;
|
|
@@ -6404,6 +6406,7 @@ interface IOrganizationData {
|
|
|
6404
6406
|
bank_account: IBankAccount;
|
|
6405
6407
|
}
|
|
6406
6408
|
interface IEntrepreneurData {
|
|
6409
|
+
username: string;
|
|
6407
6410
|
first_name: string;
|
|
6408
6411
|
last_name: string;
|
|
6409
6412
|
middle_name: string;
|
|
@@ -6562,6 +6565,23 @@ interface IAgenda {
|
|
|
6562
6565
|
interface IComplexAgenda extends IAgenda {
|
|
6563
6566
|
documents: IComplexDocument;
|
|
6564
6567
|
}
|
|
6568
|
+
/**
|
|
6569
|
+
* Общий интерфейс для генерации/регенерации документа
|
|
6570
|
+
*/
|
|
6571
|
+
interface IGenerate extends Omit<Partial<IMetaDocument>, 'registry_id' | 'title'> {
|
|
6572
|
+
code: string;
|
|
6573
|
+
action: string;
|
|
6574
|
+
coopname: string;
|
|
6575
|
+
username: string;
|
|
6576
|
+
[key: string]: any;
|
|
6577
|
+
}
|
|
6578
|
+
interface IGenerateJoinCoop extends IGenerate {
|
|
6579
|
+
signature: string;
|
|
6580
|
+
skip_save: boolean;
|
|
6581
|
+
}
|
|
6582
|
+
interface IGenerateJoinCoopDecision extends IGenerate {
|
|
6583
|
+
decision_id: number;
|
|
6584
|
+
}
|
|
6565
6585
|
|
|
6566
6586
|
type index$2_IAgenda = IAgenda;
|
|
6567
6587
|
type index$2_IChainDocument = IChainDocument;
|
|
@@ -6570,12 +6590,15 @@ type index$2_IComplexAgenda = IComplexAgenda;
|
|
|
6570
6590
|
type index$2_IComplexDecision = IComplexDecision;
|
|
6571
6591
|
type index$2_IComplexDocument = IComplexDocument;
|
|
6572
6592
|
type index$2_IComplexStatement = IComplexStatement;
|
|
6593
|
+
type index$2_IGenerate = IGenerate;
|
|
6594
|
+
type index$2_IGenerateJoinCoop = IGenerateJoinCoop;
|
|
6595
|
+
type index$2_IGenerateJoinCoopDecision = IGenerateJoinCoopDecision;
|
|
6573
6596
|
type index$2_IGeneratedDocument = IGeneratedDocument;
|
|
6574
6597
|
type index$2_IGetComplexDocuments = IGetComplexDocuments;
|
|
6575
6598
|
type index$2_IMetaDocument = IMetaDocument;
|
|
6576
6599
|
type index$2_LangType = LangType;
|
|
6577
6600
|
declare namespace index$2 {
|
|
6578
|
-
export type { index$2_IAgenda as IAgenda, index$2_IChainDocument as IChainDocument, index$2_IComplexAct as IComplexAct, index$2_IComplexAgenda as IComplexAgenda, index$2_IComplexDecision as IComplexDecision, index$2_IComplexDocument as IComplexDocument, index$2_IComplexStatement as IComplexStatement, index$2_IGeneratedDocument as IGeneratedDocument, index$2_IGetComplexDocuments as IGetComplexDocuments, index$2_IMetaDocument as IMetaDocument, index$2_LangType as LangType };
|
|
6601
|
+
export type { index$2_IAgenda as IAgenda, index$2_IChainDocument as IChainDocument, index$2_IComplexAct as IComplexAct, index$2_IComplexAgenda as IComplexAgenda, index$2_IComplexDecision as IComplexDecision, index$2_IComplexDocument as IComplexDocument, index$2_IComplexStatement as IComplexStatement, index$2_IGenerate as IGenerate, index$2_IGenerateJoinCoop as IGenerateJoinCoop, index$2_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$2_IGeneratedDocument as IGeneratedDocument, index$2_IGetComplexDocuments as IGetComplexDocuments, index$2_IMetaDocument as IMetaDocument, index$2_LangType as LangType };
|
|
6579
6602
|
}
|
|
6580
6603
|
|
|
6581
6604
|
interface ICooperativeData extends IOrganizationData {
|
package/dist/index.d.ts
CHANGED
|
@@ -6375,6 +6375,7 @@ interface IBankAccount {
|
|
|
6375
6375
|
};
|
|
6376
6376
|
}
|
|
6377
6377
|
interface IIndividualData {
|
|
6378
|
+
username: string;
|
|
6378
6379
|
first_name: string;
|
|
6379
6380
|
last_name: string;
|
|
6380
6381
|
middle_name: string;
|
|
@@ -6384,6 +6385,7 @@ interface IIndividualData {
|
|
|
6384
6385
|
email: string;
|
|
6385
6386
|
}
|
|
6386
6387
|
interface IOrganizationData {
|
|
6388
|
+
username: string;
|
|
6387
6389
|
type: 'coop' | 'ooo' | 'oao' | 'zao' | 'pao' | 'ao';
|
|
6388
6390
|
is_cooperative: boolean;
|
|
6389
6391
|
short_name: string;
|
|
@@ -6404,6 +6406,7 @@ interface IOrganizationData {
|
|
|
6404
6406
|
bank_account: IBankAccount;
|
|
6405
6407
|
}
|
|
6406
6408
|
interface IEntrepreneurData {
|
|
6409
|
+
username: string;
|
|
6407
6410
|
first_name: string;
|
|
6408
6411
|
last_name: string;
|
|
6409
6412
|
middle_name: string;
|
|
@@ -6562,6 +6565,23 @@ interface IAgenda {
|
|
|
6562
6565
|
interface IComplexAgenda extends IAgenda {
|
|
6563
6566
|
documents: IComplexDocument;
|
|
6564
6567
|
}
|
|
6568
|
+
/**
|
|
6569
|
+
* Общий интерфейс для генерации/регенерации документа
|
|
6570
|
+
*/
|
|
6571
|
+
interface IGenerate extends Omit<Partial<IMetaDocument>, 'registry_id' | 'title'> {
|
|
6572
|
+
code: string;
|
|
6573
|
+
action: string;
|
|
6574
|
+
coopname: string;
|
|
6575
|
+
username: string;
|
|
6576
|
+
[key: string]: any;
|
|
6577
|
+
}
|
|
6578
|
+
interface IGenerateJoinCoop extends IGenerate {
|
|
6579
|
+
signature: string;
|
|
6580
|
+
skip_save: boolean;
|
|
6581
|
+
}
|
|
6582
|
+
interface IGenerateJoinCoopDecision extends IGenerate {
|
|
6583
|
+
decision_id: number;
|
|
6584
|
+
}
|
|
6565
6585
|
|
|
6566
6586
|
type index$2_IAgenda = IAgenda;
|
|
6567
6587
|
type index$2_IChainDocument = IChainDocument;
|
|
@@ -6570,12 +6590,15 @@ type index$2_IComplexAgenda = IComplexAgenda;
|
|
|
6570
6590
|
type index$2_IComplexDecision = IComplexDecision;
|
|
6571
6591
|
type index$2_IComplexDocument = IComplexDocument;
|
|
6572
6592
|
type index$2_IComplexStatement = IComplexStatement;
|
|
6593
|
+
type index$2_IGenerate = IGenerate;
|
|
6594
|
+
type index$2_IGenerateJoinCoop = IGenerateJoinCoop;
|
|
6595
|
+
type index$2_IGenerateJoinCoopDecision = IGenerateJoinCoopDecision;
|
|
6573
6596
|
type index$2_IGeneratedDocument = IGeneratedDocument;
|
|
6574
6597
|
type index$2_IGetComplexDocuments = IGetComplexDocuments;
|
|
6575
6598
|
type index$2_IMetaDocument = IMetaDocument;
|
|
6576
6599
|
type index$2_LangType = LangType;
|
|
6577
6600
|
declare namespace index$2 {
|
|
6578
|
-
export type { index$2_IAgenda as IAgenda, index$2_IChainDocument as IChainDocument, index$2_IComplexAct as IComplexAct, index$2_IComplexAgenda as IComplexAgenda, index$2_IComplexDecision as IComplexDecision, index$2_IComplexDocument as IComplexDocument, index$2_IComplexStatement as IComplexStatement, index$2_IGeneratedDocument as IGeneratedDocument, index$2_IGetComplexDocuments as IGetComplexDocuments, index$2_IMetaDocument as IMetaDocument, index$2_LangType as LangType };
|
|
6601
|
+
export type { index$2_IAgenda as IAgenda, index$2_IChainDocument as IChainDocument, index$2_IComplexAct as IComplexAct, index$2_IComplexAgenda as IComplexAgenda, index$2_IComplexDecision as IComplexDecision, index$2_IComplexDocument as IComplexDocument, index$2_IComplexStatement as IComplexStatement, index$2_IGenerate as IGenerate, index$2_IGenerateJoinCoop as IGenerateJoinCoop, index$2_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$2_IGeneratedDocument as IGeneratedDocument, index$2_IGetComplexDocuments as IGetComplexDocuments, index$2_IMetaDocument as IMetaDocument, index$2_LangType as LangType };
|
|
6579
6602
|
}
|
|
6580
6603
|
|
|
6581
6604
|
interface ICooperativeData extends IOrganizationData {
|