cooptypes 0.5.28 → 1.0.0

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
@@ -6565,6 +6565,23 @@ interface IAgenda {
6565
6565
  interface IComplexAgenda extends IAgenda {
6566
6566
  documents: IComplexDocument;
6567
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
+ }
6568
6585
 
6569
6586
  type index$2_IAgenda = IAgenda;
6570
6587
  type index$2_IChainDocument = IChainDocument;
@@ -6573,16 +6590,22 @@ type index$2_IComplexAgenda = IComplexAgenda;
6573
6590
  type index$2_IComplexDecision = IComplexDecision;
6574
6591
  type index$2_IComplexDocument = IComplexDocument;
6575
6592
  type index$2_IComplexStatement = IComplexStatement;
6593
+ type index$2_IGenerate = IGenerate;
6594
+ type index$2_IGenerateJoinCoop = IGenerateJoinCoop;
6595
+ type index$2_IGenerateJoinCoopDecision = IGenerateJoinCoopDecision;
6576
6596
  type index$2_IGeneratedDocument = IGeneratedDocument;
6577
6597
  type index$2_IGetComplexDocuments = IGetComplexDocuments;
6578
6598
  type index$2_IMetaDocument = IMetaDocument;
6579
6599
  type index$2_LangType = LangType;
6580
6600
  declare namespace index$2 {
6581
- 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 };
6582
6602
  }
6583
6603
 
6584
6604
  interface ICooperativeData extends IOrganizationData {
6605
+ announce: string;
6606
+ description: string;
6585
6607
  is_branched: boolean;
6608
+ is_enrolled: boolean;
6586
6609
  registration: string;
6587
6610
  initial: string;
6588
6611
  minimum: string;
package/dist/index.d.mts CHANGED
@@ -6565,6 +6565,23 @@ interface IAgenda {
6565
6565
  interface IComplexAgenda extends IAgenda {
6566
6566
  documents: IComplexDocument;
6567
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
+ }
6568
6585
 
6569
6586
  type index$2_IAgenda = IAgenda;
6570
6587
  type index$2_IChainDocument = IChainDocument;
@@ -6573,16 +6590,22 @@ type index$2_IComplexAgenda = IComplexAgenda;
6573
6590
  type index$2_IComplexDecision = IComplexDecision;
6574
6591
  type index$2_IComplexDocument = IComplexDocument;
6575
6592
  type index$2_IComplexStatement = IComplexStatement;
6593
+ type index$2_IGenerate = IGenerate;
6594
+ type index$2_IGenerateJoinCoop = IGenerateJoinCoop;
6595
+ type index$2_IGenerateJoinCoopDecision = IGenerateJoinCoopDecision;
6576
6596
  type index$2_IGeneratedDocument = IGeneratedDocument;
6577
6597
  type index$2_IGetComplexDocuments = IGetComplexDocuments;
6578
6598
  type index$2_IMetaDocument = IMetaDocument;
6579
6599
  type index$2_LangType = LangType;
6580
6600
  declare namespace index$2 {
6581
- 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 };
6582
6602
  }
6583
6603
 
6584
6604
  interface ICooperativeData extends IOrganizationData {
6605
+ announce: string;
6606
+ description: string;
6585
6607
  is_branched: boolean;
6608
+ is_enrolled: boolean;
6586
6609
  registration: string;
6587
6610
  initial: string;
6588
6611
  minimum: string;
package/dist/index.d.ts CHANGED
@@ -6565,6 +6565,23 @@ interface IAgenda {
6565
6565
  interface IComplexAgenda extends IAgenda {
6566
6566
  documents: IComplexDocument;
6567
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
+ }
6568
6585
 
6569
6586
  type index$2_IAgenda = IAgenda;
6570
6587
  type index$2_IChainDocument = IChainDocument;
@@ -6573,16 +6590,22 @@ type index$2_IComplexAgenda = IComplexAgenda;
6573
6590
  type index$2_IComplexDecision = IComplexDecision;
6574
6591
  type index$2_IComplexDocument = IComplexDocument;
6575
6592
  type index$2_IComplexStatement = IComplexStatement;
6593
+ type index$2_IGenerate = IGenerate;
6594
+ type index$2_IGenerateJoinCoop = IGenerateJoinCoop;
6595
+ type index$2_IGenerateJoinCoopDecision = IGenerateJoinCoopDecision;
6576
6596
  type index$2_IGeneratedDocument = IGeneratedDocument;
6577
6597
  type index$2_IGetComplexDocuments = IGetComplexDocuments;
6578
6598
  type index$2_IMetaDocument = IMetaDocument;
6579
6599
  type index$2_LangType = LangType;
6580
6600
  declare namespace index$2 {
6581
- 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 };
6582
6602
  }
6583
6603
 
6584
6604
  interface ICooperativeData extends IOrganizationData {
6605
+ announce: string;
6606
+ description: string;
6585
6607
  is_branched: boolean;
6608
+ is_enrolled: boolean;
6586
6609
  registration: string;
6587
6610
  initial: string;
6588
6611
  minimum: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cooptypes",
3
3
  "type": "module",
4
- "version": "0.5.28",
4
+ "version": "1.0.0",
5
5
  "packageManager": "pnpm@9.0.6",
6
6
  "description": "_description_",
7
7
  "author": "Alex Ant <dacom.dark.sun@gmail.com>",