cooptypes 2.1.3 → 2.1.4

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 CHANGED
@@ -2414,7 +2414,7 @@ const index$9 = {
2414
2414
  const registry_id$6 = 1;
2415
2415
  const title$6 = "\u0421\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u0441 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u0426\u041F\u041F \xAB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\xBB";
2416
2416
  const description$6 = "\u0424\u043E\u0440\u043C\u0430 \u043F\u0440\u0438\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043A \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0435 \xAB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\xBB";
2417
- const context$6 = `<div class="digital-document"><div style="text-align: right; margin:">
2417
+ const context$6 = `<style>* { font-family: Arial, sans-serif;}</style><div class="digital-document"><div style="text-align: right; margin:">
2418
2418
  <p style="margin: 0px !important">{% trans 'APPROVED' %}</p>
2419
2419
  <p style="margin: 0px !important">{% trans 'protocol' %} {{ vars.wallet_agreement.protocol_number }}</p>
2420
2420
  <p style="margin: 0px !important">{{ coop.full_name }} </p>
package/dist/index.d.cts CHANGED
@@ -7073,6 +7073,9 @@ interface IDecisionData {
7073
7073
  votes_abstained: number;
7074
7074
  voters_percent: number;
7075
7075
  }
7076
+ interface IGenerationOptions {
7077
+ skip_save: boolean;
7078
+ }
7076
7079
 
7077
7080
  type index$a_IAgenda = IAgenda;
7078
7081
  type index$a_IChainDocument = IChainDocument;
@@ -7087,12 +7090,13 @@ type index$a_IGenerateJoinCoop = IGenerateJoinCoop;
7087
7090
  type index$a_IGenerateJoinCoopDecision = IGenerateJoinCoopDecision;
7088
7091
  type index$a_IGenerateWalletAgreement = IGenerateWalletAgreement;
7089
7092
  type index$a_IGeneratedDocument = IGeneratedDocument;
7093
+ type index$a_IGenerationOptions = IGenerationOptions;
7090
7094
  type index$a_IGetComplexDocuments = IGetComplexDocuments;
7091
7095
  type index$a_IGetResponse<T> = IGetResponse<T>;
7092
7096
  type index$a_IMetaDocument = IMetaDocument;
7093
7097
  type index$a_LangType = LangType;
7094
7098
  declare namespace index$a {
7095
- export type { index$a_IAgenda as IAgenda, index$a_IChainDocument as IChainDocument, index$a_IComplexAct as IComplexAct, index$a_IComplexAgenda as IComplexAgenda, index$a_IComplexDecision as IComplexDecision, index$a_IComplexDocument as IComplexDocument, index$a_IComplexStatement as IComplexStatement, index$a_IDecisionData as IDecisionData, index$a_IGenerate as IGenerate, index$a_IGenerateJoinCoop as IGenerateJoinCoop, index$a_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$a_IGenerateWalletAgreement as IGenerateWalletAgreement, index$a_IGeneratedDocument as IGeneratedDocument, index$a_IGetComplexDocuments as IGetComplexDocuments, index$a_IGetResponse as IGetResponse, index$a_IMetaDocument as IMetaDocument, index$a_LangType as LangType };
7099
+ export type { index$a_IAgenda as IAgenda, index$a_IChainDocument as IChainDocument, index$a_IComplexAct as IComplexAct, index$a_IComplexAgenda as IComplexAgenda, index$a_IComplexDecision as IComplexDecision, index$a_IComplexDocument as IComplexDocument, index$a_IComplexStatement as IComplexStatement, index$a_IDecisionData as IDecisionData, index$a_IGenerate as IGenerate, index$a_IGenerateJoinCoop as IGenerateJoinCoop, index$a_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$a_IGenerateWalletAgreement as IGenerateWalletAgreement, index$a_IGeneratedDocument as IGeneratedDocument, index$a_IGenerationOptions as IGenerationOptions, index$a_IGetComplexDocuments as IGetComplexDocuments, index$a_IGetResponse as IGetResponse, index$a_IMetaDocument as IMetaDocument, index$a_LangType as LangType };
7096
7100
  }
7097
7101
 
7098
7102
  interface ICooperativeData extends IOrganizationData, ICooperative {
@@ -7179,7 +7183,7 @@ interface Model$6 {
7179
7183
  }
7180
7184
  declare const title$6 = "\u0421\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u0441 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u0426\u041F\u041F \u00AB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\u00BB";
7181
7185
  declare const description$6 = "\u0424\u043E\u0440\u043C\u0430 \u043F\u0440\u0438\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043A \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0435 \u00AB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\u00BB";
7182
- declare const context$6 = "<div class=\"digital-document\"><div style=\"text-align: right; margin:\">\n<p style=\"margin: 0px !important\">{% trans 'APPROVED' %}</p>\n<p style=\"margin: 0px !important\">{% trans 'protocol' %} {{ vars.wallet_agreement.protocol_number }}</p>\n<p style=\"margin: 0px !important\">{{ coop.full_name }} </p>\n<p style=\"margin: 0px !important\">{% trans 'from' %} {{ vars.wallet_agreement.protocol_day_month_year }}</p>\n</div>\n<div style=\"text-align: center\">\n<h1 class=\"header\"> {% trans 'PROVISION' %}</h1>\n<p class=\"subheader\"> {% trans 'consumer_program_title' %}</p>\n</div>\n<p>{% trans 'consumer_program_provision_intro' %} {{ coop.short_name }} {% trans 'cooperative_hereto' %}</p>\n<p>{% trans 'legal_basis' %}</p>\n<p>{% trans 'program_duration' %}</p>\n<p>{% trans 'program_provision_status' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'terms_program' %}</h3>\n</div>\n<p>{% trans 'consumer_program_terms' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'program_goals' %}</h3>\n</div>\n<p>{% trans 'goal_efficiency' %}</p>\n<p>{% trans 'goal_transparency' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_participation_procedure' %}</h3></div>\n<p>{% trans 'program_participation_terms' %}</p>\n<p>{% trans 'offer_acceptance' %}</p>\n<p>{% trans 'procedure_participation' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'user_cabinet' %}</h3></div>\n<p>{% trans 'site_access' %}</p>\n<p>{% trans 'unique_code' %}</p>\n<p>{% trans 'digital_signature' %}</p>\n<p>{% trans 'identification' %}</p>\n<p>{% trans 'information_security' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_interaction_mechanism' %}</h3></div>\n<p>{% trans 'program_share_contribution' %}</p>\n<p>{% trans 'share_contribution_procedure' %}</p>\n<p>{% trans 'fund_management' %}</p>\n<p>{% trans 'application_to_council' %}</p>\n<p>{% trans 'share_contribution_return' %}</p>\n<p>{% trans 'claim_return' %}</p>\n<p>{% trans 'payment_confirmation' %}</p>\n<p>{% trans 'novation_agreement' %}</p>\n<p>{% trans 'novation_agreement_terms' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_rights_obligations' %}</h3></div>\n<p>{% trans 'participant_rights' %}</p>\n<p>{% trans 'participant_obligations' %}</p>\n<p>{% trans 'cooperative_obligations' %}</p>\n<p>{% trans 'cooperative_rights' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'force_majeure' %}</h3></div>\n<p>{% trans 'legal_changes' %}</p>\n<p>{% trans 'program_modification' %}</p>\n<p>{% trans 'force_majeure_cases' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_communication' %}</h3></div>\n<p>{% trans 'communication_channels' %}</p>\n<p>{% trans 'alternative_methods' %}</p>\n<p>{% trans 'program_additional_conditions' %}</p>\n<p>{% trans 'governing_documents' %}</p>\n<p>{% trans 'changes_amendments' %}</p>\n<div class=\"digital-signature\">\n{% trans 'acceptance_agreement' %}</div></div>\n\n<style>\n.digital-document {\npadding: 20px;\nwhite-space: pre-wrap;\n}\n.subheader{\npadding-bottom: 20px;\n}\n</style>";
7186
+ declare const context$6 = "<style>* { font-family: Arial, sans-serif;}</style><div class=\"digital-document\"><div style=\"text-align: right; margin:\">\n<p style=\"margin: 0px !important\">{% trans 'APPROVED' %}</p>\n<p style=\"margin: 0px !important\">{% trans 'protocol' %} {{ vars.wallet_agreement.protocol_number }}</p>\n<p style=\"margin: 0px !important\">{{ coop.full_name }} </p>\n<p style=\"margin: 0px !important\">{% trans 'from' %} {{ vars.wallet_agreement.protocol_day_month_year }}</p>\n</div>\n<div style=\"text-align: center\">\n<h1 class=\"header\"> {% trans 'PROVISION' %}</h1>\n<p class=\"subheader\"> {% trans 'consumer_program_title' %}</p>\n</div>\n<p>{% trans 'consumer_program_provision_intro' %} {{ coop.short_name }} {% trans 'cooperative_hereto' %}</p>\n<p>{% trans 'legal_basis' %}</p>\n<p>{% trans 'program_duration' %}</p>\n<p>{% trans 'program_provision_status' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'terms_program' %}</h3>\n</div>\n<p>{% trans 'consumer_program_terms' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'program_goals' %}</h3>\n</div>\n<p>{% trans 'goal_efficiency' %}</p>\n<p>{% trans 'goal_transparency' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_participation_procedure' %}</h3></div>\n<p>{% trans 'program_participation_terms' %}</p>\n<p>{% trans 'offer_acceptance' %}</p>\n<p>{% trans 'procedure_participation' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'user_cabinet' %}</h3></div>\n<p>{% trans 'site_access' %}</p>\n<p>{% trans 'unique_code' %}</p>\n<p>{% trans 'digital_signature' %}</p>\n<p>{% trans 'identification' %}</p>\n<p>{% trans 'information_security' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_interaction_mechanism' %}</h3></div>\n<p>{% trans 'program_share_contribution' %}</p>\n<p>{% trans 'share_contribution_procedure' %}</p>\n<p>{% trans 'fund_management' %}</p>\n<p>{% trans 'application_to_council' %}</p>\n<p>{% trans 'share_contribution_return' %}</p>\n<p>{% trans 'claim_return' %}</p>\n<p>{% trans 'payment_confirmation' %}</p>\n<p>{% trans 'novation_agreement' %}</p>\n<p>{% trans 'novation_agreement_terms' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_rights_obligations' %}</h3></div>\n<p>{% trans 'participant_rights' %}</p>\n<p>{% trans 'participant_obligations' %}</p>\n<p>{% trans 'cooperative_obligations' %}</p>\n<p>{% trans 'cooperative_rights' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'force_majeure' %}</h3></div>\n<p>{% trans 'legal_changes' %}</p>\n<p>{% trans 'program_modification' %}</p>\n<p>{% trans 'force_majeure_cases' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_communication' %}</h3></div>\n<p>{% trans 'communication_channels' %}</p>\n<p>{% trans 'alternative_methods' %}</p>\n<p>{% trans 'program_additional_conditions' %}</p>\n<p>{% trans 'governing_documents' %}</p>\n<p>{% trans 'changes_amendments' %}</p>\n<div class=\"digital-signature\">\n{% trans 'acceptance_agreement' %}</div></div>\n\n<style>\n.digital-document {\npadding: 20px;\nwhite-space: pre-wrap;\n}\n.subheader{\npadding-bottom: 20px;\n}\n</style>";
7183
7187
  declare const translations$6: {
7184
7188
  ru: {
7185
7189
  APPROVED: string;
package/dist/index.d.mts CHANGED
@@ -7073,6 +7073,9 @@ interface IDecisionData {
7073
7073
  votes_abstained: number;
7074
7074
  voters_percent: number;
7075
7075
  }
7076
+ interface IGenerationOptions {
7077
+ skip_save: boolean;
7078
+ }
7076
7079
 
7077
7080
  type index$a_IAgenda = IAgenda;
7078
7081
  type index$a_IChainDocument = IChainDocument;
@@ -7087,12 +7090,13 @@ type index$a_IGenerateJoinCoop = IGenerateJoinCoop;
7087
7090
  type index$a_IGenerateJoinCoopDecision = IGenerateJoinCoopDecision;
7088
7091
  type index$a_IGenerateWalletAgreement = IGenerateWalletAgreement;
7089
7092
  type index$a_IGeneratedDocument = IGeneratedDocument;
7093
+ type index$a_IGenerationOptions = IGenerationOptions;
7090
7094
  type index$a_IGetComplexDocuments = IGetComplexDocuments;
7091
7095
  type index$a_IGetResponse<T> = IGetResponse<T>;
7092
7096
  type index$a_IMetaDocument = IMetaDocument;
7093
7097
  type index$a_LangType = LangType;
7094
7098
  declare namespace index$a {
7095
- export type { index$a_IAgenda as IAgenda, index$a_IChainDocument as IChainDocument, index$a_IComplexAct as IComplexAct, index$a_IComplexAgenda as IComplexAgenda, index$a_IComplexDecision as IComplexDecision, index$a_IComplexDocument as IComplexDocument, index$a_IComplexStatement as IComplexStatement, index$a_IDecisionData as IDecisionData, index$a_IGenerate as IGenerate, index$a_IGenerateJoinCoop as IGenerateJoinCoop, index$a_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$a_IGenerateWalletAgreement as IGenerateWalletAgreement, index$a_IGeneratedDocument as IGeneratedDocument, index$a_IGetComplexDocuments as IGetComplexDocuments, index$a_IGetResponse as IGetResponse, index$a_IMetaDocument as IMetaDocument, index$a_LangType as LangType };
7099
+ export type { index$a_IAgenda as IAgenda, index$a_IChainDocument as IChainDocument, index$a_IComplexAct as IComplexAct, index$a_IComplexAgenda as IComplexAgenda, index$a_IComplexDecision as IComplexDecision, index$a_IComplexDocument as IComplexDocument, index$a_IComplexStatement as IComplexStatement, index$a_IDecisionData as IDecisionData, index$a_IGenerate as IGenerate, index$a_IGenerateJoinCoop as IGenerateJoinCoop, index$a_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$a_IGenerateWalletAgreement as IGenerateWalletAgreement, index$a_IGeneratedDocument as IGeneratedDocument, index$a_IGenerationOptions as IGenerationOptions, index$a_IGetComplexDocuments as IGetComplexDocuments, index$a_IGetResponse as IGetResponse, index$a_IMetaDocument as IMetaDocument, index$a_LangType as LangType };
7096
7100
  }
7097
7101
 
7098
7102
  interface ICooperativeData extends IOrganizationData, ICooperative {
@@ -7179,7 +7183,7 @@ interface Model$6 {
7179
7183
  }
7180
7184
  declare const title$6 = "\u0421\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u0441 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u0426\u041F\u041F \u00AB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\u00BB";
7181
7185
  declare const description$6 = "\u0424\u043E\u0440\u043C\u0430 \u043F\u0440\u0438\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043A \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0435 \u00AB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\u00BB";
7182
- declare const context$6 = "<div class=\"digital-document\"><div style=\"text-align: right; margin:\">\n<p style=\"margin: 0px !important\">{% trans 'APPROVED' %}</p>\n<p style=\"margin: 0px !important\">{% trans 'protocol' %} {{ vars.wallet_agreement.protocol_number }}</p>\n<p style=\"margin: 0px !important\">{{ coop.full_name }} </p>\n<p style=\"margin: 0px !important\">{% trans 'from' %} {{ vars.wallet_agreement.protocol_day_month_year }}</p>\n</div>\n<div style=\"text-align: center\">\n<h1 class=\"header\"> {% trans 'PROVISION' %}</h1>\n<p class=\"subheader\"> {% trans 'consumer_program_title' %}</p>\n</div>\n<p>{% trans 'consumer_program_provision_intro' %} {{ coop.short_name }} {% trans 'cooperative_hereto' %}</p>\n<p>{% trans 'legal_basis' %}</p>\n<p>{% trans 'program_duration' %}</p>\n<p>{% trans 'program_provision_status' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'terms_program' %}</h3>\n</div>\n<p>{% trans 'consumer_program_terms' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'program_goals' %}</h3>\n</div>\n<p>{% trans 'goal_efficiency' %}</p>\n<p>{% trans 'goal_transparency' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_participation_procedure' %}</h3></div>\n<p>{% trans 'program_participation_terms' %}</p>\n<p>{% trans 'offer_acceptance' %}</p>\n<p>{% trans 'procedure_participation' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'user_cabinet' %}</h3></div>\n<p>{% trans 'site_access' %}</p>\n<p>{% trans 'unique_code' %}</p>\n<p>{% trans 'digital_signature' %}</p>\n<p>{% trans 'identification' %}</p>\n<p>{% trans 'information_security' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_interaction_mechanism' %}</h3></div>\n<p>{% trans 'program_share_contribution' %}</p>\n<p>{% trans 'share_contribution_procedure' %}</p>\n<p>{% trans 'fund_management' %}</p>\n<p>{% trans 'application_to_council' %}</p>\n<p>{% trans 'share_contribution_return' %}</p>\n<p>{% trans 'claim_return' %}</p>\n<p>{% trans 'payment_confirmation' %}</p>\n<p>{% trans 'novation_agreement' %}</p>\n<p>{% trans 'novation_agreement_terms' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_rights_obligations' %}</h3></div>\n<p>{% trans 'participant_rights' %}</p>\n<p>{% trans 'participant_obligations' %}</p>\n<p>{% trans 'cooperative_obligations' %}</p>\n<p>{% trans 'cooperative_rights' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'force_majeure' %}</h3></div>\n<p>{% trans 'legal_changes' %}</p>\n<p>{% trans 'program_modification' %}</p>\n<p>{% trans 'force_majeure_cases' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_communication' %}</h3></div>\n<p>{% trans 'communication_channels' %}</p>\n<p>{% trans 'alternative_methods' %}</p>\n<p>{% trans 'program_additional_conditions' %}</p>\n<p>{% trans 'governing_documents' %}</p>\n<p>{% trans 'changes_amendments' %}</p>\n<div class=\"digital-signature\">\n{% trans 'acceptance_agreement' %}</div></div>\n\n<style>\n.digital-document {\npadding: 20px;\nwhite-space: pre-wrap;\n}\n.subheader{\npadding-bottom: 20px;\n}\n</style>";
7186
+ declare const context$6 = "<style>* { font-family: Arial, sans-serif;}</style><div class=\"digital-document\"><div style=\"text-align: right; margin:\">\n<p style=\"margin: 0px !important\">{% trans 'APPROVED' %}</p>\n<p style=\"margin: 0px !important\">{% trans 'protocol' %} {{ vars.wallet_agreement.protocol_number }}</p>\n<p style=\"margin: 0px !important\">{{ coop.full_name }} </p>\n<p style=\"margin: 0px !important\">{% trans 'from' %} {{ vars.wallet_agreement.protocol_day_month_year }}</p>\n</div>\n<div style=\"text-align: center\">\n<h1 class=\"header\"> {% trans 'PROVISION' %}</h1>\n<p class=\"subheader\"> {% trans 'consumer_program_title' %}</p>\n</div>\n<p>{% trans 'consumer_program_provision_intro' %} {{ coop.short_name }} {% trans 'cooperative_hereto' %}</p>\n<p>{% trans 'legal_basis' %}</p>\n<p>{% trans 'program_duration' %}</p>\n<p>{% trans 'program_provision_status' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'terms_program' %}</h3>\n</div>\n<p>{% trans 'consumer_program_terms' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'program_goals' %}</h3>\n</div>\n<p>{% trans 'goal_efficiency' %}</p>\n<p>{% trans 'goal_transparency' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_participation_procedure' %}</h3></div>\n<p>{% trans 'program_participation_terms' %}</p>\n<p>{% trans 'offer_acceptance' %}</p>\n<p>{% trans 'procedure_participation' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'user_cabinet' %}</h3></div>\n<p>{% trans 'site_access' %}</p>\n<p>{% trans 'unique_code' %}</p>\n<p>{% trans 'digital_signature' %}</p>\n<p>{% trans 'identification' %}</p>\n<p>{% trans 'information_security' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_interaction_mechanism' %}</h3></div>\n<p>{% trans 'program_share_contribution' %}</p>\n<p>{% trans 'share_contribution_procedure' %}</p>\n<p>{% trans 'fund_management' %}</p>\n<p>{% trans 'application_to_council' %}</p>\n<p>{% trans 'share_contribution_return' %}</p>\n<p>{% trans 'claim_return' %}</p>\n<p>{% trans 'payment_confirmation' %}</p>\n<p>{% trans 'novation_agreement' %}</p>\n<p>{% trans 'novation_agreement_terms' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_rights_obligations' %}</h3></div>\n<p>{% trans 'participant_rights' %}</p>\n<p>{% trans 'participant_obligations' %}</p>\n<p>{% trans 'cooperative_obligations' %}</p>\n<p>{% trans 'cooperative_rights' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'force_majeure' %}</h3></div>\n<p>{% trans 'legal_changes' %}</p>\n<p>{% trans 'program_modification' %}</p>\n<p>{% trans 'force_majeure_cases' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_communication' %}</h3></div>\n<p>{% trans 'communication_channels' %}</p>\n<p>{% trans 'alternative_methods' %}</p>\n<p>{% trans 'program_additional_conditions' %}</p>\n<p>{% trans 'governing_documents' %}</p>\n<p>{% trans 'changes_amendments' %}</p>\n<div class=\"digital-signature\">\n{% trans 'acceptance_agreement' %}</div></div>\n\n<style>\n.digital-document {\npadding: 20px;\nwhite-space: pre-wrap;\n}\n.subheader{\npadding-bottom: 20px;\n}\n</style>";
7183
7187
  declare const translations$6: {
7184
7188
  ru: {
7185
7189
  APPROVED: string;
package/dist/index.d.ts CHANGED
@@ -7073,6 +7073,9 @@ interface IDecisionData {
7073
7073
  votes_abstained: number;
7074
7074
  voters_percent: number;
7075
7075
  }
7076
+ interface IGenerationOptions {
7077
+ skip_save: boolean;
7078
+ }
7076
7079
 
7077
7080
  type index$a_IAgenda = IAgenda;
7078
7081
  type index$a_IChainDocument = IChainDocument;
@@ -7087,12 +7090,13 @@ type index$a_IGenerateJoinCoop = IGenerateJoinCoop;
7087
7090
  type index$a_IGenerateJoinCoopDecision = IGenerateJoinCoopDecision;
7088
7091
  type index$a_IGenerateWalletAgreement = IGenerateWalletAgreement;
7089
7092
  type index$a_IGeneratedDocument = IGeneratedDocument;
7093
+ type index$a_IGenerationOptions = IGenerationOptions;
7090
7094
  type index$a_IGetComplexDocuments = IGetComplexDocuments;
7091
7095
  type index$a_IGetResponse<T> = IGetResponse<T>;
7092
7096
  type index$a_IMetaDocument = IMetaDocument;
7093
7097
  type index$a_LangType = LangType;
7094
7098
  declare namespace index$a {
7095
- export type { index$a_IAgenda as IAgenda, index$a_IChainDocument as IChainDocument, index$a_IComplexAct as IComplexAct, index$a_IComplexAgenda as IComplexAgenda, index$a_IComplexDecision as IComplexDecision, index$a_IComplexDocument as IComplexDocument, index$a_IComplexStatement as IComplexStatement, index$a_IDecisionData as IDecisionData, index$a_IGenerate as IGenerate, index$a_IGenerateJoinCoop as IGenerateJoinCoop, index$a_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$a_IGenerateWalletAgreement as IGenerateWalletAgreement, index$a_IGeneratedDocument as IGeneratedDocument, index$a_IGetComplexDocuments as IGetComplexDocuments, index$a_IGetResponse as IGetResponse, index$a_IMetaDocument as IMetaDocument, index$a_LangType as LangType };
7099
+ export type { index$a_IAgenda as IAgenda, index$a_IChainDocument as IChainDocument, index$a_IComplexAct as IComplexAct, index$a_IComplexAgenda as IComplexAgenda, index$a_IComplexDecision as IComplexDecision, index$a_IComplexDocument as IComplexDocument, index$a_IComplexStatement as IComplexStatement, index$a_IDecisionData as IDecisionData, index$a_IGenerate as IGenerate, index$a_IGenerateJoinCoop as IGenerateJoinCoop, index$a_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$a_IGenerateWalletAgreement as IGenerateWalletAgreement, index$a_IGeneratedDocument as IGeneratedDocument, index$a_IGenerationOptions as IGenerationOptions, index$a_IGetComplexDocuments as IGetComplexDocuments, index$a_IGetResponse as IGetResponse, index$a_IMetaDocument as IMetaDocument, index$a_LangType as LangType };
7096
7100
  }
7097
7101
 
7098
7102
  interface ICooperativeData extends IOrganizationData, ICooperative {
@@ -7179,7 +7183,7 @@ interface Model$6 {
7179
7183
  }
7180
7184
  declare const title$6 = "\u0421\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u0441 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u0426\u041F\u041F \u00AB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\u00BB";
7181
7185
  declare const description$6 = "\u0424\u043E\u0440\u043C\u0430 \u043F\u0440\u0438\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043A \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0435 \u00AB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\u00BB";
7182
- declare const context$6 = "<div class=\"digital-document\"><div style=\"text-align: right; margin:\">\n<p style=\"margin: 0px !important\">{% trans 'APPROVED' %}</p>\n<p style=\"margin: 0px !important\">{% trans 'protocol' %} {{ vars.wallet_agreement.protocol_number }}</p>\n<p style=\"margin: 0px !important\">{{ coop.full_name }} </p>\n<p style=\"margin: 0px !important\">{% trans 'from' %} {{ vars.wallet_agreement.protocol_day_month_year }}</p>\n</div>\n<div style=\"text-align: center\">\n<h1 class=\"header\"> {% trans 'PROVISION' %}</h1>\n<p class=\"subheader\"> {% trans 'consumer_program_title' %}</p>\n</div>\n<p>{% trans 'consumer_program_provision_intro' %} {{ coop.short_name }} {% trans 'cooperative_hereto' %}</p>\n<p>{% trans 'legal_basis' %}</p>\n<p>{% trans 'program_duration' %}</p>\n<p>{% trans 'program_provision_status' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'terms_program' %}</h3>\n</div>\n<p>{% trans 'consumer_program_terms' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'program_goals' %}</h3>\n</div>\n<p>{% trans 'goal_efficiency' %}</p>\n<p>{% trans 'goal_transparency' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_participation_procedure' %}</h3></div>\n<p>{% trans 'program_participation_terms' %}</p>\n<p>{% trans 'offer_acceptance' %}</p>\n<p>{% trans 'procedure_participation' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'user_cabinet' %}</h3></div>\n<p>{% trans 'site_access' %}</p>\n<p>{% trans 'unique_code' %}</p>\n<p>{% trans 'digital_signature' %}</p>\n<p>{% trans 'identification' %}</p>\n<p>{% trans 'information_security' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_interaction_mechanism' %}</h3></div>\n<p>{% trans 'program_share_contribution' %}</p>\n<p>{% trans 'share_contribution_procedure' %}</p>\n<p>{% trans 'fund_management' %}</p>\n<p>{% trans 'application_to_council' %}</p>\n<p>{% trans 'share_contribution_return' %}</p>\n<p>{% trans 'claim_return' %}</p>\n<p>{% trans 'payment_confirmation' %}</p>\n<p>{% trans 'novation_agreement' %}</p>\n<p>{% trans 'novation_agreement_terms' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_rights_obligations' %}</h3></div>\n<p>{% trans 'participant_rights' %}</p>\n<p>{% trans 'participant_obligations' %}</p>\n<p>{% trans 'cooperative_obligations' %}</p>\n<p>{% trans 'cooperative_rights' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'force_majeure' %}</h3></div>\n<p>{% trans 'legal_changes' %}</p>\n<p>{% trans 'program_modification' %}</p>\n<p>{% trans 'force_majeure_cases' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_communication' %}</h3></div>\n<p>{% trans 'communication_channels' %}</p>\n<p>{% trans 'alternative_methods' %}</p>\n<p>{% trans 'program_additional_conditions' %}</p>\n<p>{% trans 'governing_documents' %}</p>\n<p>{% trans 'changes_amendments' %}</p>\n<div class=\"digital-signature\">\n{% trans 'acceptance_agreement' %}</div></div>\n\n<style>\n.digital-document {\npadding: 20px;\nwhite-space: pre-wrap;\n}\n.subheader{\npadding-bottom: 20px;\n}\n</style>";
7186
+ declare const context$6 = "<style>* { font-family: Arial, sans-serif;}</style><div class=\"digital-document\"><div style=\"text-align: right; margin:\">\n<p style=\"margin: 0px !important\">{% trans 'APPROVED' %}</p>\n<p style=\"margin: 0px !important\">{% trans 'protocol' %} {{ vars.wallet_agreement.protocol_number }}</p>\n<p style=\"margin: 0px !important\">{{ coop.full_name }} </p>\n<p style=\"margin: 0px !important\">{% trans 'from' %} {{ vars.wallet_agreement.protocol_day_month_year }}</p>\n</div>\n<div style=\"text-align: center\">\n<h1 class=\"header\"> {% trans 'PROVISION' %}</h1>\n<p class=\"subheader\"> {% trans 'consumer_program_title' %}</p>\n</div>\n<p>{% trans 'consumer_program_provision_intro' %} {{ coop.short_name }} {% trans 'cooperative_hereto' %}</p>\n<p>{% trans 'legal_basis' %}</p>\n<p>{% trans 'program_duration' %}</p>\n<p>{% trans 'program_provision_status' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'terms_program' %}</h3>\n</div>\n<p>{% trans 'consumer_program_terms' %}</p>\n<div style=\"text-align: center\">\n<h3>{% trans 'program_goals' %}</h3>\n</div>\n<p>{% trans 'goal_efficiency' %}</p>\n<p>{% trans 'goal_transparency' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_participation_procedure' %}</h3></div>\n<p>{% trans 'program_participation_terms' %}</p>\n<p>{% trans 'offer_acceptance' %}</p>\n<p>{% trans 'procedure_participation' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'user_cabinet' %}</h3></div>\n<p>{% trans 'site_access' %}</p>\n<p>{% trans 'unique_code' %}</p>\n<p>{% trans 'digital_signature' %}</p>\n<p>{% trans 'identification' %}</p>\n<p>{% trans 'information_security' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_interaction_mechanism' %}</h3></div>\n<p>{% trans 'program_share_contribution' %}</p>\n<p>{% trans 'share_contribution_procedure' %}</p>\n<p>{% trans 'fund_management' %}</p>\n<p>{% trans 'application_to_council' %}</p>\n<p>{% trans 'share_contribution_return' %}</p>\n<p>{% trans 'claim_return' %}</p>\n<p>{% trans 'payment_confirmation' %}</p>\n<p>{% trans 'novation_agreement' %}</p>\n<p>{% trans 'novation_agreement_terms' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_rights_obligations' %}</h3></div>\n<p>{% trans 'participant_rights' %}</p>\n<p>{% trans 'participant_obligations' %}</p>\n<p>{% trans 'cooperative_obligations' %}</p>\n<p>{% trans 'cooperative_rights' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'force_majeure' %}</h3></div>\n<p>{% trans 'legal_changes' %}</p>\n<p>{% trans 'program_modification' %}</p>\n<p>{% trans 'force_majeure_cases' %}</p>\n<div style=\"text-align: center\"><h3>{% trans 'program_communication' %}</h3></div>\n<p>{% trans 'communication_channels' %}</p>\n<p>{% trans 'alternative_methods' %}</p>\n<p>{% trans 'program_additional_conditions' %}</p>\n<p>{% trans 'governing_documents' %}</p>\n<p>{% trans 'changes_amendments' %}</p>\n<div class=\"digital-signature\">\n{% trans 'acceptance_agreement' %}</div></div>\n\n<style>\n.digital-document {\npadding: 20px;\nwhite-space: pre-wrap;\n}\n.subheader{\npadding-bottom: 20px;\n}\n</style>";
7183
7187
  declare const translations$6: {
7184
7188
  ru: {
7185
7189
  APPROVED: string;
package/dist/index.mjs CHANGED
@@ -2412,7 +2412,7 @@ const index$9 = {
2412
2412
  const registry_id$6 = 1;
2413
2413
  const title$6 = "\u0421\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u0441 \u0443\u0441\u043B\u043E\u0432\u0438\u044F\u043C\u0438 \u0426\u041F\u041F \xAB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\xBB";
2414
2414
  const description$6 = "\u0424\u043E\u0440\u043C\u0430 \u043F\u0440\u0438\u0441\u043E\u0435\u0434\u0438\u043D\u0435\u043D\u0438\u044F \u043A \u0446\u0435\u043B\u0435\u0432\u043E\u0439 \u043F\u043E\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043B\u044C\u0441\u043A\u043E\u0439 \u043F\u0440\u043E\u0433\u0440\u0430\u043C\u043C\u0435 \xAB\u0426\u0418\u0424\u0420\u041E\u0412\u041E\u0419 \u041A\u041E\u0428\u0415\u041B\u0415\u041A\xBB";
2415
- const context$6 = `<div class="digital-document"><div style="text-align: right; margin:">
2415
+ const context$6 = `<style>* { font-family: Arial, sans-serif;}</style><div class="digital-document"><div style="text-align: right; margin:">
2416
2416
  <p style="margin: 0px !important">{% trans 'APPROVED' %}</p>
2417
2417
  <p style="margin: 0px !important">{% trans 'protocol' %} {{ vars.wallet_agreement.protocol_number }}</p>
2418
2418
  <p style="margin: 0px !important">{{ coop.full_name }} </p>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cooptypes",
3
3
  "type": "module",
4
- "version": "2.1.3",
4
+ "version": "2.1.4",
5
5
  "description": "_description_",
6
6
  "author": "Alex Ant <dacom.dark.sun@gmail.com>",
7
7
  "license": "MIT",
@@ -65,5 +65,5 @@
65
65
  "vite": "^5.2.11",
66
66
  "vitest": "^1.5.3"
67
67
  },
68
- "gitHead": "433a7d3641c4d2e3245a50e5ab4ddd1af44c79ed"
68
+ "gitHead": "cf1c1b319874a416f4567108755677bd63de1522"
69
69
  }