@coopenomics/sdk 2025.5.14 → 2025.6.13

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.mjs CHANGED
@@ -385,33 +385,60 @@ class Document {
385
385
  * @param document Сгенерированный документ для подписи.
386
386
  * @param account Имя аккаунта подписывающего (signer)
387
387
  * @param signatureId ID подписи (обычно 1 для первой подписи)
388
+ * @param existingSignedDocuments Массив уже подписанных документов для объединения подписей
388
389
  * @returns Подписанный документ.
389
390
  */
390
- async signDocument(document, account, signatureId = 1) {
391
+ async signDocument(document, account, signatureId = 1, existingSignedDocuments) {
391
392
  const version = "1.0.0";
392
393
  if (!this.wif)
393
394
  throw new Error(`\u041A\u043B\u044E\u0447 \u043D\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D, \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u0435 \u0432\u044B\u0437\u043E\u0432 \u043C\u0435\u0442\u043E\u0434\u0430 setWif \u043F\u0435\u0440\u0435\u0434 \u043F\u043E\u0434\u043F\u0438\u0441\u044C\u044E \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430`);
394
395
  const now = /* @__PURE__ */ new Date();
395
396
  const signed_at = now.toISOString().split(".")[0];
396
397
  const { meta_hash, hash, signed_hash } = await this.calculateHashes({ meta: document.meta, documentHash: document.hash, signed_at, version });
398
+ const allSignatures = [];
399
+ if (existingSignedDocuments && existingSignedDocuments.length > 0) {
400
+ for (const existingDoc of existingSignedDocuments) {
401
+ if (existingDoc.doc_hash.toUpperCase() !== document.hash.toUpperCase()) {
402
+ throw new Error(`\u0425\u044D\u0448 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430 \u043D\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u0435\u0442 \u0441 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u043C \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u043D\u044B\u043C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u043C: ${existingDoc.doc_hash.toUpperCase()} !== ${document.hash.toUpperCase()}`);
403
+ }
404
+ if (existingDoc.meta_hash.toUpperCase() !== meta_hash.toUpperCase()) {
405
+ throw new Error(`\u0425\u044D\u0448 \u043C\u0435\u0442\u0430\u0434\u0430\u043D\u043D\u044B\u0445 \u043D\u0435 \u0441\u043E\u0432\u043F\u0430\u0434\u0430\u0435\u0442 \u0441 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044E\u0449\u0438\u043C \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u043D\u044B\u043C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u043E\u043C: ${existingDoc.meta_hash.toUpperCase()} !== ${meta_hash.toUpperCase()}`);
406
+ }
407
+ for (const existingSignature of existingDoc.signatures) {
408
+ if (!Document.validateSignature(existingSignature)) {
409
+ throw new Error(`\u041D\u0435\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u0430\u044F \u043F\u043E\u0434\u043F\u0438\u0441\u044C \u043E\u0442 ${existingSignature.signer} \u0441 ID ${existingSignature.id}`);
410
+ }
411
+ }
412
+ allSignatures.push(...existingDoc.signatures.map((sig) => {
413
+ const { is_valid, signer_certificate, ...cleanedSig } = sig;
414
+ return cleanedSig;
415
+ }));
416
+ }
417
+ }
418
+ const existingIds = allSignatures.map((sig) => sig.id);
419
+ if (existingIds.includes(signatureId)) {
420
+ throw new Error(`\u041F\u043E\u0434\u043F\u0438\u0441\u044C \u0441 ID ${signatureId} \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442`);
421
+ }
397
422
  const digitalSignature = this.signDigest(signed_hash);
398
- const signatureInfo = {
423
+ const newSignatureInfo = {
399
424
  id: signatureId,
400
425
  signer: account,
401
426
  public_key: digitalSignature.public_key,
402
427
  signature: digitalSignature.signature,
403
428
  signed_at,
404
429
  signed_hash,
405
- meta: ""
430
+ meta: JSON.stringify({})
406
431
  };
432
+ allSignatures.push(newSignatureInfo);
433
+ allSignatures.sort((a, b) => a.id - b.id);
407
434
  return {
408
435
  version,
409
436
  hash,
410
437
  doc_hash: document.hash,
411
- // TODO: после миграции фабрики заменить здесь на doc_hash
438
+ // TODO: после миграции фабрики заменить здесь на doc_hash взятый из фабрики
412
439
  meta_hash,
413
440
  meta: document.meta,
414
- signatures: [signatureInfo]
441
+ signatures: allSignatures
415
442
  };
416
443
  }
417
444
  /**
@@ -692,14 +719,22 @@ const AllTypesProps = {
692
719
  type: "AccountType"
693
720
  },
694
721
  AddTrustedAccountInput: {},
695
- AgendaMeetPointInput: {},
722
+ AgendaGeneralMeetPointInput: {},
723
+ AgendaGeneralMeetQuestion: {},
724
+ AgendaMeet: {},
696
725
  AgreementInput: {},
697
- AnnualGeneralMeetingAgendaGenerateDocumentInput: {},
726
+ AnnualGeneralMeetingAgendaGenerateDocumentInput: {
727
+ meet: "AgendaMeet",
728
+ questions: "AgendaGeneralMeetQuestion"
729
+ },
698
730
  AnnualGeneralMeetingAgendaSignedDocumentInput: {
699
731
  meta: "AnnualGeneralMeetingAgendaSignedMetaDocumentInput",
700
732
  signatures: "SignatureInfoInput"
701
733
  },
702
- AnnualGeneralMeetingAgendaSignedMetaDocumentInput: {},
734
+ AnnualGeneralMeetingAgendaSignedMetaDocumentInput: {
735
+ meet: "AgendaMeet",
736
+ questions: "AgendaGeneralMeetQuestion"
737
+ },
703
738
  AnnualGeneralMeetingDecisionGenerateDocumentInput: {},
704
739
  AnnualGeneralMeetingDecisionSignedDocumentInput: {
705
740
  meta: "AnnualGeneralMeetingDecisionSignedMetaDocumentInput",
@@ -707,13 +742,23 @@ const AllTypesProps = {
707
742
  },
708
743
  AnnualGeneralMeetingDecisionSignedMetaDocumentInput: {},
709
744
  AnnualGeneralMeetingNotificationGenerateDocumentInput: {},
745
+ AnnualGeneralMeetingNotificationSignedDocumentInput: {
746
+ meta: "AnnualGeneralMeetingNotificationSignedMetaDocumentInput",
747
+ signatures: "SignatureInfoInput"
748
+ },
749
+ AnnualGeneralMeetingNotificationSignedMetaDocumentInput: {},
710
750
  AnnualGeneralMeetingSovietDecisionGenerateDocumentInput: {},
711
- AnnualGeneralMeetingVotingBallotGenerateDocumentInput: {},
751
+ AnnualGeneralMeetingVotingBallotGenerateDocumentInput: {
752
+ answers: "AnswerInput"
753
+ },
712
754
  AnnualGeneralMeetingVotingBallotSignedDocumentInput: {
713
755
  meta: "AnnualGeneralMeetingVotingBallotSignedMetaDocumentInput",
714
756
  signatures: "SignatureInfoInput"
715
757
  },
716
- AnnualGeneralMeetingVotingBallotSignedMetaDocumentInput: {},
758
+ AnnualGeneralMeetingVotingBallotSignedMetaDocumentInput: {
759
+ answers: "AnswerInput"
760
+ },
761
+ AnswerInput: {},
717
762
  AssetContributionActGenerateDocumentInput: {},
718
763
  AssetContributionActSignedDocumentInput: {
719
764
  meta: "AssetContributionActSignedMetaDocumentInput",
@@ -746,7 +791,7 @@ const AllTypesProps = {
746
791
  },
747
792
  Country: "enum",
748
793
  CreateAnnualGeneralMeetInput: {
749
- agenda: "AgendaMeetPointInput",
794
+ agenda: "AgendaGeneralMeetPointInput",
750
795
  close_at: "DateTime",
751
796
  open_at: "DateTime",
752
797
  proposal: "AnnualGeneralMeetingAgendaSignedDocumentInput"
@@ -787,6 +832,7 @@ const AllTypesProps = {
787
832
  },
788
833
  EditBranchInput: {},
789
834
  EntrepreneurDetailsInput: {},
835
+ ExtendedMeetStatus: "enum",
790
836
  ExtensionInput: {
791
837
  config: "JSON",
792
838
  created_at: "DateTime",
@@ -986,6 +1032,9 @@ const AllTypesProps = {
986
1032
  moderateRequest: {
987
1033
  data: "ModerateRequestInput"
988
1034
  },
1035
+ notifyOnAnnualGeneralMeet: {
1036
+ data: "NotifyOnAnnualGeneralMeetInput"
1037
+ },
989
1038
  prohibitRequest: {
990
1039
  data: "ProhibitRequestInput"
991
1040
  },
@@ -1059,6 +1108,9 @@ const AllTypesProps = {
1059
1108
  data: "VoteOnAnnualGeneralMeetInput"
1060
1109
  }
1061
1110
  },
1111
+ NotifyOnAnnualGeneralMeetInput: {
1112
+ notification: "AnnualGeneralMeetingNotificationSignedDocumentInput"
1113
+ },
1062
1114
  OrganizationDetailsInput: {},
1063
1115
  OrganizationType: "enum",
1064
1116
  PaginationInput: {},
@@ -1173,9 +1225,7 @@ const AllTypesProps = {
1173
1225
  SignBySecretaryOnAnnualGeneralMeetInput: {
1174
1226
  secretary_decision: "AnnualGeneralMeetingDecisionSignedDocumentInput"
1175
1227
  },
1176
- SignatureInfoInput: {
1177
- meta: "JSON"
1178
- },
1228
+ SignatureInfoInput: {},
1179
1229
  SignedDigitalDocumentInput: {
1180
1230
  meta: "MetaDocumentInput",
1181
1231
  signatures: "SignatureInfoInput"
@@ -1375,9 +1425,12 @@ const ReturnTypes = {
1375
1425
  statement: "SignedBlockchainDocument",
1376
1426
  type: "String",
1377
1427
  username: "String",
1428
+ username_certificate: "UserCertificateUnion",
1378
1429
  validated: "Boolean",
1379
1430
  votes_against: "String",
1380
- votes_for: "String"
1431
+ votes_against_certificates: "UserCertificateUnion",
1432
+ votes_for: "String",
1433
+ votes_for_certificates: "UserCertificateUnion"
1381
1434
  },
1382
1435
  BlockchainInfoDTO: {
1383
1436
  block_cpu_limit: "Int",
@@ -1424,6 +1477,7 @@ const ReturnTypes = {
1424
1477
  phone: "String"
1425
1478
  },
1426
1479
  CooperativeOperatorAccount: {
1480
+ active_participants_count: "Float",
1427
1481
  announce: "String",
1428
1482
  coop_type: "String",
1429
1483
  created_at: "String",
@@ -1502,6 +1556,14 @@ const ReturnTypes = {
1502
1556
  phone: "String",
1503
1557
  username: "String"
1504
1558
  },
1559
+ EntrepreneurCertificate: {
1560
+ first_name: "String",
1561
+ inn: "String",
1562
+ last_name: "String",
1563
+ middle_name: "String",
1564
+ type: "AccountType",
1565
+ username: "String"
1566
+ },
1505
1567
  EntrepreneurDetails: {
1506
1568
  inn: "String",
1507
1569
  ogrn: "String"
@@ -1510,6 +1572,7 @@ const ReturnTypes = {
1510
1572
  account: "String",
1511
1573
  account_ram_deltas: "AccountRamDelta",
1512
1574
  action_ordinal: "Int",
1575
+ actor_certificate: "UserCertificateUnion",
1513
1576
  authorization: "ActionAuthorization",
1514
1577
  block_id: "String",
1515
1578
  block_num: "Int",
@@ -1523,8 +1586,7 @@ const ReturnTypes = {
1523
1586
  name: "String",
1524
1587
  receipt: "ActionReceipt",
1525
1588
  receiver: "String",
1526
- transaction_id: "String",
1527
- user: "UserDataUnion"
1589
+ transaction_id: "String"
1528
1590
  },
1529
1591
  Extension: {
1530
1592
  config: "JSON",
@@ -1564,6 +1626,13 @@ const ReturnTypes = {
1564
1626
  phone: "String",
1565
1627
  username: "String"
1566
1628
  },
1629
+ IndividualCertificate: {
1630
+ first_name: "String",
1631
+ last_name: "String",
1632
+ middle_name: "String",
1633
+ type: "AccountType",
1634
+ username: "String"
1635
+ },
1567
1636
  JSON: `scalar.JSON`,
1568
1637
  JSONObject: `scalar.JSONObject`,
1569
1638
  KeyWeight: {
@@ -1577,15 +1646,21 @@ const ReturnTypes = {
1577
1646
  created_at: "DateTime",
1578
1647
  current_quorum_percent: "Float",
1579
1648
  cycle: "Float",
1649
+ decision1: "DocumentAggregate",
1650
+ decision2: "DocumentAggregate",
1580
1651
  hash: "String",
1581
1652
  id: "Float",
1582
1653
  initiator: "String",
1654
+ initiator_certificate: "UserCertificateUnion",
1655
+ notified_users: "String",
1583
1656
  open_at: "DateTime",
1584
1657
  presider: "String",
1658
+ presider_certificate: "UserCertificateUnion",
1585
1659
  proposal: "DocumentAggregate",
1586
1660
  quorum_passed: "Boolean",
1587
1661
  quorum_percent: "Float",
1588
1662
  secretary: "String",
1663
+ secretary_certificate: "UserCertificateUnion",
1589
1664
  signed_ballots: "Float",
1590
1665
  status: "String",
1591
1666
  type: "String"
@@ -1602,20 +1677,46 @@ const ReturnTypes = {
1602
1677
  coopname: "String",
1603
1678
  hash: "String",
1604
1679
  initiator: "String",
1680
+ initiator_certificate: "UserCertificateUnion",
1605
1681
  open_at: "DateTime",
1606
1682
  presider: "String",
1683
+ presider_certificate: "UserCertificateUnion",
1607
1684
  proposal: "DocumentAggregate",
1608
- secretary: "String"
1685
+ secretary: "String",
1686
+ secretary_certificate: "UserCertificateUnion"
1609
1687
  },
1610
1688
  MeetProcessed: {
1611
- decision: "BlockchainAction",
1612
- hash: "String"
1689
+ coopname: "String",
1690
+ decision: "SignedDigitalDocument",
1691
+ decisionAggregate: "DocumentAggregate",
1692
+ hash: "String",
1693
+ presider: "String",
1694
+ presider_certificate: "UserCertificateUnion",
1695
+ quorum_passed: "Boolean",
1696
+ quorum_percent: "Int",
1697
+ results: "MeetQuestionResult",
1698
+ secretary: "String",
1699
+ secretary_certificate: "UserCertificateUnion",
1700
+ signed_ballots: "Int"
1613
1701
  },
1614
1702
  MeetProcessing: {
1703
+ extendedStatus: "ExtendedMeetStatus",
1615
1704
  hash: "String",
1705
+ isVoted: "Boolean",
1616
1706
  meet: "Meet",
1617
1707
  questions: "Question"
1618
1708
  },
1709
+ MeetQuestionResult: {
1710
+ accepted: "Boolean",
1711
+ context: "String",
1712
+ decision: "String",
1713
+ number: "Int",
1714
+ question_id: "Int",
1715
+ title: "String",
1716
+ votes_abstained: "Int",
1717
+ votes_against: "Int",
1718
+ votes_for: "Int"
1719
+ },
1619
1720
  MonoAccount: {
1620
1721
  email: "String",
1621
1722
  has_account: "Boolean",
@@ -1679,6 +1780,7 @@ const ReturnTypes = {
1679
1780
  login: "RegisteredAccount",
1680
1781
  logout: "Boolean",
1681
1782
  moderateRequest: "Transaction",
1783
+ notifyOnAnnualGeneralMeet: "MeetAggregate",
1682
1784
  prohibitRequest: "Transaction",
1683
1785
  publishProjectOfFreeDecision: "Boolean",
1684
1786
  publishRequest: "Transaction",
@@ -1718,6 +1820,14 @@ const ReturnTypes = {
1718
1820
  type: "String",
1719
1821
  username: "String"
1720
1822
  },
1823
+ OrganizationCertificate: {
1824
+ inn: "String",
1825
+ ogrn: "String",
1826
+ represented_by: "RepresentedByCertificate",
1827
+ short_name: "String",
1828
+ type: "AccountType",
1829
+ username: "String"
1830
+ },
1721
1831
  OrganizationDetails: {
1722
1832
  inn: "String",
1723
1833
  kpp: "String",
@@ -1864,6 +1974,12 @@ const ReturnTypes = {
1864
1974
  middle_name: "String",
1865
1975
  position: "String"
1866
1976
  },
1977
+ RepresentedByCertificate: {
1978
+ first_name: "String",
1979
+ last_name: "String",
1980
+ middle_name: "String",
1981
+ position: "String"
1982
+ },
1867
1983
  ResourceDelegationDTO: {
1868
1984
  cpu_weight: "String",
1869
1985
  from: "String",
@@ -1888,7 +2004,7 @@ const ReturnTypes = {
1888
2004
  signed_at: "String",
1889
2005
  signed_hash: "String",
1890
2006
  signer: "String",
1891
- signer_info: "UserDataUnion"
2007
+ signer_certificate: "UserCertificateUnion"
1892
2008
  },
1893
2009
  SignedBlockchainDocument: {
1894
2010
  doc_hash: "String",
@@ -1949,10 +2065,10 @@ const ReturnTypes = {
1949
2065
  username: "String",
1950
2066
  verifications: "Verification"
1951
2067
  },
1952
- UserDataUnion: {
1953
- "...on Entrepreneur": "Entrepreneur",
1954
- "...on Individual": "Individual",
1955
- "...on Organization": "Organization"
2068
+ UserCertificateUnion: {
2069
+ "...on EntrepreneurCertificate": "EntrepreneurCertificate",
2070
+ "...on IndividualCertificate": "IndividualCertificate",
2071
+ "...on OrganizationCertificate": "OrganizationCertificate"
1956
2072
  },
1957
2073
  Vars: {
1958
2074
  confidential_email: "String",
@@ -2514,6 +2630,19 @@ var Country = /* @__PURE__ */ ((Country2) => {
2514
2630
  Country2["Russia"] = "Russia";
2515
2631
  return Country2;
2516
2632
  })(Country || {});
2633
+ var ExtendedMeetStatus = /* @__PURE__ */ ((ExtendedMeetStatus2) => {
2634
+ ExtendedMeetStatus2["AUTHORIZED"] = "AUTHORIZED";
2635
+ ExtendedMeetStatus2["CLOSED"] = "CLOSED";
2636
+ ExtendedMeetStatus2["CREATED"] = "CREATED";
2637
+ ExtendedMeetStatus2["EXPIRED_NO_QUORUM"] = "EXPIRED_NO_QUORUM";
2638
+ ExtendedMeetStatus2["NONE"] = "NONE";
2639
+ ExtendedMeetStatus2["ONRESTART"] = "ONRESTART";
2640
+ ExtendedMeetStatus2["PRECLOSED"] = "PRECLOSED";
2641
+ ExtendedMeetStatus2["VOTING_COMPLETED"] = "VOTING_COMPLETED";
2642
+ ExtendedMeetStatus2["VOTING_IN_PROGRESS"] = "VOTING_IN_PROGRESS";
2643
+ ExtendedMeetStatus2["WAITING_FOR_OPENING"] = "WAITING_FOR_OPENING";
2644
+ return ExtendedMeetStatus2;
2645
+ })(ExtendedMeetStatus || {});
2517
2646
  var OrganizationType = /* @__PURE__ */ ((OrganizationType2) => {
2518
2647
  OrganizationType2["AO"] = "AO";
2519
2648
  OrganizationType2["COOP"] = "COOP";
@@ -2557,6 +2686,7 @@ const index$s = {
2557
2686
  AccountType: AccountType,
2558
2687
  Chain: Chain,
2559
2688
  Country: Country,
2689
+ ExtendedMeetStatus: ExtendedMeetStatus,
2560
2690
  GRAPHQL_TYPE_SEPARATOR: GRAPHQL_TYPE_SEPARATOR,
2561
2691
  Gql: Gql,
2562
2692
  GraphQLError: GraphQLError,
@@ -2837,10 +2967,35 @@ const rawTransactionSelector = {
2837
2967
  };
2838
2968
  Selector("Transaction")(rawTransactionSelector);
2839
2969
 
2840
- const rawUserUnionSelector = {
2841
- "...on Entrepreneur": rawEntrepreneurSelector,
2842
- "...on Individual": rawIndividualSelector,
2843
- "...on Organization": rawOrganizationSelector
2970
+ const rawUserCertificateUnionSelector = {
2971
+ "...on IndividualCertificate": {
2972
+ type: true,
2973
+ username: true,
2974
+ first_name: true,
2975
+ last_name: true,
2976
+ middle_name: true
2977
+ },
2978
+ "...on EntrepreneurCertificate": {
2979
+ type: true,
2980
+ username: true,
2981
+ first_name: true,
2982
+ last_name: true,
2983
+ inn: true,
2984
+ middle_name: true
2985
+ },
2986
+ "...on OrganizationCertificate": {
2987
+ type: true,
2988
+ username: true,
2989
+ short_name: true,
2990
+ inn: true,
2991
+ ogrn: true,
2992
+ represented_by: {
2993
+ first_name: true,
2994
+ last_name: true,
2995
+ middle_name: true,
2996
+ position: true
2997
+ }
2998
+ }
2844
2999
  };
2845
3000
 
2846
3001
  const rawPrivateAccountSelector = {
@@ -2901,37 +3056,37 @@ const registeredAccountSelector = Selector("RegisteredAccount")(
2901
3056
  rawRegisteredAccountSelector
2902
3057
  );
2903
3058
 
2904
- const name$1k = "registerAccount";
2905
- const mutation$17 = Selector("Mutation")({
2906
- [name$1k]: [{ data: $("data", "RegisterAccountInput!") }, registeredAccountSelector]
3059
+ const name$1l = "registerAccount";
3060
+ const mutation$18 = Selector("Mutation")({
3061
+ [name$1l]: [{ data: $("data", "RegisterAccountInput!") }, registeredAccountSelector]
2907
3062
  });
2908
3063
 
2909
3064
  const registerAccount = {
2910
3065
  __proto__: null,
2911
- mutation: mutation$17,
2912
- name: name$1k
3066
+ mutation: mutation$18,
3067
+ name: name$1l
2913
3068
  };
2914
3069
 
2915
- const name$1j = "resetKey";
2916
- const mutation$16 = Selector("Mutation")({
2917
- [name$1j]: [{ data: $("data", "ResetKeyInput!") }, true]
3070
+ const name$1k = "resetKey";
3071
+ const mutation$17 = Selector("Mutation")({
3072
+ [name$1k]: [{ data: $("data", "ResetKeyInput!") }, true]
2918
3073
  });
2919
3074
 
2920
3075
  const resetKey = {
2921
3076
  __proto__: null,
2922
- mutation: mutation$16,
2923
- name: name$1j
3077
+ mutation: mutation$17,
3078
+ name: name$1k
2924
3079
  };
2925
3080
 
2926
- const name$1i = "startResetKey";
2927
- const mutation$15 = Selector("Mutation")({
2928
- [name$1i]: [{ data: $("data", "StartResetKeyInput!") }, true]
3081
+ const name$1j = "startResetKey";
3082
+ const mutation$16 = Selector("Mutation")({
3083
+ [name$1j]: [{ data: $("data", "StartResetKeyInput!") }, true]
2929
3084
  });
2930
3085
 
2931
3086
  const startResetKey = {
2932
3087
  __proto__: null,
2933
- mutation: mutation$15,
2934
- name: name$1i
3088
+ mutation: mutation$16,
3089
+ name: name$1j
2935
3090
  };
2936
3091
 
2937
3092
  const paginationSelector = {
@@ -3060,9 +3215,9 @@ const rawSignatureInfoSelector$1 = {
3060
3215
  signature: true,
3061
3216
  signed_at: true,
3062
3217
  is_valid: true,
3063
- signer_info: rawUserUnionSelector,
3064
3218
  signed_hash: true,
3065
- meta: true
3219
+ meta: true,
3220
+ signer_certificate: rawUserCertificateUnionSelector
3066
3221
  };
3067
3222
  const rawDocumentSignatureSelector = {
3068
3223
  version: true,
@@ -3078,11 +3233,78 @@ const rawDocumentAggregateSelector = {
3078
3233
  rawDocument: rawGeneratedDocumentSelector
3079
3234
  };
3080
3235
 
3236
+ const rawSignatureInfoSelector = {
3237
+ id: true,
3238
+ signer: true,
3239
+ public_key: true,
3240
+ signature: true,
3241
+ signed_at: true,
3242
+ is_valid: true,
3243
+ signer_certificate: rawUserCertificateUnionSelector,
3244
+ signed_hash: true,
3245
+ meta: true
3246
+ };
3247
+ Selector("SignatureInfo")(rawSignatureInfoSelector);
3248
+
3249
+ const rawSignedBlockchainDocumentSelector = {
3250
+ version: true,
3251
+ hash: true,
3252
+ doc_hash: true,
3253
+ meta_hash: true,
3254
+ meta: true,
3255
+ signatures: rawSignatureInfoSelector
3256
+ };
3257
+ Selector("SignedBlockchainDocument")(rawSignedBlockchainDocumentSelector);
3258
+
3259
+ const rawMeetQuestionResultSelector = {
3260
+ question_id: true,
3261
+ number: true,
3262
+ title: true,
3263
+ decision: true,
3264
+ context: true,
3265
+ votes_for: true,
3266
+ votes_against: true,
3267
+ votes_abstained: true,
3268
+ accepted: true
3269
+ };
3270
+ const rawMeetProcessedSelector = {
3271
+ coopname: true,
3272
+ hash: true,
3273
+ presider: true,
3274
+ secretary: true,
3275
+ presider_certificate: rawUserCertificateUnionSelector,
3276
+ secretary_certificate: rawUserCertificateUnionSelector,
3277
+ results: rawMeetQuestionResultSelector,
3278
+ signed_ballots: true,
3279
+ quorum_percent: true,
3280
+ quorum_passed: true,
3281
+ decision: rawSignedBlockchainDocumentSelector,
3282
+ decisionAggregate: rawDocumentAggregateSelector
3283
+ };
3284
+ Selector("MeetQuestionResult")(rawMeetQuestionResultSelector);
3285
+ Selector("MeetProcessed")(rawMeetProcessedSelector);
3286
+
3081
3287
  const rawAgendaMeetPointSelector = {
3082
3288
  context: true,
3083
3289
  title: true,
3084
3290
  decision: true
3085
3291
  };
3292
+ const rawMeetPreProcessingSelector = {
3293
+ hash: true,
3294
+ coopname: true,
3295
+ initiator: true,
3296
+ initiator_certificate: rawUserCertificateUnionSelector,
3297
+ presider: true,
3298
+ secretary: true,
3299
+ presider_certificate: rawUserCertificateUnionSelector,
3300
+ secretary_certificate: rawUserCertificateUnionSelector,
3301
+ agenda: rawAgendaMeetPointSelector,
3302
+ open_at: true,
3303
+ close_at: true,
3304
+ proposal: rawDocumentAggregateSelector
3305
+ };
3306
+ Selector("MeetPreProcessing")(rawMeetPreProcessingSelector);
3307
+
3086
3308
  const rawQuestionSelector = {
3087
3309
  id: true,
3088
3310
  number: true,
@@ -3104,8 +3326,11 @@ const rawMeetSelector = {
3104
3326
  coopname: true,
3105
3327
  type: true,
3106
3328
  initiator: true,
3329
+ initiator_certificate: rawUserCertificateUnionSelector,
3107
3330
  presider: true,
3331
+ presider_certificate: rawUserCertificateUnionSelector,
3108
3332
  secretary: true,
3333
+ secretary_certificate: rawUserCertificateUnionSelector,
3109
3334
  status: true,
3110
3335
  created_at: true,
3111
3336
  open_at: true,
@@ -3116,28 +3341,20 @@ const rawMeetSelector = {
3116
3341
  cycle: true,
3117
3342
  quorum_passed: true,
3118
3343
  proposal: rawDocumentAggregateSelector,
3119
- authorization: rawDocumentAggregateSelector
3344
+ authorization: rawDocumentAggregateSelector,
3345
+ decision1: rawDocumentAggregateSelector,
3346
+ decision2: rawDocumentAggregateSelector,
3347
+ notified_users: true
3120
3348
  };
3121
3349
  const rawMeetProcessingSelector = {
3122
3350
  hash: true,
3123
3351
  meet: rawMeetSelector,
3124
- questions: rawQuestionSelector
3125
- };
3126
- const rawMeetPreProcessingSelector = {
3127
- hash: true,
3128
- coopname: true,
3129
- initiator: true,
3130
- presider: true,
3131
- secretary: true,
3132
- agenda: rawAgendaMeetPointSelector,
3133
- open_at: true,
3134
- close_at: true,
3135
- proposal: rawDocumentAggregateSelector
3136
- };
3137
- const rawMeetProcessedSelector = {
3138
- hash: true,
3139
- decision: rawBlockchainActionSelector
3352
+ questions: rawQuestionSelector,
3353
+ isVoted: true,
3354
+ extendedStatus: true
3140
3355
  };
3356
+ Selector("MeetProcessing")(rawMeetProcessingSelector);
3357
+
3141
3358
  const rawMeetAggregateSelector = {
3142
3359
  hash: true,
3143
3360
  pre: rawMeetPreProcessingSelector,
@@ -3185,29 +3402,6 @@ Selector("BlockchainInfoDTO")(
3185
3402
  rawBlockchainInfoSelector
3186
3403
  );
3187
3404
 
3188
- const rawSignatureInfoSelector = {
3189
- id: true,
3190
- signer: true,
3191
- public_key: true,
3192
- signature: true,
3193
- signed_at: true,
3194
- is_valid: true,
3195
- signer_info: rawUserUnionSelector,
3196
- signed_hash: true,
3197
- meta: true
3198
- };
3199
- Selector("SignatureInfo")(rawSignatureInfoSelector);
3200
-
3201
- const rawSignedBlockchainDocumentSelector = {
3202
- version: true,
3203
- hash: true,
3204
- doc_hash: true,
3205
- meta_hash: true,
3206
- meta: true,
3207
- signatures: rawSignatureInfoSelector
3208
- };
3209
- Selector("SignedBlockchainDocument")(rawSignedBlockchainDocumentSelector);
3210
-
3211
3405
  const rawCooperatorAccountSelector = {
3212
3406
  announce: true,
3213
3407
  coop_type: true,
@@ -3239,7 +3433,8 @@ const rawCooperatorAccountSelector = {
3239
3433
  notice: true,
3240
3434
  procedure: true,
3241
3435
  verificator: true
3242
- }
3436
+ },
3437
+ active_participants_count: true
3243
3438
  };
3244
3439
  Selector("CooperativeOperatorAccount")(
3245
3440
  rawCooperatorAccountSelector
@@ -3297,15 +3492,15 @@ const rawSystemInfoSelector = {
3297
3492
  };
3298
3493
  const systemInfoSelector = Selector("SystemInfo")(rawSystemInfoSelector);
3299
3494
 
3300
- const name$1h = "updateAccount";
3301
- const mutation$14 = Selector("Mutation")({
3302
- [name$1h]: [{ data: $("data", "UpdateAccountInput!") }, accountSelector]
3495
+ const name$1i = "updateAccount";
3496
+ const mutation$15 = Selector("Mutation")({
3497
+ [name$1i]: [{ data: $("data", "UpdateAccountInput!") }, accountSelector]
3303
3498
  });
3304
3499
 
3305
3500
  const updateAccount = {
3306
3501
  __proto__: null,
3307
- mutation: mutation$14,
3308
- name: name$1h
3502
+ mutation: mutation$15,
3503
+ name: name$1i
3309
3504
  };
3310
3505
 
3311
3506
  const index$r = {
@@ -3316,50 +3511,50 @@ const index$r = {
3316
3511
  UpdateAccount: updateAccount
3317
3512
  };
3318
3513
 
3319
- const name$1g = "generatePrivacyAgreement";
3514
+ const name$1h = "generatePrivacyAgreement";
3515
+ const mutation$14 = Selector("Mutation")({
3516
+ [name$1h]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3517
+ });
3518
+
3519
+ const generatePrivacyAgreement = {
3520
+ __proto__: null,
3521
+ mutation: mutation$14,
3522
+ name: name$1h
3523
+ };
3524
+
3525
+ const name$1g = "generateSignatureAgreement";
3320
3526
  const mutation$13 = Selector("Mutation")({
3321
3527
  [name$1g]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3322
3528
  });
3323
3529
 
3324
- const generatePrivacyAgreement = {
3530
+ const generateSignatureAgreement = {
3325
3531
  __proto__: null,
3326
3532
  mutation: mutation$13,
3327
3533
  name: name$1g
3328
3534
  };
3329
3535
 
3330
- const name$1f = "generateSignatureAgreement";
3536
+ const name$1f = "generateWalletAgreement";
3331
3537
  const mutation$12 = Selector("Mutation")({
3332
3538
  [name$1f]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3333
3539
  });
3334
3540
 
3335
- const generateSignatureAgreement = {
3541
+ const generateWalletAgreement = {
3336
3542
  __proto__: null,
3337
3543
  mutation: mutation$12,
3338
3544
  name: name$1f
3339
3545
  };
3340
3546
 
3341
- const name$1e = "generateWalletAgreement";
3547
+ const name$1e = "generateUserAgreement";
3342
3548
  const mutation$11 = Selector("Mutation")({
3343
3549
  [name$1e]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3344
3550
  });
3345
3551
 
3346
- const generateWalletAgreement = {
3552
+ const generateUserAgreement = {
3347
3553
  __proto__: null,
3348
3554
  mutation: mutation$11,
3349
3555
  name: name$1e
3350
3556
  };
3351
3557
 
3352
- const name$1d = "generateUserAgreement";
3353
- const mutation$10 = Selector("Mutation")({
3354
- [name$1d]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3355
- });
3356
-
3357
- const generateUserAgreement = {
3358
- __proto__: null,
3359
- mutation: mutation$10,
3360
- name: name$1d
3361
- };
3362
-
3363
3558
  const index$q = {
3364
3559
  __proto__: null,
3365
3560
  GeneratePrivacyAgreement: generatePrivacyAgreement,
@@ -3368,37 +3563,37 @@ const index$q = {
3368
3563
  GenerateWalletAgreement: generateWalletAgreement
3369
3564
  };
3370
3565
 
3371
- const name$1c = "refresh";
3372
- const mutation$$ = Selector("Mutation")({
3373
- [name$1c]: [{ data: $("data", "RefreshInput!") }, registeredAccountSelector]
3566
+ const name$1d = "refresh";
3567
+ const mutation$10 = Selector("Mutation")({
3568
+ [name$1d]: [{ data: $("data", "RefreshInput!") }, registeredAccountSelector]
3374
3569
  });
3375
3570
 
3376
3571
  const refresh = {
3377
3572
  __proto__: null,
3378
- mutation: mutation$$,
3379
- name: name$1c
3573
+ mutation: mutation$10,
3574
+ name: name$1d
3380
3575
  };
3381
3576
 
3382
- const name$1b = "logout";
3383
- const mutation$_ = Selector("Mutation")({
3384
- [name$1b]: [{ data: $("data", "LogoutInput!") }, true]
3577
+ const name$1c = "logout";
3578
+ const mutation$$ = Selector("Mutation")({
3579
+ [name$1c]: [{ data: $("data", "LogoutInput!") }, true]
3385
3580
  });
3386
3581
 
3387
3582
  const logout = {
3388
3583
  __proto__: null,
3389
- mutation: mutation$_,
3390
- name: name$1b
3584
+ mutation: mutation$$,
3585
+ name: name$1c
3391
3586
  };
3392
3587
 
3393
- const name$1a = "login";
3394
- const mutation$Z = Selector("Mutation")({
3395
- [name$1a]: [{ data: $("data", "LoginInput!") }, registeredAccountSelector]
3588
+ const name$1b = "login";
3589
+ const mutation$_ = Selector("Mutation")({
3590
+ [name$1b]: [{ data: $("data", "LoginInput!") }, registeredAccountSelector]
3396
3591
  });
3397
3592
 
3398
3593
  const login = {
3399
3594
  __proto__: null,
3400
- mutation: mutation$Z,
3401
- name: name$1a
3595
+ mutation: mutation$_,
3596
+ name: name$1b
3402
3597
  };
3403
3598
 
3404
3599
  const index$p = {
@@ -3408,83 +3603,83 @@ const index$p = {
3408
3603
  Refresh: refresh
3409
3604
  };
3410
3605
 
3411
- const name$19 = "addTrustedAccount";
3412
- const mutation$Y = Selector("Mutation")({
3413
- [name$19]: [{ data: $("data", "AddTrustedAccountInput!") }, branchSelector]
3606
+ const name$1a = "addTrustedAccount";
3607
+ const mutation$Z = Selector("Mutation")({
3608
+ [name$1a]: [{ data: $("data", "AddTrustedAccountInput!") }, branchSelector]
3414
3609
  });
3415
3610
 
3416
3611
  const addTrustedAccount = {
3612
+ __proto__: null,
3613
+ mutation: mutation$Z,
3614
+ name: name$1a
3615
+ };
3616
+
3617
+ const name$19 = "createBranch";
3618
+ const mutation$Y = Selector("Mutation")({
3619
+ [name$19]: [{ data: $("data", "CreateBranchInput!") }, branchSelector]
3620
+ });
3621
+
3622
+ const createBranch = {
3417
3623
  __proto__: null,
3418
3624
  mutation: mutation$Y,
3419
3625
  name: name$19
3420
3626
  };
3421
3627
 
3422
- const name$18 = "createBranch";
3628
+ const name$18 = "deleteBranch";
3423
3629
  const mutation$X = Selector("Mutation")({
3424
- [name$18]: [{ data: $("data", "CreateBranchInput!") }, branchSelector]
3630
+ [name$18]: [{ data: $("data", "DeleteBranchInput!") }, true]
3425
3631
  });
3426
3632
 
3427
- const createBranch = {
3633
+ const deleteBranch = {
3428
3634
  __proto__: null,
3429
3635
  mutation: mutation$X,
3430
3636
  name: name$18
3431
3637
  };
3432
3638
 
3433
- const name$17 = "deleteBranch";
3639
+ const name$17 = "deleteTrustedAccount";
3434
3640
  const mutation$W = Selector("Mutation")({
3435
- [name$17]: [{ data: $("data", "DeleteBranchInput!") }, true]
3641
+ [name$17]: [{ data: $("data", "DeleteTrustedAccountInput!") }, branchSelector]
3436
3642
  });
3437
3643
 
3438
- const deleteBranch = {
3644
+ const deleteTrustedAccount = {
3439
3645
  __proto__: null,
3440
3646
  mutation: mutation$W,
3441
3647
  name: name$17
3442
3648
  };
3443
3649
 
3444
- const name$16 = "deleteTrustedAccount";
3650
+ const name$16 = "editBranch";
3445
3651
  const mutation$V = Selector("Mutation")({
3446
- [name$16]: [{ data: $("data", "DeleteTrustedAccountInput!") }, branchSelector]
3652
+ [name$16]: [{ data: $("data", "EditBranchInput!") }, branchSelector]
3447
3653
  });
3448
3654
 
3449
- const deleteTrustedAccount = {
3655
+ const editBranch = {
3450
3656
  __proto__: null,
3451
3657
  mutation: mutation$V,
3452
3658
  name: name$16
3453
3659
  };
3454
3660
 
3455
- const name$15 = "editBranch";
3661
+ const name$15 = "generateSelectBranchDocument";
3456
3662
  const mutation$U = Selector("Mutation")({
3457
- [name$15]: [{ data: $("data", "EditBranchInput!") }, branchSelector]
3663
+ [name$15]: [{ data: $("data", "SelectBranchGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3458
3664
  });
3459
3665
 
3460
- const editBranch = {
3666
+ const generateSelectBranchDocument = {
3461
3667
  __proto__: null,
3462
3668
  mutation: mutation$U,
3463
3669
  name: name$15
3464
3670
  };
3465
3671
 
3466
- const name$14 = "generateSelectBranchDocument";
3672
+ const name$14 = "selectBranch";
3467
3673
  const mutation$T = Selector("Mutation")({
3468
- [name$14]: [{ data: $("data", "SelectBranchGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3674
+ [name$14]: [{ data: $("data", "SelectBranchInput!") }, true]
3469
3675
  });
3470
3676
 
3471
- const generateSelectBranchDocument = {
3677
+ const selectBranch = {
3472
3678
  __proto__: null,
3473
3679
  mutation: mutation$T,
3474
3680
  name: name$14
3475
3681
  };
3476
3682
 
3477
- const name$13 = "selectBranch";
3478
- const mutation$S = Selector("Mutation")({
3479
- [name$13]: [{ data: $("data", "SelectBranchInput!") }, true]
3480
- });
3481
-
3482
- const selectBranch = {
3483
- __proto__: null,
3484
- mutation: mutation$S,
3485
- name: name$13
3486
- };
3487
-
3488
3683
  const index$o = {
3489
3684
  __proto__: null,
3490
3685
  AddTrustedAccount: addTrustedAccount,
@@ -3496,259 +3691,259 @@ const index$o = {
3496
3691
  SelectBranch: selectBranch
3497
3692
  };
3498
3693
 
3499
- const name$12 = "acceptChildOrder";
3500
- const mutation$R = Selector("Mutation")({
3501
- [name$12]: [{ data: $("data", "AcceptChildOrderInput!") }, rawTransactionSelector]
3694
+ const name$13 = "acceptChildOrder";
3695
+ const mutation$S = Selector("Mutation")({
3696
+ [name$13]: [{ data: $("data", "AcceptChildOrderInput!") }, rawTransactionSelector]
3502
3697
  });
3503
3698
 
3504
3699
  const acceptChildOrder = {
3700
+ __proto__: null,
3701
+ mutation: mutation$S,
3702
+ name: name$13
3703
+ };
3704
+
3705
+ const name$12 = "cancelRequest";
3706
+ const mutation$R = Selector("Mutation")({
3707
+ [name$12]: [{ data: $("data", "CancelRequestInput!") }, rawTransactionSelector]
3708
+ });
3709
+
3710
+ const cancelRequest = {
3505
3711
  __proto__: null,
3506
3712
  mutation: mutation$R,
3507
3713
  name: name$12
3508
3714
  };
3509
3715
 
3510
- const name$11 = "cancelRequest";
3716
+ const name$11 = "confirmReceiveOnRequest";
3511
3717
  const mutation$Q = Selector("Mutation")({
3512
- [name$11]: [{ data: $("data", "CancelRequestInput!") }, rawTransactionSelector]
3718
+ [name$11]: [{ data: $("data", "ConfirmReceiveOnRequestInput!") }, rawTransactionSelector]
3513
3719
  });
3514
3720
 
3515
- const cancelRequest = {
3721
+ const completeReceiveOnRequest = {
3516
3722
  __proto__: null,
3517
3723
  mutation: mutation$Q,
3518
3724
  name: name$11
3519
3725
  };
3520
3726
 
3521
- const name$10 = "confirmReceiveOnRequest";
3727
+ const name$10 = "completeRequest";
3522
3728
  const mutation$P = Selector("Mutation")({
3523
- [name$10]: [{ data: $("data", "ConfirmReceiveOnRequestInput!") }, rawTransactionSelector]
3729
+ [name$10]: [{ data: $("data", "CompleteRequestInput!") }, rawTransactionSelector]
3524
3730
  });
3525
3731
 
3526
- const completeReceiveOnRequest = {
3732
+ const completeRequest = {
3527
3733
  __proto__: null,
3528
3734
  mutation: mutation$P,
3529
3735
  name: name$10
3530
3736
  };
3531
3737
 
3532
- const name$$ = "completeRequest";
3738
+ const name$$ = "confirmSupplyOnRequest";
3533
3739
  const mutation$O = Selector("Mutation")({
3534
- [name$$]: [{ data: $("data", "CompleteRequestInput!") }, rawTransactionSelector]
3740
+ [name$$]: [{ data: $("data", "ConfirmSupplyOnRequestInput!") }, rawTransactionSelector]
3535
3741
  });
3536
3742
 
3537
- const completeRequest = {
3743
+ const confirmSupplyOnRequest = {
3538
3744
  __proto__: null,
3539
3745
  mutation: mutation$O,
3540
3746
  name: name$$
3541
3747
  };
3542
3748
 
3543
- const name$_ = "confirmSupplyOnRequest";
3749
+ const name$_ = "createChildOrder";
3544
3750
  const mutation$N = Selector("Mutation")({
3545
- [name$_]: [{ data: $("data", "ConfirmSupplyOnRequestInput!") }, rawTransactionSelector]
3751
+ [name$_]: [{ data: $("data", "CreateChildOrderInput!") }, rawTransactionSelector]
3546
3752
  });
3547
3753
 
3548
- const confirmSupplyOnRequest = {
3754
+ const createChildOrder = {
3549
3755
  __proto__: null,
3550
3756
  mutation: mutation$N,
3551
3757
  name: name$_
3552
3758
  };
3553
3759
 
3554
- const name$Z = "createChildOrder";
3760
+ const name$Z = "createParentOffer";
3555
3761
  const mutation$M = Selector("Mutation")({
3556
- [name$Z]: [{ data: $("data", "CreateChildOrderInput!") }, rawTransactionSelector]
3762
+ [name$Z]: [{ data: $("data", "CreateParentOfferInput!") }, rawTransactionSelector]
3557
3763
  });
3558
3764
 
3559
- const createChildOrder = {
3765
+ const createParentOffer = {
3560
3766
  __proto__: null,
3561
3767
  mutation: mutation$M,
3562
3768
  name: name$Z
3563
3769
  };
3564
3770
 
3565
- const name$Y = "createParentOffer";
3771
+ const name$Y = "declineRequest";
3566
3772
  const mutation$L = Selector("Mutation")({
3567
- [name$Y]: [{ data: $("data", "CreateParentOfferInput!") }, rawTransactionSelector]
3773
+ [name$Y]: [{ data: $("data", "DeclineRequestInput!") }, rawTransactionSelector]
3568
3774
  });
3569
3775
 
3570
- const createParentOffer = {
3776
+ const declineRequest = {
3571
3777
  __proto__: null,
3572
3778
  mutation: mutation$L,
3573
3779
  name: name$Y
3574
3780
  };
3575
3781
 
3576
- const name$X = "declineRequest";
3782
+ const name$X = "deliverOnRequest";
3577
3783
  const mutation$K = Selector("Mutation")({
3578
- [name$X]: [{ data: $("data", "DeclineRequestInput!") }, rawTransactionSelector]
3784
+ [name$X]: [{ data: $("data", "DeliverOnRequestInput!") }, rawTransactionSelector]
3579
3785
  });
3580
3786
 
3581
- const declineRequest = {
3787
+ const deliverOnRequest = {
3582
3788
  __proto__: null,
3583
3789
  mutation: mutation$K,
3584
3790
  name: name$X
3585
3791
  };
3586
3792
 
3587
- const name$W = "deliverOnRequest";
3793
+ const name$W = "disputeOnRequest";
3588
3794
  const mutation$J = Selector("Mutation")({
3589
- [name$W]: [{ data: $("data", "DeliverOnRequestInput!") }, rawTransactionSelector]
3795
+ [name$W]: [{ data: $("data", "DisputeOnRequestInput!") }, rawTransactionSelector]
3590
3796
  });
3591
3797
 
3592
- const deliverOnRequest = {
3798
+ const disputeOnRequest = {
3593
3799
  __proto__: null,
3594
3800
  mutation: mutation$J,
3595
3801
  name: name$W
3596
3802
  };
3597
3803
 
3598
- const name$V = "disputeOnRequest";
3804
+ const name$V = "generateAssetContributionAct";
3599
3805
  const mutation$I = Selector("Mutation")({
3600
- [name$V]: [{ data: $("data", "DisputeOnRequestInput!") }, rawTransactionSelector]
3806
+ [name$V]: [{ data: $("data", "AssetContributionActGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3601
3807
  });
3602
3808
 
3603
- const disputeOnRequest = {
3809
+ const generateAssetContributionAct = {
3604
3810
  __proto__: null,
3605
3811
  mutation: mutation$I,
3606
3812
  name: name$V
3607
3813
  };
3608
3814
 
3609
- const name$U = "generateAssetContributionAct";
3815
+ const name$U = "generateAssetContributionDecision";
3610
3816
  const mutation$H = Selector("Mutation")({
3611
- [name$U]: [{ data: $("data", "AssetContributionActGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3817
+ [name$U]: [{ data: $("data", "AssetContributionDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3612
3818
  });
3613
3819
 
3614
- const generateAssetContributionAct = {
3820
+ const generateAssetContributionDecision = {
3615
3821
  __proto__: null,
3616
3822
  mutation: mutation$H,
3617
3823
  name: name$U
3618
3824
  };
3619
3825
 
3620
- const name$T = "generateAssetContributionDecision";
3826
+ const name$T = "generateAssetContributionStatement";
3621
3827
  const mutation$G = Selector("Mutation")({
3622
- [name$T]: [{ data: $("data", "AssetContributionDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3828
+ [name$T]: [{ data: $("data", "AssetContributionStatementGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3623
3829
  });
3624
3830
 
3625
- const generateAssetContributionDecision = {
3831
+ const generateAssetContributionStatement = {
3626
3832
  __proto__: null,
3627
3833
  mutation: mutation$G,
3628
3834
  name: name$T
3629
3835
  };
3630
3836
 
3631
- const name$S = "generateAssetContributionStatement";
3837
+ const name$S = "generateReturnByAssetAct";
3632
3838
  const mutation$F = Selector("Mutation")({
3633
- [name$S]: [{ data: $("data", "AssetContributionStatementGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3839
+ [name$S]: [{ data: $("data", "ReturnByAssetActGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3634
3840
  });
3635
3841
 
3636
- const generateAssetContributionStatement = {
3842
+ const generateReturnByAssetAct = {
3637
3843
  __proto__: null,
3638
3844
  mutation: mutation$F,
3639
3845
  name: name$S
3640
3846
  };
3641
3847
 
3642
- const name$R = "generateReturnByAssetAct";
3848
+ const name$R = "generateReturnByAssetDecision";
3643
3849
  const mutation$E = Selector("Mutation")({
3644
- [name$R]: [{ data: $("data", "ReturnByAssetActGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3850
+ [name$R]: [{ data: $("data", "ReturnByAssetDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3645
3851
  });
3646
3852
 
3647
- const generateReturnByAssetAct = {
3853
+ const generateReturnByAssetDecision = {
3648
3854
  __proto__: null,
3649
3855
  mutation: mutation$E,
3650
3856
  name: name$R
3651
3857
  };
3652
3858
 
3653
- const name$Q = "generateReturnByAssetDecision";
3859
+ const name$Q = "generateReturnByAssetStatement";
3654
3860
  const mutation$D = Selector("Mutation")({
3655
- [name$Q]: [{ data: $("data", "ReturnByAssetDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3861
+ [name$Q]: [{ data: $("data", "ReturnByAssetStatementGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3656
3862
  });
3657
3863
 
3658
- const generateReturnByAssetDecision = {
3864
+ const generateReturnByAssetStatement = {
3659
3865
  __proto__: null,
3660
3866
  mutation: mutation$D,
3661
3867
  name: name$Q
3662
3868
  };
3663
3869
 
3664
- const name$P = "generateReturnByAssetStatement";
3870
+ const name$P = "moderateRequest";
3665
3871
  const mutation$C = Selector("Mutation")({
3666
- [name$P]: [{ data: $("data", "ReturnByAssetStatementGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3872
+ [name$P]: [{ data: $("data", "ModerateRequestInput!") }, rawTransactionSelector]
3667
3873
  });
3668
3874
 
3669
- const generateReturnByAssetStatement = {
3875
+ const moderateRequest = {
3670
3876
  __proto__: null,
3671
3877
  mutation: mutation$C,
3672
3878
  name: name$P
3673
3879
  };
3674
3880
 
3675
- const name$O = "moderateRequest";
3881
+ const name$O = "prohibitRequest";
3676
3882
  const mutation$B = Selector("Mutation")({
3677
- [name$O]: [{ data: $("data", "ModerateRequestInput!") }, rawTransactionSelector]
3883
+ [name$O]: [{ data: $("data", "ProhibitRequestInput!") }, rawTransactionSelector]
3678
3884
  });
3679
3885
 
3680
- const moderateRequest = {
3886
+ const prohibitRequest = {
3681
3887
  __proto__: null,
3682
3888
  mutation: mutation$B,
3683
3889
  name: name$O
3684
3890
  };
3685
3891
 
3686
- const name$N = "prohibitRequest";
3892
+ const name$N = "publishRequest";
3687
3893
  const mutation$A = Selector("Mutation")({
3688
- [name$N]: [{ data: $("data", "ProhibitRequestInput!") }, rawTransactionSelector]
3894
+ [name$N]: [{ data: $("data", "PublishRequestInput!") }, rawTransactionSelector]
3689
3895
  });
3690
3896
 
3691
- const prohibitRequest = {
3897
+ const publishRequest = {
3692
3898
  __proto__: null,
3693
3899
  mutation: mutation$A,
3694
3900
  name: name$N
3695
3901
  };
3696
3902
 
3697
- const name$M = "publishRequest";
3903
+ const name$M = "receiveOnRequest";
3698
3904
  const mutation$z = Selector("Mutation")({
3699
- [name$M]: [{ data: $("data", "PublishRequestInput!") }, rawTransactionSelector]
3905
+ [name$M]: [{ data: $("data", "ReceiveOnRequestInput!") }, rawTransactionSelector]
3700
3906
  });
3701
3907
 
3702
- const publishRequest = {
3908
+ const receiveOnRequest = {
3703
3909
  __proto__: null,
3704
3910
  mutation: mutation$z,
3705
3911
  name: name$M
3706
3912
  };
3707
3913
 
3708
- const name$L = "receiveOnRequest";
3914
+ const name$L = "supplyOnRequest";
3709
3915
  const mutation$y = Selector("Mutation")({
3710
- [name$L]: [{ data: $("data", "ReceiveOnRequestInput!") }, rawTransactionSelector]
3916
+ [name$L]: [{ data: $("data", "SupplyOnRequestInput!") }, rawTransactionSelector]
3711
3917
  });
3712
3918
 
3713
- const receiveOnRequest = {
3919
+ const supplyOnRequest = {
3714
3920
  __proto__: null,
3715
3921
  mutation: mutation$y,
3716
3922
  name: name$L
3717
3923
  };
3718
3924
 
3719
- const name$K = "supplyOnRequest";
3925
+ const name$K = "unpublishRequest";
3720
3926
  const mutation$x = Selector("Mutation")({
3721
- [name$K]: [{ data: $("data", "SupplyOnRequestInput!") }, rawTransactionSelector]
3927
+ [name$K]: [{ data: $("data", "UnpublishRequestInput!") }, rawTransactionSelector]
3722
3928
  });
3723
3929
 
3724
- const supplyOnRequest = {
3930
+ const unpublishRequest = {
3725
3931
  __proto__: null,
3726
3932
  mutation: mutation$x,
3727
3933
  name: name$K
3728
3934
  };
3729
3935
 
3730
- const name$J = "unpublishRequest";
3936
+ const name$J = "updateRequest";
3731
3937
  const mutation$w = Selector("Mutation")({
3732
- [name$J]: [{ data: $("data", "UnpublishRequestInput!") }, rawTransactionSelector]
3938
+ [name$J]: [{ data: $("data", "UpdateRequestInput!") }, rawTransactionSelector]
3733
3939
  });
3734
3940
 
3735
- const unpublishRequest = {
3941
+ const updateRequest = {
3736
3942
  __proto__: null,
3737
3943
  mutation: mutation$w,
3738
3944
  name: name$J
3739
3945
  };
3740
3946
 
3741
- const name$I = "updateRequest";
3742
- const mutation$v = Selector("Mutation")({
3743
- [name$I]: [{ data: $("data", "UpdateRequestInput!") }, rawTransactionSelector]
3744
- });
3745
-
3746
- const updateRequest = {
3747
- __proto__: null,
3748
- mutation: mutation$v,
3749
- name: name$I
3750
- };
3751
-
3752
3947
  const index$n = {
3753
3948
  __proto__: null,
3754
3949
  AcceptChildOrder: acceptChildOrder,
@@ -3776,37 +3971,37 @@ const index$n = {
3776
3971
  UpdateRequest: updateRequest
3777
3972
  };
3778
3973
 
3779
- const name$H = "installExtension";
3780
- const mutation$u = Selector("Mutation")({
3781
- [name$H]: [{ data: $("data", "ExtensionInput!") }, extensionSelector]
3974
+ const name$I = "installExtension";
3975
+ const mutation$v = Selector("Mutation")({
3976
+ [name$I]: [{ data: $("data", "ExtensionInput!") }, extensionSelector]
3782
3977
  });
3783
3978
 
3784
3979
  const installExtension = {
3785
3980
  __proto__: null,
3786
- mutation: mutation$u,
3787
- name: name$H
3981
+ mutation: mutation$v,
3982
+ name: name$I
3788
3983
  };
3789
3984
 
3790
- const name$G = "uninstallExtension";
3791
- const mutation$t = Selector("Mutation")({
3792
- [name$G]: [{ data: $("data", "UninstallExtensionInput!") }, true]
3985
+ const name$H = "uninstallExtension";
3986
+ const mutation$u = Selector("Mutation")({
3987
+ [name$H]: [{ data: $("data", "UninstallExtensionInput!") }, true]
3793
3988
  });
3794
3989
 
3795
3990
  const uninstallExtension = {
3796
3991
  __proto__: null,
3797
- mutation: mutation$t,
3798
- name: name$G
3992
+ mutation: mutation$u,
3993
+ name: name$H
3799
3994
  };
3800
3995
 
3801
- const name$F = "updateExtension";
3802
- const mutation$s = Selector("Mutation")({
3803
- [name$F]: [{ data: $("data", "ExtensionInput!") }, extensionSelector]
3996
+ const name$G = "updateExtension";
3997
+ const mutation$t = Selector("Mutation")({
3998
+ [name$G]: [{ data: $("data", "ExtensionInput!") }, extensionSelector]
3804
3999
  });
3805
4000
 
3806
4001
  const updateExtension = {
3807
4002
  __proto__: null,
3808
- mutation: mutation$s,
3809
- name: name$F
4003
+ mutation: mutation$t,
4004
+ name: name$G
3810
4005
  };
3811
4006
 
3812
4007
  const index$m = {
@@ -3816,48 +4011,48 @@ const index$m = {
3816
4011
  UpdateExtension: updateExtension
3817
4012
  };
3818
4013
 
3819
- const name$E = "generateProjectOfFreeDecision";
3820
- const mutation$r = Selector("Mutation")({
3821
- [name$E]: [{ data: $("data", "ProjectFreeDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
4014
+ const name$F = "generateProjectOfFreeDecision";
4015
+ const mutation$s = Selector("Mutation")({
4016
+ [name$F]: [{ data: $("data", "ProjectFreeDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3822
4017
  });
3823
4018
 
3824
4019
  const generateProjectOfFreeDecisionDocument = {
3825
4020
  __proto__: null,
3826
- mutation: mutation$r,
3827
- name: name$E
4021
+ mutation: mutation$s,
4022
+ name: name$F
3828
4023
  };
3829
4024
 
3830
- const name$D = "generateFreeDecision";
3831
- const mutation$q = Selector("Mutation")({
3832
- [name$D]: [{ data: $("data", "FreeDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
4025
+ const name$E = "generateFreeDecision";
4026
+ const mutation$r = Selector("Mutation")({
4027
+ [name$E]: [{ data: $("data", "FreeDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3833
4028
  });
3834
4029
 
3835
4030
  const generateFreeDecision = {
3836
4031
  __proto__: null,
3837
- mutation: mutation$q,
3838
- name: name$D
4032
+ mutation: mutation$r,
4033
+ name: name$E
3839
4034
  };
3840
4035
 
3841
- const name$C = "publishProjectOfFreeDecision";
3842
- const mutation$p = Selector("Mutation")({
3843
- [name$C]: [{ data: $("data", "PublishProjectFreeDecisionInput!") }, true]
4036
+ const name$D = "publishProjectOfFreeDecision";
4037
+ const mutation$q = Selector("Mutation")({
4038
+ [name$D]: [{ data: $("data", "PublishProjectFreeDecisionInput!") }, true]
3844
4039
  });
3845
4040
 
3846
4041
  const publishProjectOfFreeDecision = {
3847
4042
  __proto__: null,
3848
- mutation: mutation$p,
3849
- name: name$C
4043
+ mutation: mutation$q,
4044
+ name: name$D
3850
4045
  };
3851
4046
 
3852
- const name$B = "createProjectOfFreeDecision";
3853
- const mutation$o = Selector("Mutation")({
3854
- [name$B]: [{ data: $("data", "CreateProjectFreeDecisionInput!") }, createdProjectFreeDecisionSelector]
4047
+ const name$C = "createProjectOfFreeDecision";
4048
+ const mutation$p = Selector("Mutation")({
4049
+ [name$C]: [{ data: $("data", "CreateProjectFreeDecisionInput!") }, createdProjectFreeDecisionSelector]
3855
4050
  });
3856
4051
 
3857
4052
  const createProjectOfFreeDecision = {
3858
4053
  __proto__: null,
3859
- mutation: mutation$o,
3860
- name: name$B
4054
+ mutation: mutation$p,
4055
+ name: name$C
3861
4056
  };
3862
4057
 
3863
4058
  const index$l = {
@@ -3868,94 +4063,105 @@ const index$l = {
3868
4063
  PublishProjectOfFreeDecision: publishProjectOfFreeDecision
3869
4064
  };
3870
4065
 
3871
- const name$A = "createAnnualGeneralMeet";
3872
- const mutation$n = Selector("Mutation")({
3873
- [name$A]: [{ data: $("data", "CreateAnnualGeneralMeetInput!") }, meetAggregateSelector]
4066
+ const name$B = "createAnnualGeneralMeet";
4067
+ const mutation$o = Selector("Mutation")({
4068
+ [name$B]: [{ data: $("data", "CreateAnnualGeneralMeetInput!") }, meetAggregateSelector]
3874
4069
  });
3875
4070
 
3876
4071
  const createAnnualGeneralMeet = {
4072
+ __proto__: null,
4073
+ mutation: mutation$o,
4074
+ name: name$B
4075
+ };
4076
+
4077
+ const name$A = "generateAnnualGeneralMeetAgendaDocument";
4078
+ const mutation$n = Selector("Mutation")({
4079
+ [name$A]: [
4080
+ {
4081
+ data: $("data", "AnnualGeneralMeetingAgendaGenerateDocumentInput!"),
4082
+ options: $("options", "GenerateDocumentOptionsInput")
4083
+ },
4084
+ documentSelector
4085
+ ]
4086
+ });
4087
+
4088
+ const generateAnnualGeneralMeetAgendaDocument = {
3877
4089
  __proto__: null,
3878
4090
  mutation: mutation$n,
3879
4091
  name: name$A
3880
4092
  };
3881
4093
 
3882
- const name$z = "generateAnnualGeneralMeetAgendaDocument";
4094
+ const name$z = "generateAnnualGeneralMeetDecisionDocument";
3883
4095
  const mutation$m = Selector("Mutation")({
3884
4096
  [name$z]: [
3885
4097
  {
3886
- data: $("data", "AnnualGeneralMeetingAgendaGenerateDocumentInput!"),
4098
+ data: $("data", "AnnualGeneralMeetingDecisionGenerateDocumentInput!"),
3887
4099
  options: $("options", "GenerateDocumentOptionsInput")
3888
4100
  },
3889
4101
  documentSelector
3890
4102
  ]
3891
4103
  });
3892
4104
 
3893
- const generateAnnualGeneralMeetAgendaDocument = {
4105
+ const generateAnnualGeneralMeetDecisionDocument = {
3894
4106
  __proto__: null,
3895
4107
  mutation: mutation$m,
3896
4108
  name: name$z
3897
4109
  };
3898
4110
 
3899
- const name$y = "generateAnnualGeneralMeetDecisionDocument";
4111
+ const name$y = "generateAnnualGeneralMeetNotificationDocument";
3900
4112
  const mutation$l = Selector("Mutation")({
3901
4113
  [name$y]: [
3902
4114
  {
3903
- data: $("data", "AnnualGeneralMeetingDecisionGenerateDocumentInput!"),
4115
+ data: $("data", "AnnualGeneralMeetingNotificationGenerateDocumentInput!"),
3904
4116
  options: $("options", "GenerateDocumentOptionsInput")
3905
4117
  },
3906
4118
  documentSelector
3907
4119
  ]
3908
4120
  });
3909
4121
 
3910
- const generateAnnualGeneralMeetDecisionDocument = {
4122
+ const generateAnnualGeneralMeetNotificationDocument = {
3911
4123
  __proto__: null,
3912
4124
  mutation: mutation$l,
3913
4125
  name: name$y
3914
4126
  };
3915
4127
 
3916
- const name$x = "generateAnnualGeneralMeetNotificationDocument";
4128
+ const name$x = "generateBallotForAnnualGeneralMeetDocument";
3917
4129
  const mutation$k = Selector("Mutation")({
3918
4130
  [name$x]: [
3919
4131
  {
3920
- data: $("data", "AnnualGeneralMeetingNotificationGenerateDocumentInput!"),
4132
+ data: $("data", "AnnualGeneralMeetingVotingBallotGenerateDocumentInput!"),
3921
4133
  options: $("options", "GenerateDocumentOptionsInput")
3922
4134
  },
3923
4135
  documentSelector
3924
4136
  ]
3925
4137
  });
3926
4138
 
3927
- const generateAnnualGeneralMeetNotificationDocument = {
4139
+ const generateBallotForAnnualGeneralMeetDocument = {
3928
4140
  __proto__: null,
3929
4141
  mutation: mutation$k,
3930
4142
  name: name$x
3931
4143
  };
3932
4144
 
3933
- const name$w = "generateBallotForAnnualGeneralMeetDocument";
4145
+ const name$w = "generateSovietDecisionOnAnnualMeetDocument";
3934
4146
  const mutation$j = Selector("Mutation")({
3935
- [name$w]: [
3936
- {
3937
- data: $("data", "AnnualGeneralMeetingVotingBallotGenerateDocumentInput!"),
3938
- options: $("options", "GenerateDocumentOptionsInput")
3939
- },
3940
- documentSelector
3941
- ]
4147
+ [name$w]: [{
4148
+ data: $("data", "AnnualGeneralMeetingSovietDecisionGenerateDocumentInput!"),
4149
+ options: $("options", "GenerateDocumentOptionsInput")
4150
+ }, documentSelector]
3942
4151
  });
3943
4152
 
3944
- const generateBallotForAnnualGeneralMeetDocument = {
4153
+ const generateSovietDecisionOnAnnualMeetDocument = {
3945
4154
  __proto__: null,
3946
4155
  mutation: mutation$j,
3947
4156
  name: name$w
3948
4157
  };
3949
4158
 
3950
- const name$v = "generateSovietDecisionOnAnnualMeetDocument";
4159
+ const name$v = "notifyOnAnnualGeneralMeet";
3951
4160
  const mutation$i = Selector("Mutation")({
3952
- [name$v]: [{
3953
- data: $("data", "AnnualGeneralMeetingSovietDecisionGenerateDocumentInput!"),
3954
- options: $("options", "GenerateDocumentOptionsInput")
3955
- }, documentSelector]
4161
+ [name$v]: [{ data: $("data", "NotifyOnAnnualGeneralMeetInput!") }, meetAggregateSelector]
3956
4162
  });
3957
4163
 
3958
- const generateSovietDecisionOnAnnualMeetDocument = {
4164
+ const notifyOnAnnualGeneralMeet = {
3959
4165
  __proto__: null,
3960
4166
  mutation: mutation$i,
3961
4167
  name: name$v
@@ -4013,6 +4219,7 @@ const index$k = {
4013
4219
  GenerateAnnualGeneralMeetNotificationDocument: generateAnnualGeneralMeetNotificationDocument,
4014
4220
  GenerateBallotForAnnualGeneralMeetDocument: generateBallotForAnnualGeneralMeetDocument,
4015
4221
  GenerateSovietDecisionOnAnnualMeetDocument: generateSovietDecisionOnAnnualMeetDocument,
4222
+ NotifyOnAnnualGeneralMeet: notifyOnAnnualGeneralMeet,
4016
4223
  RestartAnnualGeneralMeet: restartAnnualGeneralMeet,
4017
4224
  SignByPresiderOnAnnualGeneralMeet: signByPresiderOnAnnualGeneralMeet,
4018
4225
  SignBySecretaryOnAnnualGeneralMeet: signBySecretaryOnAnnualGeneralMeet,
@@ -4294,18 +4501,18 @@ const rawBlockchainDecisionSelector = {
4294
4501
  callback_contract: true,
4295
4502
  confirm_callback: true,
4296
4503
  decline_callback: true,
4297
- hash: true
4504
+ hash: true,
4505
+ username_certificate: rawUserCertificateUnionSelector,
4506
+ votes_for_certificates: rawUserCertificateUnionSelector,
4507
+ votes_against_certificates: rawUserCertificateUnionSelector
4298
4508
  };
4299
4509
  Selector("BlockchainDecision")(rawBlockchainDecisionSelector);
4300
4510
 
4301
4511
  const rawExtendedBlockchainActionSelector = {
4302
4512
  ...rawBlockchainActionSelector,
4303
- user: {
4304
- "...on Entrepreneur": rawEntrepreneurSelector,
4305
- "...on Individual": rawIndividualSelector,
4306
- "...on Organization": rawOrganizationSelector
4307
- }
4513
+ actor_certificate: rawUserCertificateUnionSelector
4308
4514
  };
4515
+
4309
4516
  const rawActDetailAggregateSelector = {
4310
4517
  action: rawExtendedBlockchainActionSelector,
4311
4518
  documentAggregate: rawDocumentAggregateSelector
@@ -4635,8 +4842,8 @@ const _Client = class _Client {
4635
4842
  signature
4636
4843
  }
4637
4844
  };
4638
- const { [name$1a]: result } = await this.thunder("mutation")(
4639
- mutation$Z,
4845
+ const { [name$1b]: result } = await this.thunder("mutation")(
4846
+ mutation$_,
4640
4847
  {
4641
4848
  variables
4642
4849
  }