@coopenomics/sdk 2.2.6 → 2.2.8

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
@@ -392,6 +392,9 @@ const Classes = {
392
392
  };
393
393
 
394
394
  const AllTypesProps = {
395
+ AcceptChildOrderInput: {
396
+ document: "AssetContributionStatementSignedDocumentInput"
397
+ },
395
398
  AccountType: "enum",
396
399
  AddParticipantInput: {
397
400
  entrepreneur_data: "CreateEntrepreneurDataInput",
@@ -401,15 +404,42 @@ const AllTypesProps = {
401
404
  },
402
405
  AddTrustedAccountInput: {},
403
406
  AgreementInput: {},
407
+ AssetContributionActGenerateDocumentInput: {},
408
+ AssetContributionActSignedDocumentInput: {
409
+ meta: "AssetContributionActSignedMetaDocumentInput"
410
+ },
411
+ AssetContributionActSignedMetaDocumentInput: {},
412
+ AssetContributionDecisionGenerateDocumentInput: {},
413
+ AssetContributionStatementGenerateDocumentInput: {
414
+ request: "CommonRequestInput"
415
+ },
416
+ AssetContributionStatementSignedDocumentInput: {
417
+ meta: "AssetContributionStatementSignedMetaDocumentInput"
418
+ },
419
+ AssetContributionStatementSignedMetaDocumentInput: {
420
+ request: "CommonRequestInput"
421
+ },
404
422
  BankAccountDetailsInput: {},
405
423
  BankAccountInput: {
406
424
  details: "BankAccountDetailsInput"
407
425
  },
426
+ CancelRequestInput: {},
427
+ CommonRequestInput: {},
428
+ CompleteRequestInput: {},
429
+ ConfirmReceiveOnRequestInput: {
430
+ document: "ReturnByAssetActSignedDocumentInput"
431
+ },
432
+ ConfirmSupplyOnRequestInput: {
433
+ document: "AssetContributionActSignedDocumentInput"
434
+ },
408
435
  Country: "enum",
409
436
  CreateBankAccountInput: {
410
437
  data: "BankAccountInput"
411
438
  },
412
439
  CreateBranchInput: {},
440
+ CreateChildOrderInput: {
441
+ document: "ReturnByAssetStatementSignedDocumentInput"
442
+ },
413
443
  CreateDepositPaymentInput: {},
414
444
  CreateEntrepreneurDataInput: {
415
445
  bank_account: "BankAccountInput",
@@ -426,11 +456,17 @@ const AllTypesProps = {
426
456
  represented_by: "RepresentedByInput",
427
457
  type: "OrganizationType"
428
458
  },
459
+ CreateParentOfferInput: {},
429
460
  CreateProjectFreeDecisionInput: {},
430
461
  DateTime: `scalar.DateTime`,
462
+ DeclineRequestInput: {},
431
463
  DeleteBranchInput: {},
432
464
  DeletePaymentMethodInput: {},
433
465
  DeleteTrustedAccountInput: {},
466
+ DeliverOnRequestInput: {},
467
+ DisputeOnRequestInput: {
468
+ document: "JSONObject"
469
+ },
434
470
  EditBranchInput: {},
435
471
  EntrepreneurDetailsInput: {},
436
472
  ExtensionInput: {
@@ -463,31 +499,57 @@ const AllTypesProps = {
463
499
  soviet: "SovietMemberInput"
464
500
  },
465
501
  JSON: `scalar.JSON`,
502
+ JSONObject: `scalar.JSONObject`,
466
503
  LoginInput: {},
467
504
  LogoutInput: {},
468
505
  MetaDocumentInput: {},
506
+ ModerateRequestInput: {},
469
507
  Mutation: {
508
+ acceptChildOrder: {
509
+ data: "AcceptChildOrderInput"
510
+ },
470
511
  addParticipant: {
471
512
  data: "AddParticipantInput"
472
513
  },
473
514
  addTrustedAccount: {
474
515
  data: "AddTrustedAccountInput"
475
516
  },
517
+ cancelRequest: {
518
+ data: "CancelRequestInput"
519
+ },
520
+ completeRequest: {
521
+ data: "CompleteRequestInput"
522
+ },
523
+ confirmReceiveOnRequest: {
524
+ data: "ConfirmReceiveOnRequestInput"
525
+ },
526
+ confirmSupplyOnRequest: {
527
+ data: "ConfirmSupplyOnRequestInput"
528
+ },
476
529
  createBankAccount: {
477
530
  data: "CreateBankAccountInput"
478
531
  },
479
532
  createBranch: {
480
533
  data: "CreateBranchInput"
481
534
  },
535
+ createChildOrder: {
536
+ data: "CreateChildOrderInput"
537
+ },
482
538
  createDepositPayment: {
483
539
  data: "CreateDepositPaymentInput"
484
540
  },
485
541
  createInitialPayment: {
486
542
  data: "CreateInitialPaymentInput"
487
543
  },
544
+ createParentOffer: {
545
+ data: "CreateParentOfferInput"
546
+ },
488
547
  createProjectOfFreeDecision: {
489
548
  data: "CreateProjectFreeDecisionInput"
490
549
  },
550
+ declineRequest: {
551
+ data: "DeclineRequestInput"
552
+ },
491
553
  deleteBranch: {
492
554
  data: "DeleteBranchInput"
493
555
  },
@@ -497,9 +559,27 @@ const AllTypesProps = {
497
559
  deleteTrustedAccount: {
498
560
  data: "DeleteTrustedAccountInput"
499
561
  },
562
+ deliverOnRequest: {
563
+ data: "DeliverOnRequestInput"
564
+ },
565
+ disputeOnRequest: {
566
+ data: "DisputeOnRequestInput"
567
+ },
500
568
  editBranch: {
501
569
  data: "EditBranchInput"
502
570
  },
571
+ generateAssetContributionAct: {
572
+ data: "AssetContributionActGenerateDocumentInput",
573
+ options: "GenerateDocumentOptionsInput"
574
+ },
575
+ generateAssetContributionDecision: {
576
+ data: "AssetContributionDecisionGenerateDocumentInput",
577
+ options: "GenerateDocumentOptionsInput"
578
+ },
579
+ generateAssetContributionStatement: {
580
+ data: "AssetContributionStatementGenerateDocumentInput",
581
+ options: "GenerateDocumentOptionsInput"
582
+ },
503
583
  generateFreeDecision: {
504
584
  data: "FreeDecisionGenerateDocumentInput",
505
585
  options: "GenerateDocumentOptionsInput"
@@ -520,6 +600,18 @@ const AllTypesProps = {
520
600
  data: "ProjectFreeDecisionGenerateDocumentInput",
521
601
  options: "GenerateDocumentOptionsInput"
522
602
  },
603
+ generateReturnByAssetAct: {
604
+ data: "ReturnByAssetActGenerateDocumentInput",
605
+ options: "GenerateDocumentOptionsInput"
606
+ },
607
+ generateReturnByAssetDecision: {
608
+ data: "ReturnByAssetDecisionGenerateDocumentInput",
609
+ options: "GenerateDocumentOptionsInput"
610
+ },
611
+ generateReturnByAssetStatement: {
612
+ data: "ReturnByAssetStatementGenerateDocumentInput",
613
+ options: "GenerateDocumentOptionsInput"
614
+ },
523
615
  generateSelectBranchDocument: {
524
616
  data: "SelectBranchGenerateDocumentInput",
525
617
  options: "GenerateDocumentOptionsInput"
@@ -551,9 +643,21 @@ const AllTypesProps = {
551
643
  logout: {
552
644
  data: "LogoutInput"
553
645
  },
646
+ moderateRequest: {
647
+ data: "ModerateRequestInput"
648
+ },
649
+ prohibitRequest: {
650
+ data: "ProhibitRequestInput"
651
+ },
554
652
  publishProjectOfFreeDecision: {
555
653
  data: "PublishProjectFreeDecisionInput"
556
654
  },
655
+ publishRequest: {
656
+ data: "PublishRequestInput"
657
+ },
658
+ receiveOnRequest: {
659
+ data: "ReceiveOnRequestInput"
660
+ },
557
661
  refresh: {
558
662
  data: "RefreshInput"
559
663
  },
@@ -578,9 +682,15 @@ const AllTypesProps = {
578
682
  startResetKey: {
579
683
  data: "StartResetKeyInput"
580
684
  },
685
+ supplyOnRequest: {
686
+ data: "SupplyOnRequestInput"
687
+ },
581
688
  uninstallExtension: {
582
689
  data: "UninstallExtensionInput"
583
690
  },
691
+ unpublishRequest: {
692
+ data: "UnpublishRequestInput"
693
+ },
584
694
  updateAccount: {
585
695
  data: "UpdateAccountInput"
586
696
  },
@@ -590,6 +700,9 @@ const AllTypesProps = {
590
700
  updateExtension: {
591
701
  data: "ExtensionInput"
592
702
  },
703
+ updateRequest: {
704
+ data: "UpdateRequestInput"
705
+ },
593
706
  updateSystem: {
594
707
  data: "Update"
595
708
  }
@@ -605,6 +718,7 @@ const AllTypesProps = {
605
718
  ParticipantApplicationSignedMetaDocumentInput: {},
606
719
  PassportInput: {},
607
720
  PaymentStatus: "enum",
721
+ ProhibitRequestInput: {},
608
722
  ProjectFreeDecisionGenerateDocumentInput: {},
609
723
  ProjectFreeDecisionSignedDocumentInput: {
610
724
  meta: "ProjectFreeDecisionSignedMetaDocumentInput"
@@ -613,6 +727,7 @@ const AllTypesProps = {
613
727
  PublishProjectFreeDecisionInput: {
614
728
  document: "ProjectFreeDecisionSignedDocumentInput"
615
729
  },
730
+ PublishRequestInput: {},
616
731
  Query: {
617
732
  getAccount: {
618
733
  data: "GetAccountInput"
@@ -638,6 +753,9 @@ const AllTypesProps = {
638
753
  options: "PaginationInput"
639
754
  }
640
755
  },
756
+ ReceiveOnRequestInput: {
757
+ document: "ReturnByAssetActSignedDocumentInput"
758
+ },
641
759
  RefreshInput: {},
642
760
  RegisterAccountInput: {
643
761
  entrepreneur_data: "CreateEntrepreneurDataInput",
@@ -655,6 +773,21 @@ const AllTypesProps = {
655
773
  RegisterRole: "enum",
656
774
  RepresentedByInput: {},
657
775
  ResetKeyInput: {},
776
+ ReturnByAssetActGenerateDocumentInput: {},
777
+ ReturnByAssetActSignedDocumentInput: {
778
+ meta: "ReturnByAssetActSignedMetaDocumentInput"
779
+ },
780
+ ReturnByAssetActSignedMetaDocumentInput: {},
781
+ ReturnByAssetDecisionGenerateDocumentInput: {},
782
+ ReturnByAssetStatementGenerateDocumentInput: {
783
+ request: "CommonRequestInput"
784
+ },
785
+ ReturnByAssetStatementSignedDocumentInput: {
786
+ meta: "ReturnByAssetStatementSignedMetaDocumentInput"
787
+ },
788
+ ReturnByAssetStatementSignedMetaDocumentInput: {
789
+ request: "CommonRequestInput"
790
+ },
658
791
  SelectBranchGenerateDocumentInput: {},
659
792
  SelectBranchInput: {
660
793
  document: "SelectBranchSignedDocumentInput"
@@ -674,8 +807,12 @@ const AllTypesProps = {
674
807
  individual_data: "CreateIndividualDataInput"
675
808
  },
676
809
  StartResetKeyInput: {},
810
+ SupplyOnRequestInput: {
811
+ document: "AssetContributionActSignedDocumentInput"
812
+ },
677
813
  SystemStatus: "enum",
678
814
  UninstallExtensionInput: {},
815
+ UnpublishRequestInput: {},
679
816
  Update: {
680
817
  organization_data: "UpdateOrganizationDataInput",
681
818
  vars: "VarsInput"
@@ -702,6 +839,7 @@ const AllTypesProps = {
702
839
  represented_by: "RepresentedByInput",
703
840
  type: "OrganizationType"
704
841
  },
842
+ UpdateRequestInput: {},
705
843
  UserStatus: "enum",
706
844
  VarsInput: {
707
845
  coopenomics_agreement: "AgreementInput",
@@ -763,6 +901,74 @@ const ReturnTypes = {
763
901
  protocol_day_month_year: "String",
764
902
  protocol_number: "String"
765
903
  },
904
+ AssetContributionActDocument: {
905
+ binary: "String",
906
+ full_title: "String",
907
+ hash: "String",
908
+ html: "String",
909
+ meta: "AssetContributionActMetaDocumentOutput"
910
+ },
911
+ AssetContributionActMetaDocumentOutput: {
912
+ act_id: "String",
913
+ block_num: "Int",
914
+ braname: "String",
915
+ coopname: "String",
916
+ created_at: "String",
917
+ decision_id: "Float",
918
+ generator: "String",
919
+ lang: "String",
920
+ links: "String",
921
+ receiver: "String",
922
+ registry_id: "Int",
923
+ request_id: "Float",
924
+ timezone: "String",
925
+ title: "String",
926
+ username: "String",
927
+ version: "String"
928
+ },
929
+ AssetContributionDecisionDocument: {
930
+ binary: "String",
931
+ full_title: "String",
932
+ hash: "String",
933
+ html: "String",
934
+ meta: "AssetContributionDecisionMetaDocumentOutput"
935
+ },
936
+ AssetContributionDecisionMetaDocumentOutput: {
937
+ block_num: "Int",
938
+ coopname: "String",
939
+ created_at: "String",
940
+ decision_id: "Float",
941
+ generator: "String",
942
+ lang: "String",
943
+ links: "String",
944
+ registry_id: "Int",
945
+ request_id: "Float",
946
+ timezone: "String",
947
+ title: "String",
948
+ username: "String",
949
+ version: "String"
950
+ },
951
+ AssetContributionStatementDocument: {
952
+ binary: "String",
953
+ full_title: "String",
954
+ hash: "String",
955
+ html: "String",
956
+ meta: "AssetContributionStatementMetaDocumentOutput"
957
+ },
958
+ AssetContributionStatementMetaDocumentOutput: {
959
+ block_num: "Int",
960
+ coopname: "String",
961
+ created_at: "String",
962
+ generator: "String",
963
+ lang: "String",
964
+ links: "String",
965
+ registry_id: "Int",
966
+ request: "CommonRequestResponse",
967
+ timezone: "String",
968
+ title: "String",
969
+ username: "String",
970
+ version: "String"
971
+ },
766
972
  AuthSequence: {
767
973
  account: "String",
768
974
  sequence: "String"
@@ -888,6 +1094,17 @@ const ReturnTypes = {
888
1094
  trustee: "Individual",
889
1095
  type: "String"
890
1096
  },
1097
+ CommonRequestResponse: {
1098
+ currency: "String",
1099
+ hash: "String",
1100
+ program_id: "Int",
1101
+ title: "String",
1102
+ total_cost: "String",
1103
+ type: "String",
1104
+ unit_cost: "String",
1105
+ unit_of_measurement: "String",
1106
+ units: "Int"
1107
+ },
891
1108
  ContactsDTO: {
892
1109
  chairman: "PublicChairman",
893
1110
  details: "OrganizationDetails",
@@ -1044,6 +1261,7 @@ const ReturnTypes = {
1044
1261
  username: "String"
1045
1262
  },
1046
1263
  JSON: `scalar.JSON`,
1264
+ JSONObject: `scalar.JSONObject`,
1047
1265
  KeyWeight: {
1048
1266
  key: "String",
1049
1267
  weight: "Int"
@@ -1076,22 +1294,38 @@ const ReturnTypes = {
1076
1294
  username: "String"
1077
1295
  },
1078
1296
  Mutation: {
1297
+ acceptChildOrder: "Transaction",
1079
1298
  addParticipant: "Account",
1080
1299
  addTrustedAccount: "Branch",
1300
+ cancelRequest: "Transaction",
1301
+ completeRequest: "Transaction",
1302
+ confirmReceiveOnRequest: "Transaction",
1303
+ confirmSupplyOnRequest: "Transaction",
1081
1304
  createBankAccount: "PaymentMethod",
1082
1305
  createBranch: "Branch",
1306
+ createChildOrder: "Transaction",
1083
1307
  createDepositPayment: "Payment",
1084
1308
  createInitialPayment: "Payment",
1309
+ createParentOffer: "Transaction",
1085
1310
  createProjectOfFreeDecision: "CreatedProjectFreeDecision",
1311
+ declineRequest: "Transaction",
1086
1312
  deleteBranch: "Boolean",
1087
1313
  deletePaymentMethod: "Boolean",
1088
1314
  deleteTrustedAccount: "Branch",
1315
+ deliverOnRequest: "Transaction",
1316
+ disputeOnRequest: "Transaction",
1089
1317
  editBranch: "Branch",
1318
+ generateAssetContributionAct: "AssetContributionActDocument",
1319
+ generateAssetContributionDecision: "AssetContributionDecisionDocument",
1320
+ generateAssetContributionStatement: "AssetContributionStatementDocument",
1090
1321
  generateFreeDecision: "ProjectFreeDecisionDocument",
1091
1322
  generateParticipantApplication: "ParticipantApplicationDocument",
1092
1323
  generateParticipantApplicationDecision: "ParticipantApplicationDecisionDocument",
1093
1324
  generatePrivacyAgreement: "GeneratedDocument",
1094
1325
  generateProjectOfFreeDecision: "ProjectFreeDecisionDocument",
1326
+ generateReturnByAssetAct: "ReturnByAssetActDocument",
1327
+ generateReturnByAssetDecision: "ReturnByAssetDecisionDocument",
1328
+ generateReturnByAssetStatement: "ReturnByAssetStatementDocument",
1095
1329
  generateSelectBranchDocument: "SelectBranchDocument",
1096
1330
  generateSignatureAgreement: "GeneratedDocument",
1097
1331
  generateUserAgreement: "GeneratedDocument",
@@ -1101,7 +1335,11 @@ const ReturnTypes = {
1101
1335
  installSystem: "SystemInfo",
1102
1336
  login: "RegisteredAccount",
1103
1337
  logout: "Boolean",
1338
+ moderateRequest: "Transaction",
1339
+ prohibitRequest: "Transaction",
1104
1340
  publishProjectOfFreeDecision: "Boolean",
1341
+ publishRequest: "Transaction",
1342
+ receiveOnRequest: "Transaction",
1105
1343
  refresh: "RegisteredAccount",
1106
1344
  registerAccount: "RegisteredAccount",
1107
1345
  registerParticipant: "Account",
@@ -1110,10 +1348,13 @@ const ReturnTypes = {
1110
1348
  setPaymentStatus: "Payment",
1111
1349
  setWif: "Boolean",
1112
1350
  startResetKey: "Boolean",
1351
+ supplyOnRequest: "Transaction",
1113
1352
  uninstallExtension: "Boolean",
1353
+ unpublishRequest: "Transaction",
1114
1354
  updateAccount: "Account",
1115
1355
  updateBankAccount: "PaymentMethod",
1116
1356
  updateExtension: "Extension",
1357
+ updateRequest: "Transaction",
1117
1358
  updateSystem: "SystemInfo"
1118
1359
  },
1119
1360
  Organization: {
@@ -1322,6 +1563,74 @@ const ReturnTypes = {
1322
1563
  owner: "String",
1323
1564
  ram_bytes: "Int"
1324
1565
  },
1566
+ ReturnByAssetActDocument: {
1567
+ binary: "String",
1568
+ full_title: "String",
1569
+ hash: "String",
1570
+ html: "String",
1571
+ meta: "ReturnByAssetActMetaDocumentOutput"
1572
+ },
1573
+ ReturnByAssetActMetaDocumentOutput: {
1574
+ act_id: "String",
1575
+ block_num: "Int",
1576
+ braname: "String",
1577
+ coopname: "String",
1578
+ created_at: "String",
1579
+ decision_id: "Float",
1580
+ generator: "String",
1581
+ lang: "String",
1582
+ links: "String",
1583
+ registry_id: "Int",
1584
+ request_id: "Float",
1585
+ timezone: "String",
1586
+ title: "String",
1587
+ transmitter: "String",
1588
+ username: "String",
1589
+ version: "String"
1590
+ },
1591
+ ReturnByAssetDecisionDocument: {
1592
+ binary: "String",
1593
+ full_title: "String",
1594
+ hash: "String",
1595
+ html: "String",
1596
+ meta: "ReturnByAssetDecisionMetaDocumentOutput"
1597
+ },
1598
+ ReturnByAssetDecisionMetaDocumentOutput: {
1599
+ block_num: "Int",
1600
+ coopname: "String",
1601
+ created_at: "String",
1602
+ decision_id: "Float",
1603
+ generator: "String",
1604
+ lang: "String",
1605
+ links: "String",
1606
+ registry_id: "Int",
1607
+ request_id: "Float",
1608
+ timezone: "String",
1609
+ title: "String",
1610
+ username: "String",
1611
+ version: "String"
1612
+ },
1613
+ ReturnByAssetStatementDocument: {
1614
+ binary: "String",
1615
+ full_title: "String",
1616
+ hash: "String",
1617
+ html: "String",
1618
+ meta: "ReturnByAssetStatementMetaDocumentOutput"
1619
+ },
1620
+ ReturnByAssetStatementMetaDocumentOutput: {
1621
+ block_num: "Int",
1622
+ coopname: "String",
1623
+ created_at: "String",
1624
+ generator: "String",
1625
+ lang: "String",
1626
+ links: "String",
1627
+ registry_id: "Int",
1628
+ request: "CommonRequestResponse",
1629
+ timezone: "String",
1630
+ title: "String",
1631
+ username: "String",
1632
+ version: "String"
1633
+ },
1325
1634
  SbpAccount: {
1326
1635
  phone: "String"
1327
1636
  },
@@ -1377,6 +1686,17 @@ const ReturnTypes = {
1377
1686
  access: "Token",
1378
1687
  refresh: "Token"
1379
1688
  },
1689
+ Transaction: {
1690
+ chain: "JSONObject",
1691
+ request: "JSONObject",
1692
+ resolved: "JSONObject",
1693
+ response: "JSONObject",
1694
+ returns: "JSONObject",
1695
+ revisions: "JSONObject",
1696
+ signatures: "JSONObject",
1697
+ signer: "JSONObject",
1698
+ transaction: "JSONObject"
1699
+ },
1380
1700
  UserAccount: {
1381
1701
  meta: "String",
1382
1702
  referer: "String",
@@ -1959,6 +2279,7 @@ var OrganizationType = /* @__PURE__ */ ((OrganizationType2) => {
1959
2279
  OrganizationType2["OAO"] = "OAO";
1960
2280
  OrganizationType2["OOO"] = "OOO";
1961
2281
  OrganizationType2["PAO"] = "PAO";
2282
+ OrganizationType2["PRODCOOP"] = "PRODCOOP";
1962
2283
  OrganizationType2["ZAO"] = "ZAO";
1963
2284
  return OrganizationType2;
1964
2285
  })(OrganizationType || {});
@@ -1993,7 +2314,7 @@ var UserStatus = /* @__PURE__ */ ((UserStatus2) => {
1993
2314
  return UserStatus2;
1994
2315
  })(UserStatus || {});
1995
2316
 
1996
- const index$o = {
2317
+ const index$p = {
1997
2318
  __proto__: null,
1998
2319
  $: $,
1999
2320
  AccountType: AccountType,
@@ -2032,155 +2353,27 @@ const index$o = {
2032
2353
  traverseResponse: traverseResponse
2033
2354
  };
2034
2355
 
2035
- const rawExtensionSelector = {
2036
- name: true,
2037
- available: true,
2038
- enabled: true,
2039
- updated_at: true,
2040
- created_at: true,
2041
- config: true,
2042
- schema: true,
2043
- title: true,
2044
- description: true,
2045
- image: true,
2046
- tags: true,
2047
- readme: true,
2048
- instructions: true,
2049
- installed: true
2050
- };
2051
- const extensionSelector = Selector("Extension")(rawExtensionSelector);
2052
-
2053
- const name$M = "installExtension";
2054
- const mutation$C = Selector("Mutation")({
2055
- [name$M]: [{ data: $("data", "ExtensionInput!") }, extensionSelector]
2056
- });
2057
-
2058
- const installExtension = {
2059
- __proto__: null,
2060
- mutation: mutation$C,
2061
- name: name$M
2062
- };
2063
-
2064
- const name$L = "uninstallExtension";
2065
- const mutation$B = Selector("Mutation")({
2066
- [name$L]: [{ data: $("data", "UninstallExtensionInput!") }, true]
2067
- });
2068
-
2069
- const uninstallExtension = {
2070
- __proto__: null,
2071
- mutation: mutation$B,
2072
- name: name$L
2073
- };
2074
-
2075
- const name$K = "updateExtension";
2076
- const mutation$A = Selector("Mutation")({
2077
- [name$K]: [{ data: $("data", "ExtensionInput!") }, extensionSelector]
2078
- });
2079
-
2080
- const updateExtension = {
2081
- __proto__: null,
2082
- mutation: mutation$A,
2083
- name: name$K
2084
- };
2085
-
2086
- const index$n = {
2087
- __proto__: null,
2088
- InstallExtension: installExtension,
2089
- UninstallExtension: uninstallExtension,
2090
- UpdateExtension: updateExtension
2091
- };
2092
-
2093
- const rawBankAccountSelector = {
2094
- details: {
2095
- bik: true,
2096
- corr: true,
2097
- kpp: true
2356
+ const rawBlockchainAccountSelector = {
2357
+ account_name: true,
2358
+ core_liquid_balance: true,
2359
+ cpu_limit: {
2360
+ available: true,
2361
+ current_used: true,
2362
+ last_usage_update_time: true,
2363
+ max: true,
2364
+ used: true
2098
2365
  },
2099
- account_number: true,
2100
- bank_name: true,
2101
- card_number: true,
2102
- currency: true
2103
- };
2104
- Selector("BankAccount")(rawBankAccountSelector);
2105
-
2106
- const rawPaymentMethodSelector = {
2107
- data: {
2108
- __typename: true,
2109
- ["...on BankAccount"]: rawBankAccountSelector,
2110
- ["...on SbpAccount"]: {
2111
- phone: true
2112
- }
2113
- },
2114
- is_default: true,
2115
- created_at: true,
2116
- updated_at: true,
2117
- method_id: true,
2118
- method_type: true,
2119
- username: true
2120
- };
2121
- const paymentMethodSelector = Selector("PaymentMethod")(rawPaymentMethodSelector);
2122
-
2123
- const name$J = "createBankAccount";
2124
- const mutation$z = Selector("Mutation")({
2125
- [name$J]: [{ data: $("data", "CreateBankAccountInput!") }, paymentMethodSelector]
2126
- });
2127
-
2128
- const createBankAccount = {
2129
- __proto__: null,
2130
- mutation: mutation$z,
2131
- name: name$J
2132
- };
2133
-
2134
- const name$I = "deletePaymentMethod";
2135
- const mutation$y = Selector("Mutation")({
2136
- [name$I]: [{ data: $("data", "DeletePaymentMethodInput!") }, true]
2137
- });
2138
-
2139
- const deletePaymentMethod = {
2140
- __proto__: null,
2141
- mutation: mutation$y,
2142
- name: name$I
2143
- };
2144
-
2145
- const name$H = "updateBankAccount";
2146
- const mutation$x = Selector("Mutation")({
2147
- [name$H]: [{ data: $("data", "UpdateBankAccountInput!") }, paymentMethodSelector]
2148
- });
2149
-
2150
- const updateBankAccount = {
2151
- __proto__: null,
2152
- mutation: mutation$x,
2153
- name: name$H
2154
- };
2155
-
2156
- const index$m = {
2157
- __proto__: null,
2158
- CreateBankAccount: createBankAccount,
2159
- DeletePaymentMethod: deletePaymentMethod,
2160
- UpdateBankAccount: updateBankAccount
2161
- };
2162
-
2163
- const rawBlockchainAccountSelector = {
2164
- account_name: true,
2165
- core_liquid_balance: true,
2166
- cpu_limit: {
2167
- available: true,
2168
- current_used: true,
2169
- last_usage_update_time: true,
2170
- max: true,
2171
- used: true
2172
- },
2173
- cpu_weight: true,
2174
- created: true,
2175
- head_block_num: true,
2176
- head_block_time: true,
2177
- last_code_update: true,
2178
- net_limit: {
2179
- available: true,
2180
- current_used: true,
2181
- last_usage_update_time: true,
2182
- max: true,
2183
- used: true
2366
+ cpu_weight: true,
2367
+ created: true,
2368
+ head_block_num: true,
2369
+ head_block_time: true,
2370
+ last_code_update: true,
2371
+ net_limit: {
2372
+ available: true,
2373
+ current_used: true,
2374
+ last_usage_update_time: true,
2375
+ max: true,
2376
+ used: true
2184
2377
  },
2185
2378
  net_weight: true,
2186
2379
  permissions: {
@@ -2298,56 +2491,53 @@ const rawAccountSelector = {
2298
2491
  };
2299
2492
  const accountSelector = Selector("Account")(rawAccountSelector);
2300
2493
 
2301
- const rawDocumentMetaSelector = {
2302
- block_num: true,
2303
- coopname: true,
2304
- created_at: true,
2305
- generator: true,
2306
- lang: true,
2307
- links: true,
2308
- registry_id: true,
2309
- timezone: true,
2310
- title: true,
2311
- username: true,
2312
- version: true
2494
+ const rawTokenSelector = {
2495
+ expires: true,
2496
+ token: true
2313
2497
  };
2314
- const rawDocumentSelector = {
2315
- binary: true,
2316
- full_title: true,
2317
- hash: true,
2318
- html: true,
2319
- meta: rawDocumentMetaSelector
2320
- // Общая часть meta
2498
+ const rawTokensSelector = {
2499
+ access: rawTokenSelector,
2500
+ refresh: rawTokenSelector
2321
2501
  };
2322
- const documentSelector = Selector("GeneratedDocument")(rawDocumentSelector);
2502
+ const rawRegisteredAccountSelector = {
2503
+ account: rawAccountSelector,
2504
+ tokens: rawTokensSelector
2505
+ };
2506
+ const registeredAccountSelector = Selector("RegisteredAccount")(
2507
+ rawRegisteredAccountSelector
2508
+ );
2323
2509
 
2324
- const rawParticipantApplicationDecisionDocumentSelector = {
2325
- ...rawDocumentSelector,
2326
- meta: {
2327
- ...rawDocumentMetaSelector,
2328
- // Общая часть meta
2329
- decision_id: true
2330
- }
2510
+ const name$17 = "registerAccount";
2511
+ const mutation$Z = Selector("Mutation")({
2512
+ [name$17]: [{ data: $("data", "RegisterAccountInput!") }, registeredAccountSelector]
2513
+ });
2514
+
2515
+ const registerAccount = {
2516
+ __proto__: null,
2517
+ mutation: mutation$Z,
2518
+ name: name$17
2331
2519
  };
2332
- const participantApplicationDecisionDocumentSelector = Selector("ParticipantApplicationDecisionDocument")(rawParticipantApplicationDecisionDocumentSelector);
2333
2520
 
2334
- const rawParticipantApplicationDocumentSelector$1 = {
2335
- ...rawDocumentSelector,
2336
- meta: {
2337
- ...rawDocumentMetaSelector
2338
- // Общая часть meta
2339
- }
2521
+ const name$16 = "resetKey";
2522
+ const mutation$Y = Selector("Mutation")({
2523
+ [name$16]: [{ data: $("data", "ResetKeyInput!") }, true]
2524
+ });
2525
+
2526
+ const resetKey = {
2527
+ __proto__: null,
2528
+ mutation: mutation$Y,
2529
+ name: name$16
2340
2530
  };
2341
- const participantApplicationDocumentSelector = Selector("ParticipantApplicationDocument")(rawParticipantApplicationDocumentSelector$1);
2342
2531
 
2343
- const rawBankPaymentMethodSelector = {
2344
- data: rawBankAccountSelector,
2345
- is_default: true,
2346
- created_at: true,
2347
- updated_at: true,
2348
- method_id: true,
2349
- method_type: true,
2350
- username: true
2532
+ const name$15 = "startResetKey";
2533
+ const mutation$X = Selector("Mutation")({
2534
+ [name$15]: [{ data: $("data", "StartResetKeyInput!") }, true]
2535
+ });
2536
+
2537
+ const startResetKey = {
2538
+ __proto__: null,
2539
+ mutation: mutation$X,
2540
+ name: name$15
2351
2541
  };
2352
2542
 
2353
2543
  const rawIndividualSelector = {
@@ -2368,6 +2558,29 @@ const rawIndividualSelector = {
2368
2558
  username: true
2369
2559
  };
2370
2560
 
2561
+ const rawBankAccountSelector = {
2562
+ details: {
2563
+ bik: true,
2564
+ corr: true,
2565
+ kpp: true
2566
+ },
2567
+ account_number: true,
2568
+ bank_name: true,
2569
+ card_number: true,
2570
+ currency: true
2571
+ };
2572
+ Selector("BankAccount")(rawBankAccountSelector);
2573
+
2574
+ const rawBankPaymentMethodSelector = {
2575
+ data: rawBankAccountSelector,
2576
+ is_default: true,
2577
+ created_at: true,
2578
+ updated_at: true,
2579
+ method_id: true,
2580
+ method_type: true,
2581
+ username: true
2582
+ };
2583
+
2371
2584
  const rawBranchSelector = {
2372
2585
  coopname: true,
2373
2586
  braname: true,
@@ -2430,6 +2643,29 @@ const branchSelectorForUsers = Selector("Branch")(
2430
2643
  rawBranchSelectorForUsers
2431
2644
  );
2432
2645
 
2646
+ const rawDocumentMetaSelector = {
2647
+ block_num: true,
2648
+ coopname: true,
2649
+ created_at: true,
2650
+ generator: true,
2651
+ lang: true,
2652
+ links: true,
2653
+ registry_id: true,
2654
+ timezone: true,
2655
+ title: true,
2656
+ username: true,
2657
+ version: true
2658
+ };
2659
+ const rawDocumentSelector = {
2660
+ binary: true,
2661
+ full_title: true,
2662
+ hash: true,
2663
+ html: true,
2664
+ meta: rawDocumentMetaSelector
2665
+ // Общая часть meta
2666
+ };
2667
+ const documentSelector = Selector("GeneratedDocument")(rawDocumentSelector);
2668
+
2433
2669
  const rawSelectBranchDocumentSelector = {
2434
2670
  ...rawDocumentSelector,
2435
2671
  meta: {
@@ -2441,50 +2677,282 @@ const rawSelectBranchDocumentSelector = {
2441
2677
  };
2442
2678
  const generateSelectBranchDocumentSelector = Selector("SelectBranchDocument")(rawSelectBranchDocumentSelector);
2443
2679
 
2444
- const rawBlockchainInfoSelector = {
2445
- block_cpu_limit: true,
2446
- block_net_limit: true,
2680
+ const rawBlockchainActionSelector = {
2681
+ account: true,
2682
+ account_ram_deltas: {
2683
+ account: true,
2684
+ delta: true
2685
+ },
2686
+ action_ordinal: true,
2687
+ authorization: {
2688
+ actor: true,
2689
+ permission: true
2690
+ },
2691
+ block_id: true,
2692
+ block_num: true,
2447
2693
  chain_id: true,
2448
- fork_db_head_block_id: true,
2449
- fork_db_head_block_num: true,
2450
- head_block_id: true,
2451
- head_block_num: true,
2452
- head_block_producer: true,
2453
- head_block_time: true,
2454
- last_irreversible_block_id: true,
2455
- last_irreversible_block_num: true,
2456
- last_irreversible_block_time: true,
2457
- server_version: true,
2458
- server_version_string: true,
2459
- virtual_block_cpu_limit: true,
2460
- virtual_block_net_limit: true
2694
+ console: true,
2695
+ context_free: true,
2696
+ creator_action_ordinal: true,
2697
+ data: true,
2698
+ elapsed: true,
2699
+ global_sequence: true,
2700
+ name: true,
2701
+ receipt: {
2702
+ abi_sequence: true,
2703
+ act_digest: true,
2704
+ auth_sequence: {
2705
+ account: true,
2706
+ sequence: true
2707
+ },
2708
+ code_sequence: true,
2709
+ global_sequence: true,
2710
+ receiver: true,
2711
+ recv_sequence: true
2712
+ },
2713
+ receiver: true,
2714
+ transaction_id: true
2461
2715
  };
2462
- Selector("BlockchainInfoDTO")(
2463
- rawBlockchainInfoSelector
2716
+ Selector("BlockchainAction")(
2717
+ rawBlockchainActionSelector
2464
2718
  );
2465
2719
 
2466
- const rawCooperatorAccountSelector = {
2467
- announce: true,
2468
- coop_type: true,
2469
- created_at: true,
2470
- description: true,
2471
- document: {
2472
- hash: true,
2473
- public_key: true,
2474
- meta: true,
2475
- signature: true
2720
+ const rawEntrepreneurSelector = {
2721
+ birthdate: true,
2722
+ city: true,
2723
+ country: true,
2724
+ details: {
2725
+ inn: true,
2726
+ ogrn: true
2476
2727
  },
2477
- initial: true,
2478
- is_branched: true,
2479
- is_cooperative: true,
2480
- is_enrolled: true,
2481
- meta: true,
2482
- minimum: true,
2483
- org_initial: true,
2484
- org_minimum: true,
2485
- org_registration: true,
2486
- parent_username: true,
2487
- referer: true,
2728
+ email: true,
2729
+ first_name: true,
2730
+ full_address: true,
2731
+ last_name: true,
2732
+ middle_name: true,
2733
+ phone: true,
2734
+ username: true
2735
+ };
2736
+
2737
+ const rawOrganizationSelector = {
2738
+ city: true,
2739
+ country: true,
2740
+ details: {
2741
+ inn: true,
2742
+ kpp: true,
2743
+ ogrn: true
2744
+ },
2745
+ email: true,
2746
+ fact_address: true,
2747
+ full_address: true,
2748
+ full_name: true,
2749
+ phone: true,
2750
+ represented_by: {
2751
+ based_on: true,
2752
+ first_name: true,
2753
+ last_name: true,
2754
+ middle_name: true,
2755
+ position: true
2756
+ },
2757
+ short_name: true,
2758
+ type: true,
2759
+ username: true
2760
+ };
2761
+
2762
+ const rawTransactionSelector = {
2763
+ chain: true,
2764
+ request: true,
2765
+ resolved: true,
2766
+ response: true,
2767
+ returns: true,
2768
+ revisions: true,
2769
+ signatures: true,
2770
+ signer: true,
2771
+ transaction: true
2772
+ };
2773
+ Selector("Transaction")(rawTransactionSelector);
2774
+
2775
+ const rawAssetContributionActDocumentSelector = {
2776
+ ...rawDocumentSelector,
2777
+ meta: {
2778
+ ...rawDocumentMetaSelector,
2779
+ // Общая часть meta
2780
+ request_id: true,
2781
+ act_id: true,
2782
+ braname: true,
2783
+ decision_id: true,
2784
+ receiver: true
2785
+ }
2786
+ };
2787
+ const assetContributionActDocumentSelector = Selector("AssetContributionActDocument")(rawAssetContributionActDocumentSelector);
2788
+
2789
+ const rawAssetContributionDecisionDocumentSelector = {
2790
+ ...rawDocumentSelector,
2791
+ meta: {
2792
+ ...rawDocumentMetaSelector,
2793
+ // Общая часть meta
2794
+ decision_id: true,
2795
+ request_id: true
2796
+ }
2797
+ };
2798
+ const assetContributionDecisionDocumentSelector = Selector("AssetContributionDecisionDocument")(rawAssetContributionDecisionDocumentSelector);
2799
+
2800
+ const rawCommonRequestSelector = {
2801
+ hash: true,
2802
+ title: true,
2803
+ unit_of_measurement: true,
2804
+ units: true,
2805
+ unit_cost: true,
2806
+ total_cost: true,
2807
+ currency: true,
2808
+ type: true,
2809
+ program_id: true
2810
+ };
2811
+ Selector("CommonRequestResponse")(rawCommonRequestSelector);
2812
+
2813
+ const rawAssetContributionStatementDocumentSelector = {
2814
+ ...rawDocumentSelector,
2815
+ meta: {
2816
+ ...rawDocumentMetaSelector,
2817
+ // Общая часть meta
2818
+ request: rawCommonRequestSelector
2819
+ }
2820
+ };
2821
+ const assetContributionStatementDocumentSelector = Selector("AssetContributionStatementDocument")(rawAssetContributionStatementDocumentSelector);
2822
+
2823
+ const rawReturnByAssetActDocumentSelector = {
2824
+ ...rawDocumentSelector,
2825
+ meta: {
2826
+ ...rawDocumentMetaSelector,
2827
+ // Общая часть meta
2828
+ request_id: true,
2829
+ act_id: true,
2830
+ braname: true,
2831
+ decision_id: true,
2832
+ transmitter: true
2833
+ }
2834
+ };
2835
+ const returnByAssetActDocumentSelector = Selector("ReturnByAssetActDocument")(rawReturnByAssetActDocumentSelector);
2836
+
2837
+ const rawReturnByAssetDecisionDocumentSelector = {
2838
+ ...rawDocumentSelector,
2839
+ meta: {
2840
+ ...rawDocumentMetaSelector,
2841
+ // Общая часть meta
2842
+ decision_id: true,
2843
+ request_id: true
2844
+ }
2845
+ };
2846
+ const returnByAssetDecisionDocumentSelector = Selector("ReturnByAssetDecisionDocument")(rawReturnByAssetDecisionDocumentSelector);
2847
+
2848
+ const rawReturnByAssetStatementDocumentSelector = {
2849
+ ...rawDocumentSelector,
2850
+ meta: {
2851
+ ...rawDocumentMetaSelector,
2852
+ // Общая часть meta
2853
+ request: rawCommonRequestSelector
2854
+ }
2855
+ };
2856
+ const returnByAssetStatementDocumentSelector = Selector("ReturnByAssetStatementDocument")(rawReturnByAssetStatementDocumentSelector);
2857
+
2858
+ const rawExtensionSelector = {
2859
+ name: true,
2860
+ available: true,
2861
+ enabled: true,
2862
+ updated_at: true,
2863
+ created_at: true,
2864
+ config: true,
2865
+ schema: true,
2866
+ title: true,
2867
+ description: true,
2868
+ image: true,
2869
+ tags: true,
2870
+ readme: true,
2871
+ instructions: true,
2872
+ installed: true
2873
+ };
2874
+ const extensionSelector = Selector("Extension")(rawExtensionSelector);
2875
+
2876
+ const rawParticipantApplicationDecisionDocumentSelector = {
2877
+ ...rawDocumentSelector,
2878
+ meta: {
2879
+ ...rawDocumentMetaSelector,
2880
+ // Общая часть meta
2881
+ decision_id: true
2882
+ }
2883
+ };
2884
+ const participantApplicationDecisionDocumentSelector = Selector("ParticipantApplicationDecisionDocument")(rawParticipantApplicationDecisionDocumentSelector);
2885
+
2886
+ const rawParticipantApplicationDocumentSelector$1 = {
2887
+ ...rawDocumentSelector,
2888
+ meta: {
2889
+ ...rawDocumentMetaSelector
2890
+ // Общая часть meta
2891
+ }
2892
+ };
2893
+ const participantApplicationDocumentSelector = Selector("ParticipantApplicationDocument")(rawParticipantApplicationDocumentSelector$1);
2894
+
2895
+ const rawPaymentMethodSelector = {
2896
+ data: {
2897
+ __typename: true,
2898
+ ["...on BankAccount"]: rawBankAccountSelector,
2899
+ ["...on SbpAccount"]: {
2900
+ phone: true
2901
+ }
2902
+ },
2903
+ is_default: true,
2904
+ created_at: true,
2905
+ updated_at: true,
2906
+ method_id: true,
2907
+ method_type: true,
2908
+ username: true
2909
+ };
2910
+ const paymentMethodSelector = Selector("PaymentMethod")(rawPaymentMethodSelector);
2911
+
2912
+ const rawBlockchainInfoSelector = {
2913
+ block_cpu_limit: true,
2914
+ block_net_limit: true,
2915
+ chain_id: true,
2916
+ fork_db_head_block_id: true,
2917
+ fork_db_head_block_num: true,
2918
+ head_block_id: true,
2919
+ head_block_num: true,
2920
+ head_block_producer: true,
2921
+ head_block_time: true,
2922
+ last_irreversible_block_id: true,
2923
+ last_irreversible_block_num: true,
2924
+ last_irreversible_block_time: true,
2925
+ server_version: true,
2926
+ server_version_string: true,
2927
+ virtual_block_cpu_limit: true,
2928
+ virtual_block_net_limit: true
2929
+ };
2930
+ Selector("BlockchainInfoDTO")(
2931
+ rawBlockchainInfoSelector
2932
+ );
2933
+
2934
+ const rawCooperatorAccountSelector = {
2935
+ announce: true,
2936
+ coop_type: true,
2937
+ created_at: true,
2938
+ description: true,
2939
+ document: {
2940
+ hash: true,
2941
+ public_key: true,
2942
+ meta: true,
2943
+ signature: true
2944
+ },
2945
+ initial: true,
2946
+ is_branched: true,
2947
+ is_cooperative: true,
2948
+ is_enrolled: true,
2949
+ meta: true,
2950
+ minimum: true,
2951
+ org_initial: true,
2952
+ org_minimum: true,
2953
+ org_registration: true,
2954
+ parent_username: true,
2955
+ referer: true,
2488
2956
  registered_at: true,
2489
2957
  registration: true,
2490
2958
  registrator: true,
@@ -2569,312 +3037,513 @@ const rawSystemInfoSelector = {
2569
3037
  };
2570
3038
  const systemInfoSelector = Selector("SystemInfo")(rawSystemInfoSelector);
2571
3039
 
2572
- const rawBlockchainActionSelector = {
2573
- account: true,
2574
- account_ram_deltas: {
2575
- account: true,
2576
- delta: true
2577
- },
2578
- action_ordinal: true,
2579
- authorization: {
2580
- actor: true,
2581
- permission: true
2582
- },
2583
- block_id: true,
2584
- block_num: true,
2585
- chain_id: true,
2586
- console: true,
2587
- context_free: true,
2588
- creator_action_ordinal: true,
2589
- data: true,
2590
- elapsed: true,
2591
- global_sequence: true,
2592
- name: true,
2593
- receipt: {
2594
- abi_sequence: true,
2595
- act_digest: true,
2596
- auth_sequence: {
2597
- account: true,
2598
- sequence: true
2599
- },
2600
- code_sequence: true,
2601
- global_sequence: true,
2602
- receiver: true,
2603
- recv_sequence: true
2604
- },
2605
- receiver: true,
2606
- transaction_id: true
3040
+ const name$14 = "updateAccount";
3041
+ const mutation$W = Selector("Mutation")({
3042
+ [name$14]: [{ data: $("data", "UpdateAccountInput!") }, accountSelector]
3043
+ });
3044
+
3045
+ const updateAccount = {
3046
+ __proto__: null,
3047
+ mutation: mutation$W,
3048
+ name: name$14
3049
+ };
3050
+
3051
+ const index$o = {
3052
+ __proto__: null,
3053
+ RegisterAccount: registerAccount,
3054
+ ResetKey: resetKey,
3055
+ StartResetKey: startResetKey,
3056
+ UpdateAccount: updateAccount
3057
+ };
3058
+
3059
+ const name$13 = "generatePrivacyAgreement";
3060
+ const mutation$V = Selector("Mutation")({
3061
+ [name$13]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3062
+ });
3063
+
3064
+ const generatePrivacyAgreement = {
3065
+ __proto__: null,
3066
+ mutation: mutation$V,
3067
+ name: name$13
3068
+ };
3069
+
3070
+ const name$12 = "generateSignatureAgreement";
3071
+ const mutation$U = Selector("Mutation")({
3072
+ [name$12]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3073
+ });
3074
+
3075
+ const generateSignatureAgreement = {
3076
+ __proto__: null,
3077
+ mutation: mutation$U,
3078
+ name: name$12
3079
+ };
3080
+
3081
+ const name$11 = "generateWalletAgreement";
3082
+ const mutation$T = Selector("Mutation")({
3083
+ [name$11]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3084
+ });
3085
+
3086
+ const generateWalletAgreement = {
3087
+ __proto__: null,
3088
+ mutation: mutation$T,
3089
+ name: name$11
3090
+ };
3091
+
3092
+ const name$10 = "generateUserAgreement";
3093
+ const mutation$S = Selector("Mutation")({
3094
+ [name$10]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3095
+ });
3096
+
3097
+ const generateUserAgreement = {
3098
+ __proto__: null,
3099
+ mutation: mutation$S,
3100
+ name: name$10
3101
+ };
3102
+
3103
+ const index$n = {
3104
+ __proto__: null,
3105
+ GeneratePrivacyAgreement: generatePrivacyAgreement,
3106
+ GenerateSignatureAgreement: generateSignatureAgreement,
3107
+ GenerateUserAgreement: generateUserAgreement,
3108
+ GenerateWalletAgreement: generateWalletAgreement
3109
+ };
3110
+
3111
+ const name$$ = "refresh";
3112
+ const mutation$R = Selector("Mutation")({
3113
+ [name$$]: [{ data: $("data", "RefreshInput!") }, registeredAccountSelector]
3114
+ });
3115
+
3116
+ const refresh = {
3117
+ __proto__: null,
3118
+ mutation: mutation$R,
3119
+ name: name$$
3120
+ };
3121
+
3122
+ const name$_ = "logout";
3123
+ const mutation$Q = Selector("Mutation")({
3124
+ [name$_]: [{ data: $("data", "LogoutInput!") }, true]
3125
+ });
3126
+
3127
+ const logout = {
3128
+ __proto__: null,
3129
+ mutation: mutation$Q,
3130
+ name: name$_
3131
+ };
3132
+
3133
+ const name$Z = "login";
3134
+ const mutation$P = Selector("Mutation")({
3135
+ [name$Z]: [{ data: $("data", "LoginInput!") }, registeredAccountSelector]
3136
+ });
3137
+
3138
+ const login = {
3139
+ __proto__: null,
3140
+ mutation: mutation$P,
3141
+ name: name$Z
3142
+ };
3143
+
3144
+ const index$m = {
3145
+ __proto__: null,
3146
+ Login: login,
3147
+ Logout: logout,
3148
+ Refresh: refresh
3149
+ };
3150
+
3151
+ const name$Y = "addTrustedAccount";
3152
+ const mutation$O = Selector("Mutation")({
3153
+ [name$Y]: [{ data: $("data", "AddTrustedAccountInput!") }, branchSelector]
3154
+ });
3155
+
3156
+ const addTrustedAccount = {
3157
+ __proto__: null,
3158
+ mutation: mutation$O,
3159
+ name: name$Y
3160
+ };
3161
+
3162
+ const name$X = "createBranch";
3163
+ const mutation$N = Selector("Mutation")({
3164
+ [name$X]: [{ data: $("data", "CreateBranchInput!") }, branchSelector]
3165
+ });
3166
+
3167
+ const createBranch = {
3168
+ __proto__: null,
3169
+ mutation: mutation$N,
3170
+ name: name$X
3171
+ };
3172
+
3173
+ const name$W = "deleteBranch";
3174
+ const mutation$M = Selector("Mutation")({
3175
+ [name$W]: [{ data: $("data", "DeleteBranchInput!") }, true]
3176
+ });
3177
+
3178
+ const deleteBranch = {
3179
+ __proto__: null,
3180
+ mutation: mutation$M,
3181
+ name: name$W
3182
+ };
3183
+
3184
+ const name$V = "deleteTrustedAccount";
3185
+ const mutation$L = Selector("Mutation")({
3186
+ [name$V]: [{ data: $("data", "DeleteTrustedAccountInput!") }, branchSelector]
3187
+ });
3188
+
3189
+ const deleteTrustedAccount = {
3190
+ __proto__: null,
3191
+ mutation: mutation$L,
3192
+ name: name$V
3193
+ };
3194
+
3195
+ const name$U = "editBranch";
3196
+ const mutation$K = Selector("Mutation")({
3197
+ [name$U]: [{ data: $("data", "EditBranchInput!") }, branchSelector]
3198
+ });
3199
+
3200
+ const editBranch = {
3201
+ __proto__: null,
3202
+ mutation: mutation$K,
3203
+ name: name$U
3204
+ };
3205
+
3206
+ const name$T = "generateSelectBranchDocument";
3207
+ const mutation$J = Selector("Mutation")({
3208
+ [name$T]: [{ data: $("data", "SelectBranchGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, generateSelectBranchDocumentSelector]
3209
+ });
3210
+
3211
+ const generateSelectBranchDocument = {
3212
+ __proto__: null,
3213
+ mutation: mutation$J,
3214
+ name: name$T
3215
+ };
3216
+
3217
+ const name$S = "selectBranch";
3218
+ const mutation$I = Selector("Mutation")({
3219
+ [name$S]: [{ data: $("data", "SelectBranchInput!") }, true]
3220
+ });
3221
+
3222
+ const selectBranch = {
3223
+ __proto__: null,
3224
+ mutation: mutation$I,
3225
+ name: name$S
3226
+ };
3227
+
3228
+ const index$l = {
3229
+ __proto__: null,
3230
+ AddTrustedAccount: addTrustedAccount,
3231
+ CreateBranch: createBranch,
3232
+ DeleteBranch: deleteBranch,
3233
+ DeleteTrustedAccount: deleteTrustedAccount,
3234
+ EditBranch: editBranch,
3235
+ GenerateSelectBranchDocument: generateSelectBranchDocument,
3236
+ SelectBranch: selectBranch
3237
+ };
3238
+
3239
+ const name$R = "acceptChildOrder";
3240
+ const mutation$H = Selector("Mutation")({
3241
+ [name$R]: [{ data: $("data", "AcceptChildOrderInput!") }, rawTransactionSelector]
3242
+ });
3243
+
3244
+ const acceptChildOrder = {
3245
+ __proto__: null,
3246
+ mutation: mutation$H,
3247
+ name: name$R
3248
+ };
3249
+
3250
+ const name$Q = "cancelRequest";
3251
+ const mutation$G = Selector("Mutation")({
3252
+ [name$Q]: [{ data: $("data", "CancelRequestInput!") }, rawTransactionSelector]
3253
+ });
3254
+
3255
+ const cancelRequest = {
3256
+ __proto__: null,
3257
+ mutation: mutation$G,
3258
+ name: name$Q
3259
+ };
3260
+
3261
+ const name$P = "confirmReceiveOnRequest";
3262
+ const mutation$F = Selector("Mutation")({
3263
+ [name$P]: [{ data: $("data", "ConfirmReceiveOnRequestInput!") }, rawTransactionSelector]
3264
+ });
3265
+
3266
+ const completeReceiveOnRequest = {
3267
+ __proto__: null,
3268
+ mutation: mutation$F,
3269
+ name: name$P
3270
+ };
3271
+
3272
+ const name$O = "completeRequest";
3273
+ const mutation$E = Selector("Mutation")({
3274
+ [name$O]: [{ data: $("data", "CompleteRequestInput!") }, rawTransactionSelector]
3275
+ });
3276
+
3277
+ const completeRequest = {
3278
+ __proto__: null,
3279
+ mutation: mutation$E,
3280
+ name: name$O
3281
+ };
3282
+
3283
+ const name$N = "confirmSupplyOnRequest";
3284
+ const mutation$D = Selector("Mutation")({
3285
+ [name$N]: [{ data: $("data", "ConfirmSupplyOnRequestInput!") }, rawTransactionSelector]
3286
+ });
3287
+
3288
+ const confirmSupplyOnRequest = {
3289
+ __proto__: null,
3290
+ mutation: mutation$D,
3291
+ name: name$N
3292
+ };
3293
+
3294
+ const name$M = "createChildOrder";
3295
+ const mutation$C = Selector("Mutation")({
3296
+ [name$M]: [{ data: $("data", "CreateChildOrderInput!") }, rawTransactionSelector]
3297
+ });
3298
+
3299
+ const createChildOrder = {
3300
+ __proto__: null,
3301
+ mutation: mutation$C,
3302
+ name: name$M
3303
+ };
3304
+
3305
+ const name$L = "createParentOffer";
3306
+ const mutation$B = Selector("Mutation")({
3307
+ [name$L]: [{ data: $("data", "CreateParentOfferInput!") }, rawTransactionSelector]
3308
+ });
3309
+
3310
+ const createParentOffer = {
3311
+ __proto__: null,
3312
+ mutation: mutation$B,
3313
+ name: name$L
3314
+ };
3315
+
3316
+ const name$K = "declineRequest";
3317
+ const mutation$A = Selector("Mutation")({
3318
+ [name$K]: [{ data: $("data", "DeclineRequestInput!") }, rawTransactionSelector]
3319
+ });
3320
+
3321
+ const declineRequest = {
3322
+ __proto__: null,
3323
+ mutation: mutation$A,
3324
+ name: name$K
3325
+ };
3326
+
3327
+ const name$J = "deliverOnRequest";
3328
+ const mutation$z = Selector("Mutation")({
3329
+ [name$J]: [{ data: $("data", "DeliverOnRequestInput!") }, rawTransactionSelector]
3330
+ });
3331
+
3332
+ const deliverOnRequest = {
3333
+ __proto__: null,
3334
+ mutation: mutation$z,
3335
+ name: name$J
2607
3336
  };
2608
- Selector("BlockchainAction")(
2609
- rawBlockchainActionSelector
2610
- );
2611
3337
 
2612
- const rawOrganizationSelector = {
2613
- city: true,
2614
- country: true,
2615
- details: {
2616
- inn: true,
2617
- kpp: true,
2618
- ogrn: true
2619
- },
2620
- email: true,
2621
- fact_address: true,
2622
- full_address: true,
2623
- full_name: true,
2624
- phone: true,
2625
- represented_by: {
2626
- based_on: true,
2627
- first_name: true,
2628
- last_name: true,
2629
- middle_name: true,
2630
- position: true
2631
- },
2632
- short_name: true,
2633
- type: true,
2634
- username: true
3338
+ const name$I = "disputeOnRequest";
3339
+ const mutation$y = Selector("Mutation")({
3340
+ [name$I]: [{ data: $("data", "DisputeOnRequestInput!") }, rawTransactionSelector]
3341
+ });
3342
+
3343
+ const disputeOnRequest = {
3344
+ __proto__: null,
3345
+ mutation: mutation$y,
3346
+ name: name$I
2635
3347
  };
2636
3348
 
2637
- const rawEntrepreneurSelector = {
2638
- birthdate: true,
2639
- city: true,
2640
- country: true,
2641
- details: {
2642
- inn: true,
2643
- ogrn: true
2644
- },
2645
- email: true,
2646
- first_name: true,
2647
- full_address: true,
2648
- last_name: true,
2649
- middle_name: true,
2650
- phone: true,
2651
- username: true
3349
+ const name$H = "generateAssetContributionAct";
3350
+ const mutation$x = Selector("Mutation")({
3351
+ [name$H]: [{ data: $("data", "AssetContributionActGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, assetContributionActDocumentSelector]
3352
+ });
3353
+
3354
+ const generateAssetContributionAct = {
3355
+ __proto__: null,
3356
+ mutation: mutation$x,
3357
+ name: name$H
2652
3358
  };
2653
3359
 
2654
- const name$G = "addTrustedAccount";
3360
+ const name$G = "generateAssetContributionDecision";
2655
3361
  const mutation$w = Selector("Mutation")({
2656
- [name$G]: [{ data: $("data", "AddTrustedAccountInput!") }, branchSelector]
3362
+ [name$G]: [{ data: $("data", "AssetContributionDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, assetContributionDecisionDocumentSelector]
2657
3363
  });
2658
3364
 
2659
- const addTrustedAccount = {
3365
+ const generateAssetContributionDecision = {
2660
3366
  __proto__: null,
2661
3367
  mutation: mutation$w,
2662
3368
  name: name$G
2663
3369
  };
2664
3370
 
2665
- const name$F = "createBranch";
3371
+ const name$F = "generateAssetContributionStatement";
2666
3372
  const mutation$v = Selector("Mutation")({
2667
- [name$F]: [{ data: $("data", "CreateBranchInput!") }, branchSelector]
3373
+ [name$F]: [{ data: $("data", "AssetContributionStatementGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, assetContributionStatementDocumentSelector]
2668
3374
  });
2669
3375
 
2670
- const createBranch = {
3376
+ const generateAssetContributionStatement = {
2671
3377
  __proto__: null,
2672
3378
  mutation: mutation$v,
2673
3379
  name: name$F
2674
3380
  };
2675
3381
 
2676
- const name$E = "deleteBranch";
3382
+ const name$E = "generateReturnByAssetAct";
2677
3383
  const mutation$u = Selector("Mutation")({
2678
- [name$E]: [{ data: $("data", "DeleteBranchInput!") }, true]
3384
+ [name$E]: [{ data: $("data", "ReturnByAssetActGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, returnByAssetActDocumentSelector]
2679
3385
  });
2680
3386
 
2681
- const deleteBranch = {
3387
+ const generateReturnByAssetAct = {
2682
3388
  __proto__: null,
2683
3389
  mutation: mutation$u,
2684
3390
  name: name$E
2685
3391
  };
2686
3392
 
2687
- const name$D = "deleteTrustedAccount";
3393
+ const name$D = "generateReturnByAssetDecision";
2688
3394
  const mutation$t = Selector("Mutation")({
2689
- [name$D]: [{ data: $("data", "DeleteTrustedAccountInput!") }, branchSelector]
3395
+ [name$D]: [{ data: $("data", "ReturnByAssetDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, returnByAssetDecisionDocumentSelector]
2690
3396
  });
2691
3397
 
2692
- const deleteTrustedAccount = {
3398
+ const generateReturnByAssetDecision = {
2693
3399
  __proto__: null,
2694
3400
  mutation: mutation$t,
2695
3401
  name: name$D
2696
3402
  };
2697
3403
 
2698
- const name$C = "editBranch";
3404
+ const name$C = "generateReturnByAssetStatement";
2699
3405
  const mutation$s = Selector("Mutation")({
2700
- [name$C]: [{ data: $("data", "EditBranchInput!") }, branchSelector]
3406
+ [name$C]: [{ data: $("data", "ReturnByAssetStatementGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, returnByAssetStatementDocumentSelector]
2701
3407
  });
2702
3408
 
2703
- const editBranch = {
3409
+ const generateReturnByAssetStatement = {
2704
3410
  __proto__: null,
2705
3411
  mutation: mutation$s,
2706
3412
  name: name$C
2707
3413
  };
2708
3414
 
2709
- const name$B = "selectBranch";
3415
+ const name$B = "moderateRequest";
2710
3416
  const mutation$r = Selector("Mutation")({
2711
- [name$B]: [{ data: $("data", "SelectBranchInput!") }, true]
3417
+ [name$B]: [{ data: $("data", "ModerateRequestInput!") }, rawTransactionSelector]
2712
3418
  });
2713
3419
 
2714
- const selectBranch = {
3420
+ const moderateRequest = {
2715
3421
  __proto__: null,
2716
3422
  mutation: mutation$r,
2717
3423
  name: name$B
2718
3424
  };
2719
3425
 
2720
- const name$A = "generateSelectBranchDocument";
3426
+ const name$A = "prohibitRequest";
2721
3427
  const mutation$q = Selector("Mutation")({
2722
- [name$A]: [{ data: $("data", "SelectBranchGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, generateSelectBranchDocumentSelector]
3428
+ [name$A]: [{ data: $("data", "ProhibitRequestInput!") }, rawTransactionSelector]
2723
3429
  });
2724
3430
 
2725
- const generateSelectBranchDocument = {
3431
+ const prohibitRequest = {
2726
3432
  __proto__: null,
2727
3433
  mutation: mutation$q,
2728
3434
  name: name$A
2729
3435
  };
2730
3436
 
2731
- const index$l = {
2732
- __proto__: null,
2733
- AddTrustedAccount: addTrustedAccount,
2734
- CreateBranch: createBranch,
2735
- DeleteBranch: deleteBranch,
2736
- DeleteTrustedAccount: deleteTrustedAccount,
2737
- EditBranch: editBranch,
2738
- GenerateSelectBranchDocument: generateSelectBranchDocument,
2739
- SelectBranch: selectBranch
2740
- };
2741
-
2742
- const rawProjectFreeDecisionDocumentSelector = {
2743
- ...rawDocumentSelector,
2744
- meta: {
2745
- ...rawDocumentMetaSelector,
2746
- // Общая часть meta
2747
- project_id: true
2748
- }
2749
- };
2750
- const projectFreeDecisionDocumentSelector = Selector("ProjectFreeDecisionDocument")(rawProjectFreeDecisionDocumentSelector);
2751
-
2752
- const name$z = "generateProjectOfFreeDecision";
3437
+ const name$z = "publishRequest";
2753
3438
  const mutation$p = Selector("Mutation")({
2754
- [name$z]: [{ data: $("data", "ProjectFreeDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, projectFreeDecisionDocumentSelector]
3439
+ [name$z]: [{ data: $("data", "PublishRequestInput!") }, rawTransactionSelector]
2755
3440
  });
2756
3441
 
2757
- const generateProjectOfFreeDecisionDocument = {
3442
+ const publishRequest = {
2758
3443
  __proto__: null,
2759
3444
  mutation: mutation$p,
2760
3445
  name: name$z
2761
3446
  };
2762
3447
 
2763
- const rawFreeDecisionDocumentSelector = {
2764
- ...rawDocumentSelector,
2765
- meta: {
2766
- ...rawDocumentMetaSelector,
2767
- // Общая часть meta
2768
- project_id: true,
2769
- // Уникальное дополнение
2770
- decision_id: true
2771
- }
2772
- };
2773
- const freeDecisionDocumentSelector = Selector("FreeDecisionDocument")(rawFreeDecisionDocumentSelector);
2774
-
2775
- const rawFreeProjectSelector = {
2776
- decision: true,
2777
- id: true,
2778
- question: true
2779
- };
2780
- const createdProjectFreeDecisionSelector = Selector("CreatedProjectFreeDecision")(rawFreeProjectSelector);
2781
-
2782
- const name$y = "generateFreeDecision";
3448
+ const name$y = "receiveOnRequest";
2783
3449
  const mutation$o = Selector("Mutation")({
2784
- [name$y]: [{ data: $("data", "FreeDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, freeDecisionDocumentSelector]
3450
+ [name$y]: [{ data: $("data", "ReceiveOnRequestInput!") }, rawTransactionSelector]
2785
3451
  });
2786
3452
 
2787
- const generateFreeDecision = {
3453
+ const receiveOnRequest = {
2788
3454
  __proto__: null,
2789
3455
  mutation: mutation$o,
2790
3456
  name: name$y
2791
3457
  };
2792
3458
 
2793
- const name$x = "publishProjectOfFreeDecision";
3459
+ const name$x = "supplyOnRequest";
2794
3460
  const mutation$n = Selector("Mutation")({
2795
- [name$x]: [{ data: $("data", "PublishProjectFreeDecisionInput!") }, true]
3461
+ [name$x]: [{ data: $("data", "SupplyOnRequestInput!") }, rawTransactionSelector]
2796
3462
  });
2797
3463
 
2798
- const publishProjectOfFreeDecision = {
3464
+ const supplyOnRequest = {
2799
3465
  __proto__: null,
2800
3466
  mutation: mutation$n,
2801
3467
  name: name$x
2802
3468
  };
2803
3469
 
2804
- const name$w = "createProjectOfFreeDecision";
3470
+ const name$w = "unpublishRequest";
2805
3471
  const mutation$m = Selector("Mutation")({
2806
- [name$w]: [{ data: $("data", "CreateProjectFreeDecisionInput!") }, createdProjectFreeDecisionSelector]
3472
+ [name$w]: [{ data: $("data", "UnpublishRequestInput!") }, rawTransactionSelector]
2807
3473
  });
2808
3474
 
2809
- const createProjectOfFreeDecision = {
3475
+ const unpublishRequest = {
2810
3476
  __proto__: null,
2811
3477
  mutation: mutation$m,
2812
3478
  name: name$w
2813
3479
  };
2814
3480
 
2815
- const index$k = {
2816
- __proto__: null,
2817
- CreateProjectOfFreeDecision: createProjectOfFreeDecision,
2818
- GenerateFreeDecision: generateFreeDecision,
2819
- GenerateProjectOfFreeDecision: generateProjectOfFreeDecisionDocument,
2820
- PublishProjectOfFreeDecision: publishProjectOfFreeDecision
2821
- };
2822
-
2823
- const rawTokenSelector = {
2824
- expires: true,
2825
- token: true
2826
- };
2827
- const rawTokensSelector = {
2828
- access: rawTokenSelector,
2829
- refresh: rawTokenSelector
2830
- };
2831
- const rawRegisteredAccountSelector = {
2832
- account: rawAccountSelector,
2833
- tokens: rawTokensSelector
2834
- };
2835
- const registeredAccountSelector = Selector("RegisteredAccount")(
2836
- rawRegisteredAccountSelector
2837
- );
2838
-
2839
- const name$v = "registerAccount";
3481
+ const name$v = "updateRequest";
2840
3482
  const mutation$l = Selector("Mutation")({
2841
- [name$v]: [{ data: $("data", "RegisterAccountInput!") }, registeredAccountSelector]
3483
+ [name$v]: [{ data: $("data", "UpdateRequestInput!") }, rawTransactionSelector]
2842
3484
  });
2843
3485
 
2844
- const registerAccount = {
3486
+ const updateRequest = {
2845
3487
  __proto__: null,
2846
3488
  mutation: mutation$l,
2847
3489
  name: name$v
2848
3490
  };
2849
3491
 
2850
- const name$u = "resetKey";
3492
+ const index$k = {
3493
+ __proto__: null,
3494
+ AcceptChildOrder: acceptChildOrder,
3495
+ CancelRequest: cancelRequest,
3496
+ CompleteReceiveOnRequest: completeReceiveOnRequest,
3497
+ CompleteRequest: completeRequest,
3498
+ ConfirmSupplyOnRequest: confirmSupplyOnRequest,
3499
+ CreateChildOrder: createChildOrder,
3500
+ CreateParentOffer: createParentOffer,
3501
+ DeclineRequest: declineRequest,
3502
+ DeliverOnRequest: deliverOnRequest,
3503
+ DisputeOnRequest: disputeOnRequest,
3504
+ GenerateAssetContributionAct: generateAssetContributionAct,
3505
+ GenerateAssetContributionDecision: generateAssetContributionDecision,
3506
+ GenerateAssetContributionStatement: generateAssetContributionStatement,
3507
+ GenerateReturnByAssetAct: generateReturnByAssetAct,
3508
+ GenerateReturnByAssetDecision: generateReturnByAssetDecision,
3509
+ GenerateReturnByAssetStatement: generateReturnByAssetStatement,
3510
+ ModerateRequest: moderateRequest,
3511
+ ProhibitRequest: prohibitRequest,
3512
+ PublishRequest: publishRequest,
3513
+ ReceiveOnRequest: receiveOnRequest,
3514
+ SupplyOnRequest: supplyOnRequest,
3515
+ UnpublishRequest: unpublishRequest,
3516
+ UpdateRequest: updateRequest
3517
+ };
3518
+
3519
+ const name$u = "installExtension";
2851
3520
  const mutation$k = Selector("Mutation")({
2852
- [name$u]: [{ data: $("data", "ResetKeyInput!") }, true]
3521
+ [name$u]: [{ data: $("data", "ExtensionInput!") }, extensionSelector]
2853
3522
  });
2854
3523
 
2855
- const resetKey = {
3524
+ const installExtension = {
2856
3525
  __proto__: null,
2857
3526
  mutation: mutation$k,
2858
3527
  name: name$u
2859
3528
  };
2860
3529
 
2861
- const name$t = "startResetKey";
3530
+ const name$t = "uninstallExtension";
2862
3531
  const mutation$j = Selector("Mutation")({
2863
- [name$t]: [{ data: $("data", "StartResetKeyInput!") }, true]
3532
+ [name$t]: [{ data: $("data", "UninstallExtensionInput!") }, true]
2864
3533
  });
2865
3534
 
2866
- const startResetKey = {
3535
+ const uninstallExtension = {
2867
3536
  __proto__: null,
2868
3537
  mutation: mutation$j,
2869
3538
  name: name$t
2870
3539
  };
2871
3540
 
2872
- const name$s = "updateAccount";
3541
+ const name$s = "updateExtension";
2873
3542
  const mutation$i = Selector("Mutation")({
2874
- [name$s]: [{ data: $("data", "UpdateAccountInput!") }, accountSelector]
3543
+ [name$s]: [{ data: $("data", "ExtensionInput!") }, extensionSelector]
2875
3544
  });
2876
3545
 
2877
- const updateAccount = {
3546
+ const updateExtension = {
2878
3547
  __proto__: null,
2879
3548
  mutation: mutation$i,
2880
3549
  name: name$s
@@ -2882,143 +3551,172 @@ const updateAccount = {
2882
3551
 
2883
3552
  const index$j = {
2884
3553
  __proto__: null,
2885
- RegisterAccount: registerAccount,
2886
- ResetKey: resetKey,
2887
- StartResetKey: startResetKey,
2888
- UpdateAccount: updateAccount
3554
+ InstallExtension: installExtension,
3555
+ UninstallExtension: uninstallExtension,
3556
+ UpdateExtension: updateExtension
3557
+ };
3558
+
3559
+ const rawProjectFreeDecisionDocumentSelector = {
3560
+ ...rawDocumentSelector,
3561
+ meta: {
3562
+ ...rawDocumentMetaSelector,
3563
+ // Общая часть meta
3564
+ project_id: true
3565
+ }
2889
3566
  };
3567
+ const projectFreeDecisionDocumentSelector = Selector("ProjectFreeDecisionDocument")(rawProjectFreeDecisionDocumentSelector);
2890
3568
 
2891
- const name$r = "refresh";
3569
+ const name$r = "generateProjectOfFreeDecision";
2892
3570
  const mutation$h = Selector("Mutation")({
2893
- [name$r]: [{ data: $("data", "RefreshInput!") }, registeredAccountSelector]
3571
+ [name$r]: [{ data: $("data", "ProjectFreeDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, projectFreeDecisionDocumentSelector]
2894
3572
  });
2895
3573
 
2896
- const refresh = {
3574
+ const generateProjectOfFreeDecisionDocument = {
2897
3575
  __proto__: null,
2898
3576
  mutation: mutation$h,
2899
3577
  name: name$r
2900
3578
  };
2901
3579
 
2902
- const name$q = "logout";
3580
+ const rawFreeDecisionDocumentSelector = {
3581
+ ...rawDocumentSelector,
3582
+ meta: {
3583
+ ...rawDocumentMetaSelector,
3584
+ // Общая часть meta
3585
+ project_id: true,
3586
+ // Уникальное дополнение
3587
+ decision_id: true
3588
+ }
3589
+ };
3590
+ const freeDecisionDocumentSelector = Selector("FreeDecisionDocument")(rawFreeDecisionDocumentSelector);
3591
+
3592
+ const rawFreeProjectSelector = {
3593
+ decision: true,
3594
+ id: true,
3595
+ question: true
3596
+ };
3597
+ const createdProjectFreeDecisionSelector = Selector("CreatedProjectFreeDecision")(rawFreeProjectSelector);
3598
+
3599
+ const name$q = "generateFreeDecision";
2903
3600
  const mutation$g = Selector("Mutation")({
2904
- [name$q]: [{ data: $("data", "LogoutInput!") }, true]
3601
+ [name$q]: [{ data: $("data", "FreeDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, freeDecisionDocumentSelector]
2905
3602
  });
2906
3603
 
2907
- const logout = {
3604
+ const generateFreeDecision = {
2908
3605
  __proto__: null,
2909
3606
  mutation: mutation$g,
2910
3607
  name: name$q
2911
3608
  };
2912
3609
 
2913
- const name$p = "login";
3610
+ const name$p = "publishProjectOfFreeDecision";
2914
3611
  const mutation$f = Selector("Mutation")({
2915
- [name$p]: [{ data: $("data", "LoginInput!") }, registeredAccountSelector]
3612
+ [name$p]: [{ data: $("data", "PublishProjectFreeDecisionInput!") }, true]
2916
3613
  });
2917
3614
 
2918
- const login = {
3615
+ const publishProjectOfFreeDecision = {
2919
3616
  __proto__: null,
2920
3617
  mutation: mutation$f,
2921
3618
  name: name$p
2922
3619
  };
2923
3620
 
2924
- const index$i = {
2925
- __proto__: null,
2926
- Login: login,
2927
- Logout: logout,
2928
- Refresh: refresh
2929
- };
2930
-
2931
- const name$o = "initSystem";
3621
+ const name$o = "createProjectOfFreeDecision";
2932
3622
  const mutation$e = Selector("Mutation")({
2933
- [name$o]: [{ data: $("data", "Init!") }, systemInfoSelector]
3623
+ [name$o]: [{ data: $("data", "CreateProjectFreeDecisionInput!") }, createdProjectFreeDecisionSelector]
2934
3624
  });
2935
3625
 
2936
- const initSystem = {
3626
+ const createProjectOfFreeDecision = {
2937
3627
  __proto__: null,
2938
3628
  mutation: mutation$e,
2939
3629
  name: name$o
2940
3630
  };
2941
3631
 
2942
- const name$n = "installSystem";
3632
+ const index$i = {
3633
+ __proto__: null,
3634
+ CreateProjectOfFreeDecision: createProjectOfFreeDecision,
3635
+ GenerateFreeDecision: generateFreeDecision,
3636
+ GenerateProjectOfFreeDecision: generateProjectOfFreeDecisionDocument,
3637
+ PublishProjectOfFreeDecision: publishProjectOfFreeDecision
3638
+ };
3639
+
3640
+ const name$n = "generateParticipantApplication";
2943
3641
  const mutation$d = Selector("Mutation")({
2944
- [name$n]: [{ data: $("data", "Install!") }, systemInfoSelector]
3642
+ [name$n]: [{ data: $("data", "ParticipantApplicationGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, participantApplicationDocumentSelector]
2945
3643
  });
2946
3644
 
2947
- const installSystem = {
3645
+ const generateParticipantApplication = {
2948
3646
  __proto__: null,
2949
3647
  mutation: mutation$d,
2950
3648
  name: name$n
2951
3649
  };
2952
3650
 
2953
- const name$m = "setWif";
3651
+ const name$m = "generateParticipantApplicationDecision";
2954
3652
  const mutation$c = Selector("Mutation")({
2955
- [name$m]: [{ data: $("data", "Update!") }, true]
3653
+ [name$m]: [{ data: $("data", "ParticipantApplicationDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, participantApplicationDecisionDocumentSelector]
2956
3654
  });
2957
3655
 
2958
- const setWif = {
3656
+ const generateParticipantApplicationDecision = {
2959
3657
  __proto__: null,
2960
3658
  mutation: mutation$c,
2961
3659
  name: name$m
2962
3660
  };
2963
3661
 
2964
- const name$l = "updateSystem";
3662
+ const name$l = "registerParticipant";
2965
3663
  const mutation$b = Selector("Mutation")({
2966
- [name$l]: [{ data: $("data", "Update!") }, systemInfoSelector]
3664
+ [name$l]: [{ data: $("data", "RegisterParticipantInput!") }, accountSelector]
2967
3665
  });
2968
3666
 
2969
- const updateSystem = {
3667
+ const registerParticipant = {
2970
3668
  __proto__: null,
2971
3669
  mutation: mutation$b,
2972
3670
  name: name$l
2973
3671
  };
2974
3672
 
2975
- const index$h = {
2976
- __proto__: null,
2977
- InitSystem: initSystem,
2978
- InstallSystem: installSystem,
2979
- SetWif: setWif,
2980
- UpdateSystem: updateSystem
2981
- };
2982
-
2983
- const name$k = "generateParticipantApplication";
3673
+ const name$k = "addParticipant";
2984
3674
  const mutation$a = Selector("Mutation")({
2985
- [name$k]: [{ data: $("data", "ParticipantApplicationGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, participantApplicationDocumentSelector]
3675
+ [name$k]: [{ data: $("data", "AddParticipantInput!") }, accountSelector]
2986
3676
  });
2987
3677
 
2988
- const generateParticipantApplication = {
3678
+ const addParticipant = {
2989
3679
  __proto__: null,
2990
3680
  mutation: mutation$a,
2991
3681
  name: name$k
2992
3682
  };
2993
3683
 
2994
- const name$j = "generateParticipantApplicationDecision";
3684
+ const index$h = {
3685
+ __proto__: null,
3686
+ AddParticipant: addParticipant,
3687
+ GenerateParticipantApplication: generateParticipantApplication,
3688
+ GenerateParticipantApplicationDecision: generateParticipantApplicationDecision,
3689
+ RegisterParticipant: registerParticipant
3690
+ };
3691
+
3692
+ const name$j = "createBankAccount";
2995
3693
  const mutation$9 = Selector("Mutation")({
2996
- [name$j]: [{ data: $("data", "ParticipantApplicationDecisionGenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, participantApplicationDecisionDocumentSelector]
3694
+ [name$j]: [{ data: $("data", "CreateBankAccountInput!") }, paymentMethodSelector]
2997
3695
  });
2998
3696
 
2999
- const generateParticipantApplicationDecision = {
3697
+ const createBankAccount = {
3000
3698
  __proto__: null,
3001
3699
  mutation: mutation$9,
3002
3700
  name: name$j
3003
3701
  };
3004
3702
 
3005
- const name$i = "registerParticipant";
3703
+ const name$i = "deletePaymentMethod";
3006
3704
  const mutation$8 = Selector("Mutation")({
3007
- [name$i]: [{ data: $("data", "RegisterParticipantInput!") }, accountSelector]
3705
+ [name$i]: [{ data: $("data", "DeletePaymentMethodInput!") }, true]
3008
3706
  });
3009
3707
 
3010
- const registerParticipant = {
3708
+ const deletePaymentMethod = {
3011
3709
  __proto__: null,
3012
3710
  mutation: mutation$8,
3013
3711
  name: name$i
3014
3712
  };
3015
3713
 
3016
- const name$h = "addParticipant";
3714
+ const name$h = "updateBankAccount";
3017
3715
  const mutation$7 = Selector("Mutation")({
3018
- [name$h]: [{ data: $("data", "AddParticipantInput!") }, accountSelector]
3716
+ [name$h]: [{ data: $("data", "UpdateBankAccountInput!") }, paymentMethodSelector]
3019
3717
  });
3020
3718
 
3021
- const addParticipant = {
3719
+ const updateBankAccount = {
3022
3720
  __proto__: null,
3023
3721
  mutation: mutation$7,
3024
3722
  name: name$h
@@ -3026,10 +3724,9 @@ const addParticipant = {
3026
3724
 
3027
3725
  const index$g = {
3028
3726
  __proto__: null,
3029
- AddParticipant: addParticipant,
3030
- GenerateParticipantApplication: generateParticipantApplication,
3031
- GenerateParticipantApplicationDecision: generateParticipantApplicationDecision,
3032
- RegisterParticipant: registerParticipant
3727
+ CreateBankAccount: createBankAccount,
3728
+ DeletePaymentMethod: deletePaymentMethod,
3729
+ UpdateBankAccount: updateBankAccount
3033
3730
  };
3034
3731
 
3035
3732
  const rawPaymentDetailsSelector = {
@@ -3097,45 +3794,45 @@ const index$f = {
3097
3794
  SetPaymentStatus: setPaymentStatus
3098
3795
  };
3099
3796
 
3100
- const name$d = "generatePrivacyAgreement";
3797
+ const name$d = "initSystem";
3101
3798
  const mutation$3 = Selector("Mutation")({
3102
- [name$d]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3799
+ [name$d]: [{ data: $("data", "Init!") }, systemInfoSelector]
3103
3800
  });
3104
3801
 
3105
- const generatePrivacyAgreement = {
3802
+ const initSystem = {
3106
3803
  __proto__: null,
3107
3804
  mutation: mutation$3,
3108
3805
  name: name$d
3109
3806
  };
3110
3807
 
3111
- const name$c = "generateSignatureAgreement";
3808
+ const name$c = "installSystem";
3112
3809
  const mutation$2 = Selector("Mutation")({
3113
- [name$c]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3810
+ [name$c]: [{ data: $("data", "Install!") }, systemInfoSelector]
3114
3811
  });
3115
3812
 
3116
- const generateSignatureAgreement = {
3813
+ const installSystem = {
3117
3814
  __proto__: null,
3118
3815
  mutation: mutation$2,
3119
3816
  name: name$c
3120
3817
  };
3121
3818
 
3122
- const name$b = "generateWalletAgreement";
3819
+ const name$b = "setWif";
3123
3820
  const mutation$1 = Selector("Mutation")({
3124
- [name$b]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3821
+ [name$b]: [{ data: $("data", "Update!") }, true]
3125
3822
  });
3126
3823
 
3127
- const generateWalletAgreement = {
3824
+ const setWif = {
3128
3825
  __proto__: null,
3129
3826
  mutation: mutation$1,
3130
3827
  name: name$b
3131
3828
  };
3132
3829
 
3133
- const name$a = "generateUserAgreement";
3830
+ const name$a = "updateSystem";
3134
3831
  const mutation = Selector("Mutation")({
3135
- [name$a]: [{ data: $("data", "GenerateDocumentInput!"), options: $("options", "GenerateDocumentOptionsInput") }, documentSelector]
3832
+ [name$a]: [{ data: $("data", "Update!") }, systemInfoSelector]
3136
3833
  });
3137
3834
 
3138
- const generateUserAgreement = {
3835
+ const updateSystem = {
3139
3836
  __proto__: null,
3140
3837
  mutation: mutation,
3141
3838
  name: name$a
@@ -3143,24 +3840,25 @@ const generateUserAgreement = {
3143
3840
 
3144
3841
  const index$e = {
3145
3842
  __proto__: null,
3146
- GeneratePrivacyAgreement: generatePrivacyAgreement,
3147
- GenerateSignatureAgreement: generateSignatureAgreement,
3148
- GenerateUserAgreement: generateUserAgreement,
3149
- GenerateWalletAgreement: generateWalletAgreement
3843
+ InitSystem: initSystem,
3844
+ InstallSystem: installSystem,
3845
+ SetWif: setWif,
3846
+ UpdateSystem: updateSystem
3150
3847
  };
3151
3848
 
3152
3849
  const Mutations = {
3153
3850
  __proto__: null,
3154
- Accounts: index$j,
3155
- Agreements: index$e,
3156
- Auth: index$i,
3851
+ Accounts: index$o,
3852
+ Agreements: index$n,
3853
+ Auth: index$m,
3157
3854
  Branches: index$l,
3158
- Extensions: index$n,
3159
- FreeDecisions: index$k,
3160
- Participants: index$g,
3161
- PaymentMethods: index$m,
3855
+ Cooplace: index$k,
3856
+ Extensions: index$j,
3857
+ FreeDecisions: index$i,
3858
+ Participants: index$h,
3859
+ PaymentMethods: index$g,
3162
3860
  Payments: index$f,
3163
- System: index$h
3861
+ System: index$e
3164
3862
  };
3165
3863
 
3166
3864
  const name$9 = "getExtensions";
@@ -3430,8 +4128,11 @@ const index$3 = {
3430
4128
  __proto__: null
3431
4129
  };
3432
4130
 
4131
+ const ASSET_REGEX = /^\d+\.\d{4} [A-Z]{1,7}$/;
4132
+
3433
4133
  const index$2 = {
3434
- __proto__: null
4134
+ __proto__: null,
4135
+ ASSET_REGEX: ASSET_REGEX
3435
4136
  };
3436
4137
 
3437
4138
  const index$1 = {
@@ -3511,8 +4212,8 @@ const _Client = class _Client {
3511
4212
  signature
3512
4213
  }
3513
4214
  };
3514
- const { [name$p]: result } = await this.thunder("mutation")(
3515
- mutation$f,
4215
+ const { [name$Z]: result } = await this.thunder("mutation")(
4216
+ mutation$P,
3516
4217
  {
3517
4218
  variables
3518
4219
  }
@@ -3611,4 +4312,4 @@ exports.Client = Client;
3611
4312
  exports.Mutations = Mutations;
3612
4313
  exports.Queries = index$5;
3613
4314
  exports.Types = index;
3614
- exports.Zeus = index$o;
4315
+ exports.Zeus = index$p;