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