cooptypes 1.0.26-alpha.0 → 1.0.26-alpha.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 CHANGED
@@ -432,9 +432,9 @@ const completeDeposit = {
432
432
  };
433
433
 
434
434
  const authorizations$22 = [{ permissions: [active, special], actor: _admin }];
435
- const actionName$22 = "dpfail";
435
+ const actionName$22 = "dprefund";
436
436
 
437
- const failDeposit = {
437
+ const refundDeposit = {
438
438
  __proto__: null,
439
439
  actionName: actionName$22,
440
440
  authorizations: authorizations$22
@@ -491,10 +491,10 @@ const index$I = {
491
491
  CompleteWithdraw: completeWithdraw,
492
492
  CreateDeposit: createDeposit,
493
493
  CreateWithdraw: createWithdraw,
494
- FailDeposit: failDeposit,
495
494
  FailWithdraw: failWithdraw,
496
495
  NewDepositId: newDepositId,
497
- NewWithdrawId: newWithdrawId
496
+ NewWithdrawId: newWithdrawId,
497
+ RefundDeposit: refundDeposit
498
498
  };
499
499
 
500
500
  const tableName$A = "deposits";
@@ -2424,73 +2424,43 @@ const index$9 = {
2424
2424
  const registry_id$6 = 1;
2425
2425
  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";
2426
2426
  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";
2427
- const context$6 = `<div class="digital-document">
2428
- <div style="text-align: right; margin:">
2427
+ const context$6 = `<div class="digital-document"><div style="text-align: right; margin:">
2429
2428
  <p style="margin: 0px !important">{% trans 'APPROVED' %}</p>
2430
- <p style="margin: 0px !important">{% trans 'protocol' %} {{ vars.wallet_agreement.protocol_number }}</p>
2429
+ <p style="margin: 0px !important">{% trans 'protocol' %} {{ vars.signature_agreement.protocol_number }}</p>
2431
2430
  <p style="margin: 0px !important">{{ coop.full_name }} </p>
2432
- <p style="margin: 0px !important">{% trans 'from' %} {{ vars.wallet_agreement.protocol_day_month_year }}</p>
2431
+ <p style="margin: 0px !important">{% trans 'from' %} {{ vars.signature_agreement.protocol_day_month_year }}</p>
2433
2432
  </div>
2434
2433
  <div style="text-align: center">
2435
- <h1 class="header"> {% trans 'PROVISION' %}</h1>
2436
- {% trans 'consumer_program_title' %}
2434
+ <h3 class="header"> {% trans 'PROVISION' %} {{vars.full_abbr_genitive}} "{{vars.name}}"</h3>
2437
2435
  </div>
2438
- <p>{% trans 'consumer_program_provision_intro' %} {{ coop.short_name }} {% trans 'cooperative_hereto' %}</p>
2439
- <p>{% trans 'legal_basis' %}</p>
2440
- <p>{% trans 'program_duration' %}</p>
2441
- <p>{% trans 'program_provision_status' %}</p>
2442
- <div style="text-align: center">
2443
- <h3>{% trans 'terms_program' %}</h3>
2436
+ <div style="text-align: left">
2437
+ <h3>{% trans 'regulation_pep_title_1' %}</h3>
2438
+ </div>
2439
+ <p> {% trans 'regulation_text_1_1' %} {{vars.website}}. {% trans 'regulation_text_1_2' %} {{vars.full_abbr_genitive}} "{{vars.name}}" {% trans 'regulation_text_1_4' %} {{vars.short_abbr}} "{{vars.name}}" {% trans 'regulation_text_1_6' %} {{vars.short_abbr}} "{{vars.name}}" {% trans 'regulation_text_1_8' %} {{vars.short_abbr}} "{{vars.name}}".{% trans 'regulation_text_1_10' %} </p>
2440
+ <div style="text-align: left">
2441
+ <h3>{% trans 'regulation_pep_title_2' %}</h3>
2442
+ </div>
2443
+ <p>{% trans 'regulation_text_2_1' %} {{vars.short_abbr}} "{{vars.name}}", {% trans 'regulation_text_2_3' %}</p>
2444
+ <div style="text-align: left">
2445
+ <h3>{% trans 'regulation_pep_title_3' %} </h3>
2446
+ </div>
2447
+ <p>{% trans 'regulation_text_3_1' %} {{vars.website}} {% trans 'regulation_text_3_2' %}</p>
2448
+ <div style="text-align: left">
2449
+ <h3>{% trans 'regulation_pep_title_4' %}</h3>
2450
+ </div>
2451
+ <p>{% trans 'regulation_pep_text_4' %} </p>
2452
+ <div style="text-align: left">
2453
+ <h3>{% trans 'regulation_pep_title_5' %}</h3>
2444
2454
  </div>
2445
- <p>{% trans 'consumer_program_terms' %}</p>
2455
+ <p>{% trans 'regulation_pep_text_5' %} </p>
2456
+ <div class="signature">
2457
+ {% trans 'acceptance_agreement' %}</div>
2446
2458
  <div style="text-align: center">
2447
- <h3>{% trans 'program_goals' %}</h3>
2459
+ <h1 class="header"> {% trans 'PRIL_PROVISION' %} </h1>
2448
2460
  </div>
2449
- <p>{% trans 'goal_efficiency' %}</p>
2450
- <p>{% trans 'goal_transparency' %}</p>
2451
- <div style="text-align: center"><h3>{% trans 'program_participation_procedure' %}</h3></div>
2452
- <p>{% trans 'program_participation_terms' %}</p>
2453
- <p>{% trans 'offer_acceptance' %}</p>
2454
- <p>{% trans 'procedure_participation' %}</p>
2455
- <div style="text-align: center"><h3>{% trans 'user_cabinet' %}</h3></div>
2456
- <p>{% trans 'site_access' %}</p>
2457
- <p>{% trans 'unique_code' %}</p>
2458
- <p>{% trans 'digital_signature' %}</p>
2459
- <p>{% trans 'identification' %}</p>
2460
- <p>{% trans 'information_security' %}</p>
2461
- <div style="text-align: center"><h3>{% trans 'program_interaction_mechanism' %}</h3></div>
2462
- <p>{% trans 'program_share_contribution' %}</p>
2463
- <p>{% trans 'share_contribution_procedure' %}</p>
2464
- <p>{% trans 'fund_management' %}</p>
2465
- <p>{% trans 'application_to_council' %}</p>
2466
- <p>{% trans 'share_contribution_return' %}</p>
2467
- <p>{% trans 'claim_return' %}</p>
2468
- <p>{% trans 'payment_confirmation' %}</p>
2469
- <p>{% trans 'novation_agreement' %}</p>
2470
- <p>{% trans 'novation_agreement_terms' %}</p>
2471
- <div style="text-align: center"><h3>{% trans 'program_rights_obligations' %}</h3></div>
2472
- <p>{% trans 'participant_rights' %}</p>
2473
- <p>{% trans 'participant_obligations' %}</p>
2474
- <p>{% trans 'cooperative_obligations' %}</p>
2475
- <p>{% trans 'cooperative_rights' %}</p>
2476
- <div style="text-align: center"><h3>{% trans 'force_majeure' %}</h3></div>
2477
- <p>{% trans 'legal_changes' %}</p>
2478
- <p>{% trans 'program_modification' %}</p>
2479
- <p>{% trans 'force_majeure_cases' %}</p>
2480
- <div style="text-align: center"><h3>{% trans 'program_communication' %}</h3></div>
2481
- <p>{% trans 'communication_channels' %}</p>
2482
- <p>{% trans 'alternative_methods' %}</p>
2483
- <p>{% trans 'program_additional_conditions' %}</p>
2484
- <p>{% trans 'governing_documents' %}</p>
2485
- <p>{% trans 'changes_amendments' %}</p>
2486
- <div class="digital-signature">
2487
- {% trans 'acceptance_agreement' %}</div></div>
2488
-
2489
- <style>
2490
- .digital-document {
2491
- padding: 20px;
2492
- }
2493
- </style>`;
2461
+ <p>{% trans 'PRIL_PROVISION_TEXT' %}</p>
2462
+ </div>
2463
+ <style>.digital-document {padding: 20px;}</style>`;
2494
2464
  const translations$6 = {
2495
2465
  ru: {
2496
2466
  APPROVED: "\u0423\u0422\u0412\u0415\u0420\u0416\u0414\u0415\u041D\u041E",
@@ -2684,7 +2654,7 @@ const context$4 = `<div class="digital-document"><div style="text-align: right;
2684
2654
  </div>
2685
2655
  <style>
2686
2656
  .digital-document {
2687
- padding: 10px;
2657
+ padding: 20px;
2688
2658
  };
2689
2659
  </style>
2690
2660
 
@@ -2752,7 +2722,7 @@ const context$3 = `<div class="digital-document"><div style="text-align: right;
2752
2722
  <p> {% trans 'user_agreement_text_6' %} {{vars.full_abbr_genitive}} "{{vars.name}}" {{coop.chairman.last_name}} {{coop.chairman.first_name}} {{coop.chairman.middle_name}}.</p>
2753
2723
  <p>{{meta.created_at}}</p></div>
2754
2724
 
2755
- <style>.digital-document {padding: 10px;}</style>`;
2725
+ <style>.digital-document {padding: 20px;}</style>`;
2756
2726
  const translations$3 = {
2757
2727
  ru: {
2758
2728
  APPROVED: "\u0423\u0422\u0412\u0415\u0420\u0416\u0414\u0415\u041D\u041E",
@@ -2823,7 +2793,7 @@ const context$2 = `<div class="digital-document"><div style="text-align: right;
2823
2793
  {% trans 'acceptance_agreement' %}</div></div>
2824
2794
  <style>
2825
2795
  .digital-document {
2826
- padding: 10px;
2796
+ padding: 20px;
2827
2797
  }
2828
2798
  </style>
2829
2799
  `;
@@ -2874,14 +2844,22 @@ const context$1 = `<style>
2874
2844
  margin: 0px;
2875
2845
  text-align:center;
2876
2846
  }
2877
- .digital-document {padding: 10px;}
2847
+ .digital-document {padding: 20px;}
2878
2848
  </style>
2879
2849
  <div class="digital-document">
2850
+ <div style="text-align: right; margin:">
2851
+ <p style="margin: 0px !important">{% trans 'APPROVED' %}</p>
2852
+ <p style="margin: 0px !important">{% trans 'protocol' %} {{ vars.participant_application.protocol_number }}</p>
2853
+ <p style="margin: 0px !important">{{ vars.full_abbr_genitive }} {{vars.name}}</p>
2854
+ <p style="margin: 0px !important">{% trans 'from' %} {{ vars.participant_application.protocol_day_month_year }}</p>
2855
+ </div>
2856
+
2880
2857
  {% if type == 'individual' %}
2881
2858
  <h1 class="header">{% trans 'application_individual' %}</h1>
2882
2859
  <p style="text-align: center">{% trans 'in' %} {{ coop.full_name }}<p>
2883
2860
  <p style="text-align: right">{{ meta.created_at }}, {{coop.city}}</p>
2884
- <p>{% trans 'to_council_of' %} {{ coop.short_name }} {% trans 'from' %} {{ individual.last_name }} {{ individual.first_name }} {{ individual.middle_name }}, {% trans 'birthdate' %} {{ individual.birthdate }}, {% trans 'registration_address' %} {{ individual.full_address }}, {% trans 'phone_and_email_notice', individual.phone, individual.email %}</p>
2861
+ <p>{% trans 'to_council_of' %} {{ coop.short_name }} {% trans 'from' %} {{ individual.last_name }} {{ individual.first_name }} {{ individual.middle_name }}, {% trans 'birthdate' %} {{ individual.birthdate }}, {% trans 'registration_address' %} {{ individual.full_address }}, {% trans 'phone_and_email_notice', individual.phone, individual.email %}{% if vars.passport_request == 'yes' %} {% trans 'passport' %} \u2116 {{individual.passport.series}} {{individual.passport.number}},
2862
+ {% trans 'passport_code' %} {{individual.passport.code}}, {% trans 'passport_issued' %} {{individual.passport.issued_by}} {% trans 'passport_from' %} {{individual.passport.issued_at}}. {% endif %}</p>
2885
2863
  <p>{% trans 'request_to_join' %} {{ coop.full_name }}. {% trans 'acknowledge_documents_individual' %} {% if coop.is_branched %}</p>
2886
2864
  <p>{% trans 'authorize_chairman_branch', individual.branch_name %} {% endif %} </p>
2887
2865
  <p>{% trans 'obligation_to_pay_individual', coop.initial, coop.minimum %}</p>
@@ -2954,7 +2932,13 @@ const translations$1 = {
2954
2932
  authorize_chairman_branch_organization: "\u0423\u043F\u043E\u043B\u043D\u043E\u043C\u043E\u0447\u0438\u0432\u0430\u0435\u0442 \u041F\u0440\u0435\u0434\u0441\u0435\u0434\u0430\u0442\u0435\u043B\u044F \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u0443\u0447\u0430\u0441\u0442\u043A\u0430 {0} \u043F\u0440\u0438\u043D\u0438\u043C\u0430\u0442\u044C \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0441 \u043F\u0440\u0430\u0432\u043E\u043C \u0433\u043E\u043B\u043E\u0441\u0430 \u0432 \u041E\u0431\u0449\u0438\u0445 \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u044F\u0445 \u0443\u043F\u043E\u043B\u043D\u043E\u043C\u043E\u0447\u0435\u043D\u043D\u044B\u0445 \u041E\u0431\u0449\u0435\u0441\u0442\u0432\u0430, \u043D\u0430 \u043F\u0435\u0440\u0438\u043E\u0434 \u043C\u043E\u0435\u0433\u043E \u0447\u043B\u0435\u043D\u0441\u0442\u0432\u0430 \u0432 \u041E\u0431\u0449\u0435\u0441\u0442\u0432\u0435 \u043F\u0440\u0438 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u043C \u043A\u043E\u043E\u043F\u0435\u0440\u0430\u0442\u0438\u0432\u043D\u043E\u043C \u0443\u0447\u0430\u0441\u0442\u043A\u0435.",
2955
2933
  signature: "\u043F\u043E\u0434\u043F\u0438\u0441\u044C",
2956
2934
  in: "\u0432",
2957
- request_to_join: "\u041F\u0440\u043E\u0448\u0443 \u043F\u0440\u0438\u043D\u044F\u0442\u044C \u043C\u0435\u043D\u044F \u0432 \u043F\u0430\u0439\u0449\u0438\u043A\u0438"
2935
+ request_to_join: "\u041F\u0440\u043E\u0448\u0443 \u043F\u0440\u0438\u043D\u044F\u0442\u044C \u043C\u0435\u043D\u044F \u0432 \u043F\u0430\u0439\u0449\u0438\u043A\u0438",
2936
+ APPROVED: "\u0423\u0422\u0412\u0415\u0420\u0416\u0414\u0415\u041D\u041E",
2937
+ protocol: "\u041F\u0440\u043E\u0442\u043E\u043A\u043E\u043B\u043E\u043C \u0421\u043E\u0432\u0435\u0442\u0430 \u2116 \u0421\u0421",
2938
+ passport: "\u041F\u0430\u0441\u043F\u043E\u0440\u0442",
2939
+ passport_code: "\u043A\u043E\u0434 \u043F\u043E\u0434\u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044F",
2940
+ passport_issued: "\u0432\u044B\u0434\u0430\u043D",
2941
+ passport_from: "\u043E\u0442"
2958
2942
  }
2959
2943
  // ... другие переводы
2960
2944
  };
@@ -2989,9 +2973,10 @@ margin: 0px;
2989
2973
  .signature {
2990
2974
  padding-top: 20px;
2991
2975
  }
2976
+ .digital-document {padding: 20px;}
2992
2977
  </style>
2993
2978
 
2994
- <h1 class="header">{% trans 'protocol_number', decision.id %}</h1>
2979
+ <div class="digital-document"><h1 class="header">{% trans 'protocol_number', decision.id %}</h1>
2995
2980
  <p style="text-align:center">{% trans 'council_meeting_name' %}
2996
2981
  {{ coop.full_name }}</p>
2997
2982
  <p style="text-align: right"> {{ meta.created_at }}, {{ coop.city }}</p>
@@ -3026,7 +3011,7 @@ padding-top: 20px;
3026
3011
 
3027
3012
  <div class="signature">
3028
3013
  <p>{% trans 'signature' %}<p>
3029
- <p style="text-align: right;">{% trans 'chairman' %} {{ coop.chairman.last_name }} {{ coop.chairman.first_name }} {{ coop.chairman.middle_name }}</p></div>`;
3014
+ <p style="text-align: right;">{% trans 'chairman' %} {{ coop.chairman.last_name }} {{ coop.chairman.first_name }} {{ coop.chairman.middle_name }}</p></div></div>`;
3030
3015
  const translations = {
3031
3016
  ru: {
3032
3017
  meeting_format: "\u0424\u043E\u0440\u043C\u0430 \u043F\u0440\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u044F \u0441\u043E\u0431\u0440\u0430\u043D\u0438\u044F \u0441\u043E\u0432\u0435\u0442\u0430: \u0437\u0430\u043E\u0447\u043D\u0430\u044F",