cooptypes 1.0.15 → 1.0.16

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
@@ -631,7 +631,7 @@ const accounts = {
631
631
  const tableName$v = "orgs";
632
632
  const scope$v = _registrator;
633
633
 
634
- const organizations = {
634
+ const cooperatives = {
635
635
  __proto__: null,
636
636
  scope: scope$v,
637
637
  tableName: tableName$v
@@ -640,7 +640,7 @@ const organizations = {
640
640
  const index$u = {
641
641
  __proto__: null,
642
642
  Accounts: accounts,
643
- Organizations: organizations
643
+ Cooperatives: cooperatives
644
644
  };
645
645
 
646
646
  const registrator = {
package/dist/index.d.cts CHANGED
@@ -985,18 +985,6 @@ interface IDeposit {
985
985
  type: IName$7;
986
986
  quantity: IAsset$5;
987
987
  }
988
- interface IDeposits$1 {
989
- id: IUint64$4;
990
- username: IName$7;
991
- coopname: IName$7;
992
- type: IName$7;
993
- token_contract: IName$7;
994
- quantity: IAsset$5;
995
- status: IName$7;
996
- link: string;
997
- memo: string;
998
- expired_at: ITimePointSec$6;
999
- }
1000
988
  interface IDocument$3 {
1001
989
  hash: IChecksum256$5;
1002
990
  public_key: IPublicKey$4;
@@ -1023,19 +1011,19 @@ interface INewwithdrid {
1023
1011
  username: IName$7;
1024
1012
  id: IUint64$4;
1025
1013
  }
1026
- interface IWithdraw$1 {
1027
- coopname: IName$7;
1014
+ interface IOnedeposit {
1015
+ id: IUint64$4;
1028
1016
  username: IName$7;
1017
+ coopname: IName$7;
1018
+ type: IName$7;
1019
+ token_contract: IName$7;
1029
1020
  quantity: IAsset$5;
1030
- document: IDocument$3;
1031
- bank_data_id: string;
1021
+ status: IName$7;
1022
+ link: string;
1032
1023
  memo: string;
1024
+ expired_at: ITimePointSec$6;
1033
1025
  }
1034
- interface IWithdrawauth {
1035
- coopname: IName$7;
1036
- withdraw_id: IUint64$4;
1037
- }
1038
- interface IWithdraws$1 {
1026
+ interface IOnewithdraw {
1039
1027
  id: IUint64$4;
1040
1028
  username: IName$7;
1041
1029
  coopname: IName$7;
@@ -1047,6 +1035,18 @@ interface IWithdraws$1 {
1047
1035
  memo: string;
1048
1036
  created_at: ITimePointSec$6;
1049
1037
  }
1038
+ interface IWithdraw$1 {
1039
+ coopname: IName$7;
1040
+ username: IName$7;
1041
+ quantity: IAsset$5;
1042
+ document: IDocument$3;
1043
+ bank_data_id: string;
1044
+ memo: string;
1045
+ }
1046
+ interface IWithdrawauth {
1047
+ coopname: IName$7;
1048
+ withdraw_id: IUint64$4;
1049
+ }
1050
1050
  interface IWthdcomplete {
1051
1051
  coopname: IName$7;
1052
1052
  admin: IName$7;
@@ -1065,11 +1065,13 @@ type gateway_IDpcomplete = IDpcomplete;
1065
1065
  type gateway_IDpfail = IDpfail;
1066
1066
  type gateway_INewdepositid = INewdepositid;
1067
1067
  type gateway_INewwithdrid = INewwithdrid;
1068
+ type gateway_IOnedeposit = IOnedeposit;
1069
+ type gateway_IOnewithdraw = IOnewithdraw;
1068
1070
  type gateway_IWithdrawauth = IWithdrawauth;
1069
1071
  type gateway_IWthdcomplete = IWthdcomplete;
1070
1072
  type gateway_IWthdfail = IWthdfail;
1071
1073
  declare namespace gateway {
1072
- export type { IAsset$5 as IAsset, IBalances$2 as IBalances, IBalancesBase$2 as IBalancesBase, IChecksum256$5 as IChecksum256, ICounts$2 as ICounts, ICountsBase$2 as ICountsBase, gateway_IDeposit as IDeposit, IDeposits$1 as IDeposits, IDocument$3 as IDocument, gateway_IDpcomplete as IDpcomplete, gateway_IDpfail as IDpfail, IName$7 as IName, gateway_INewdepositid as INewdepositid, gateway_INewwithdrid as INewwithdrid, IPublicKey$4 as IPublicKey, ISignature$3 as ISignature, ITimePointSec$6 as ITimePointSec, IUint64$4 as IUint64, IWithdraw$1 as IWithdraw, gateway_IWithdrawauth as IWithdrawauth, IWithdraws$1 as IWithdraws, gateway_IWthdcomplete as IWthdcomplete, gateway_IWthdfail as IWthdfail };
1074
+ export type { IAsset$5 as IAsset, IBalances$2 as IBalances, IBalancesBase$2 as IBalancesBase, IChecksum256$5 as IChecksum256, ICounts$2 as ICounts, ICountsBase$2 as ICountsBase, gateway_IDeposit as IDeposit, IDocument$3 as IDocument, gateway_IDpcomplete as IDpcomplete, gateway_IDpfail as IDpfail, IName$7 as IName, gateway_INewdepositid as INewdepositid, gateway_INewwithdrid as INewwithdrid, gateway_IOnedeposit as IOnedeposit, gateway_IOnewithdraw as IOnewithdraw, IPublicKey$4 as IPublicKey, ISignature$3 as ISignature, ITimePointSec$6 as ITimePointSec, IUint64$4 as IUint64, IWithdraw$1 as IWithdraw, gateway_IWithdrawauth as IWithdrawauth, gateway_IWthdcomplete as IWthdcomplete, gateway_IWthdfail as IWthdfail };
1073
1075
  }
1074
1076
 
1075
1077
  /**
@@ -1302,7 +1304,7 @@ declare const scope$y: {
1302
1304
  * @interface
1303
1305
  * Таблица содержит переводы черновиков документов.
1304
1306
  */
1305
- type IDeposits = IDeposits$1;
1307
+ type IDeposits = IOnedeposit;
1306
1308
 
1307
1309
  type deposits_IDeposits = IDeposits;
1308
1310
  declare namespace deposits {
@@ -1324,7 +1326,7 @@ declare const scope$x: {
1324
1326
  * @interface
1325
1327
  * Таблица содержит переводы черновиков документов.
1326
1328
  */
1327
- type IWithdraws = IWithdraws$1;
1329
+ type IWithdraws = IOnewithdraw;
1328
1330
 
1329
1331
  type withdraws_IWithdraws = IWithdraws;
1330
1332
  declare namespace withdraws {
@@ -1361,7 +1363,6 @@ interface IAccount$2 {
1361
1363
  storages: IName$6[];
1362
1364
  verifications: IVerification[];
1363
1365
  registered_at: ITimePointSec$5;
1364
- signature_expires_at: ITimePointSec$5;
1365
1366
  }
1366
1367
  interface IBalances$1 extends IBalancesBase$1 {
1367
1368
  }
@@ -1374,9 +1375,30 @@ interface IChangekey {
1374
1375
  username: IName$6;
1375
1376
  public_key: IPublicKey$3;
1376
1377
  }
1378
+ interface ICheck {
1379
+ hash: IChecksum256$4;
1380
+ public_key: IPublicKey$3;
1381
+ signature: ISignature$2;
1382
+ }
1377
1383
  interface IConfirmreg {
1378
1384
  coopname: IName$6;
1379
- member: IName$6;
1385
+ username: IName$6;
1386
+ }
1387
+ interface ICooperative$1 {
1388
+ username: IName$6;
1389
+ parent_username: IName$6;
1390
+ announce: string;
1391
+ description: string;
1392
+ is_cooperative: boolean;
1393
+ is_branched: boolean;
1394
+ is_enrolled: boolean;
1395
+ coop_type: IName$6;
1396
+ registration: IAsset$4;
1397
+ initial: IAsset$4;
1398
+ minimum: IAsset$4;
1399
+ org_registration: IAsset$4;
1400
+ org_initial: IAsset$4;
1401
+ org_minimum: IAsset$4;
1380
1402
  }
1381
1403
  interface IDocument$2 {
1382
1404
  hash: IChecksum256$4;
@@ -1384,6 +1406,8 @@ interface IDocument$2 {
1384
1406
  signature: ISignature$2;
1385
1407
  meta: string;
1386
1408
  }
1409
+ interface IFix$1 {
1410
+ }
1387
1411
  interface IInit$5 {
1388
1412
  }
1389
1413
  interface IJoincoop$1 {
@@ -1398,7 +1422,6 @@ interface INewaccount$1 {
1398
1422
  referer: IName$6;
1399
1423
  username: IName$6;
1400
1424
  public_key: IPublicKey$3;
1401
- signature_hash: string;
1402
1425
  meta: string;
1403
1426
  }
1404
1427
  interface IOrgData {
@@ -1411,22 +1434,6 @@ interface IOrgData {
1411
1434
  org_initial: IAsset$4;
1412
1435
  org_minimum: IAsset$4;
1413
1436
  }
1414
- interface IOrganization$1 {
1415
- username: IName$6;
1416
- parent_username: IName$6;
1417
- announce: string;
1418
- description: string;
1419
- is_cooperative: boolean;
1420
- is_branched: boolean;
1421
- is_enrolled: boolean;
1422
- coop_type: IName$6;
1423
- registration: IAsset$4;
1424
- initial: IAsset$4;
1425
- minimum: IAsset$4;
1426
- org_initial: IAsset$4;
1427
- org_minimum: IAsset$4;
1428
- org_registration: IAsset$4;
1429
- }
1430
1437
  interface IPlotData {
1431
1438
  announce: string;
1432
1439
  description: string;
@@ -1447,11 +1454,20 @@ interface IReguser {
1447
1454
  registrator: IName$6;
1448
1455
  coopname: IName$6;
1449
1456
  username: IName$6;
1457
+ type: IName$6;
1450
1458
  }
1451
1459
  interface IUpdate$1 {
1452
1460
  username: IName$6;
1453
1461
  meta: string;
1454
1462
  }
1463
+ interface IUpdatecoop {
1464
+ coopname: IName$6;
1465
+ username: IName$6;
1466
+ initial: IAsset$4;
1467
+ minimum: IAsset$4;
1468
+ org_initial: IAsset$4;
1469
+ org_minimum: IAsset$4;
1470
+ }
1455
1471
  interface IVerificate {
1456
1472
  username: IName$6;
1457
1473
  procedure: IName$6;
@@ -1466,16 +1482,18 @@ interface IVerification {
1466
1482
  }
1467
1483
 
1468
1484
  type registrator_IChangekey = IChangekey;
1485
+ type registrator_ICheck = ICheck;
1469
1486
  type registrator_IConfirmreg = IConfirmreg;
1470
1487
  type registrator_IOrgData = IOrgData;
1471
1488
  type registrator_IPlotData = IPlotData;
1472
1489
  type registrator_IRegdepartmnt = IRegdepartmnt;
1473
1490
  type registrator_IRegorg = IRegorg;
1474
1491
  type registrator_IReguser = IReguser;
1492
+ type registrator_IUpdatecoop = IUpdatecoop;
1475
1493
  type registrator_IVerificate = IVerificate;
1476
1494
  type registrator_IVerification = IVerification;
1477
1495
  declare namespace registrator {
1478
- export type { IAccount$2 as IAccount, IAsset$4 as IAsset, IBalances$1 as IBalances, IBalancesBase$1 as IBalancesBase, registrator_IChangekey as IChangekey, IChecksum256$4 as IChecksum256, registrator_IConfirmreg as IConfirmreg, IDocument$2 as IDocument, IInit$5 as IInit, IJoincoop$1 as IJoincoop, IName$6 as IName, INewaccount$1 as INewaccount, registrator_IOrgData as IOrgData, IOrganization$1 as IOrganization, registrator_IPlotData as IPlotData, IPublicKey$3 as IPublicKey, registrator_IRegdepartmnt as IRegdepartmnt, registrator_IRegorg as IRegorg, registrator_IReguser as IReguser, ISignature$2 as ISignature, ITimePointSec$5 as ITimePointSec, IUint64$3 as IUint64, IUpdate$1 as IUpdate, registrator_IVerificate as IVerificate, registrator_IVerification as IVerification };
1496
+ export type { IAccount$2 as IAccount, IAsset$4 as IAsset, IBalances$1 as IBalances, IBalancesBase$1 as IBalancesBase, registrator_IChangekey as IChangekey, registrator_ICheck as ICheck, IChecksum256$4 as IChecksum256, registrator_IConfirmreg as IConfirmreg, ICooperative$1 as ICooperative, IDocument$2 as IDocument, IFix$1 as IFix, IInit$5 as IInit, IJoincoop$1 as IJoincoop, IName$6 as IName, INewaccount$1 as INewaccount, registrator_IOrgData as IOrgData, registrator_IPlotData as IPlotData, IPublicKey$3 as IPublicKey, registrator_IRegdepartmnt as IRegdepartmnt, registrator_IRegorg as IRegorg, registrator_IReguser as IReguser, ISignature$2 as ISignature, ITimePointSec$5 as ITimePointSec, IUint64$3 as IUint64, IUpdate$1 as IUpdate, registrator_IUpdatecoop as IUpdatecoop, registrator_IVerificate as IVerificate, registrator_IVerification as IVerification };
1479
1497
  }
1480
1498
 
1481
1499
  declare const authorizations$1Q: readonly [{
@@ -1716,13 +1734,13 @@ declare const scope$v: {
1716
1734
  };
1717
1735
  /**
1718
1736
  * @interface
1719
- * Таблица содержит реестр организаций-пайщиков кооператива.
1737
+ * Таблица содержит реестр кооперативов.
1720
1738
  */
1721
- type IOrganization = IOrganization$1;
1739
+ type ICooperative = ICooperative$1;
1722
1740
 
1723
- type organizations_IOrganization = IOrganization;
1724
- declare namespace organizations {
1725
- export { type organizations_IOrganization as IOrganization, scope$v as scope, tableName$v as tableName };
1741
+ type cooperatives_ICooperative = ICooperative;
1742
+ declare namespace cooperatives {
1743
+ export { type cooperatives_ICooperative as ICooperative, scope$v as scope, tableName$v as tableName };
1726
1744
  }
1727
1745
 
1728
1746
  /**
@@ -1731,7 +1749,7 @@ declare namespace organizations {
1731
1749
  */
1732
1750
 
1733
1751
  declare namespace index$u {
1734
- export { accounts as Accounts, organizations as Organizations };
1752
+ export { accounts as Accounts, cooperatives as Cooperatives };
1735
1753
  }
1736
1754
 
1737
1755
  declare const contractName$6: {
@@ -2173,6 +2191,8 @@ interface IExec$4 {
2173
2191
  coopname: IName$4;
2174
2192
  decision_id: IUint64$2;
2175
2193
  }
2194
+ interface IFix {
2195
+ }
2176
2196
  interface IFundwithdraw {
2177
2197
  coopname: IName$4;
2178
2198
  username: IName$4;
@@ -2191,7 +2211,6 @@ interface IJoincoops {
2191
2211
  id: IUint64$2;
2192
2212
  username: IName$4;
2193
2213
  is_paid: boolean;
2194
- statement: IDocument$1;
2195
2214
  notice: string;
2196
2215
  }
2197
2216
  interface INewact {
@@ -2247,6 +2266,7 @@ interface IParticipants$1 {
2247
2266
  is_initial: boolean;
2248
2267
  is_minimum: boolean;
2249
2268
  has_vote: boolean;
2269
+ type: IName$4;
2250
2270
  }
2251
2271
  interface IProgcomarket {
2252
2272
  id: IUint64$2;
@@ -2361,6 +2381,7 @@ type soviet_IDeladdress = IDeladdress;
2361
2381
  type soviet_IDisableprog = IDisableprog;
2362
2382
  type soviet_IEditaddress = IEditaddress;
2363
2383
  type soviet_IEditprog = IEditprog;
2384
+ type soviet_IFix = IFix;
2364
2385
  type soviet_IFundwithdraw = IFundwithdraw;
2365
2386
  type soviet_IJoincoop = IJoincoop;
2366
2387
  type soviet_IJoincoops = IJoincoops;
@@ -2387,7 +2408,7 @@ type soviet_IVoteagainst = IVoteagainst;
2387
2408
  type soviet_IVotefor = IVotefor;
2388
2409
  type soviet_IWithdraw = IWithdraw;
2389
2410
  declare namespace soviet {
2390
- export type { soviet_IAddbalance as IAddbalance, soviet_IAddprogbal as IAddprogbal, IAddress$1 as IAddress, soviet_IAddressData as IAddressData, soviet_IAddstaff as IAddstaff, IAsset$2 as IAsset, IAuthorize$3 as IAuthorize, IAutomate$1 as IAutomate, soviet_IAutomator as IAutomator, soviet_IAutosigner as IAutosigner, soviet_IBlockbal as IBlockbal, soviet_IBoardMember as IBoardMember, IBoards$1 as IBoards, soviet_ICancelvote as ICancelvote, soviet_IChange as IChange, IChanges$1 as IChanges, IChecksum256$3 as IChecksum256, ICounts$1 as ICounts, ICountsBase$1 as ICountsBase, soviet_ICreaddress as ICreaddress, ICreateboard$1 as ICreateboard, soviet_ICreateprog as ICreateprog, IDecision$1 as IDecision, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFundwithdraw as IFundwithdraw, IInit$3 as IInit, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, IName$4 as IName, soviet_INewact as INewact, soviet_INewbatch as INewbatch, soviet_INewdecision as INewdecision, soviet_INewprogram as INewprogram, soviet_INewresolved as INewresolved, soviet_INewsubmitted as INewsubmitted, soviet_IOnewallet as IOnewallet, IParticipants$1 as IParticipants, soviet_IProgcomarket as IProgcomarket, soviet_IProgwallet as IProgwallet, IPublicKey$2 as IPublicKey, soviet_IRecieved as IRecieved, soviet_IRegpaid as IRegpaid, soviet_IRight as IRight, soviet_IRmstaff as IRmstaff, soviet_ISetrights as ISetrights, ISignature$1 as ISignature, soviet_IStaff as IStaff, soviet_ISubbalance as ISubbalance, soviet_ISubprogbal as ISubprogbal, ITimePointSec$4 as ITimePointSec, IUint64$2 as IUint64, soviet_IUnblockbal as IUnblockbal, soviet_IUpdateboard as IUpdateboard, IValidate$1 as IValidate, soviet_IVoteagainst as IVoteagainst, soviet_IVotefor as IVotefor, soviet_IWithdraw as IWithdraw };
2411
+ export type { soviet_IAddbalance as IAddbalance, soviet_IAddprogbal as IAddprogbal, IAddress$1 as IAddress, soviet_IAddressData as IAddressData, soviet_IAddstaff as IAddstaff, IAsset$2 as IAsset, IAuthorize$3 as IAuthorize, IAutomate$1 as IAutomate, soviet_IAutomator as IAutomator, soviet_IAutosigner as IAutosigner, soviet_IBlockbal as IBlockbal, soviet_IBoardMember as IBoardMember, IBoards$1 as IBoards, soviet_ICancelvote as ICancelvote, soviet_IChange as IChange, IChanges$1 as IChanges, IChecksum256$3 as IChecksum256, ICounts$1 as ICounts, ICountsBase$1 as ICountsBase, soviet_ICreaddress as ICreaddress, ICreateboard$1 as ICreateboard, soviet_ICreateprog as ICreateprog, IDecision$1 as IDecision, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFix as IFix, soviet_IFundwithdraw as IFundwithdraw, IInit$3 as IInit, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, IName$4 as IName, soviet_INewact as INewact, soviet_INewbatch as INewbatch, soviet_INewdecision as INewdecision, soviet_INewprogram as INewprogram, soviet_INewresolved as INewresolved, soviet_INewsubmitted as INewsubmitted, soviet_IOnewallet as IOnewallet, IParticipants$1 as IParticipants, soviet_IProgcomarket as IProgcomarket, soviet_IProgwallet as IProgwallet, IPublicKey$2 as IPublicKey, soviet_IRecieved as IRecieved, soviet_IRegpaid as IRegpaid, soviet_IRight as IRight, soviet_IRmstaff as IRmstaff, soviet_ISetrights as ISetrights, ISignature$1 as ISignature, soviet_IStaff as IStaff, soviet_ISubbalance as ISubbalance, soviet_ISubprogbal as ISubprogbal, ITimePointSec$4 as ITimePointSec, IUint64$2 as IUint64, soviet_IUnblockbal as IUnblockbal, soviet_IUpdateboard as IUpdateboard, IValidate$1 as IValidate, soviet_IVoteagainst as IVoteagainst, soviet_IVotefor as IVotefor, soviet_IWithdraw as IWithdraw };
2391
2412
  }
2392
2413
 
2393
2414
  /**
@@ -6589,7 +6610,7 @@ declare namespace index$2 {
6589
6610
  export type { index$2_IAgenda as IAgenda, index$2_IChainDocument as IChainDocument, index$2_IComplexAct as IComplexAct, index$2_IComplexAgenda as IComplexAgenda, index$2_IComplexDecision as IComplexDecision, index$2_IComplexDocument as IComplexDocument, index$2_IComplexStatement as IComplexStatement, index$2_IGenerate as IGenerate, index$2_IGenerateJoinCoop as IGenerateJoinCoop, index$2_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$2_IGeneratedDocument as IGeneratedDocument, index$2_IGetComplexDocuments as IGetComplexDocuments, index$2_IMetaDocument as IMetaDocument, index$2_LangType as LangType };
6590
6611
  }
6591
6612
 
6592
- interface ICooperativeData extends IOrganizationData, IOrganization {
6613
+ interface ICooperativeData extends IOrganizationData, ICooperative {
6593
6614
  members: MembersData[];
6594
6615
  chairman: IIndividualData;
6595
6616
  totalMembers: number;
package/dist/index.d.mts CHANGED
@@ -985,18 +985,6 @@ interface IDeposit {
985
985
  type: IName$7;
986
986
  quantity: IAsset$5;
987
987
  }
988
- interface IDeposits$1 {
989
- id: IUint64$4;
990
- username: IName$7;
991
- coopname: IName$7;
992
- type: IName$7;
993
- token_contract: IName$7;
994
- quantity: IAsset$5;
995
- status: IName$7;
996
- link: string;
997
- memo: string;
998
- expired_at: ITimePointSec$6;
999
- }
1000
988
  interface IDocument$3 {
1001
989
  hash: IChecksum256$5;
1002
990
  public_key: IPublicKey$4;
@@ -1023,19 +1011,19 @@ interface INewwithdrid {
1023
1011
  username: IName$7;
1024
1012
  id: IUint64$4;
1025
1013
  }
1026
- interface IWithdraw$1 {
1027
- coopname: IName$7;
1014
+ interface IOnedeposit {
1015
+ id: IUint64$4;
1028
1016
  username: IName$7;
1017
+ coopname: IName$7;
1018
+ type: IName$7;
1019
+ token_contract: IName$7;
1029
1020
  quantity: IAsset$5;
1030
- document: IDocument$3;
1031
- bank_data_id: string;
1021
+ status: IName$7;
1022
+ link: string;
1032
1023
  memo: string;
1024
+ expired_at: ITimePointSec$6;
1033
1025
  }
1034
- interface IWithdrawauth {
1035
- coopname: IName$7;
1036
- withdraw_id: IUint64$4;
1037
- }
1038
- interface IWithdraws$1 {
1026
+ interface IOnewithdraw {
1039
1027
  id: IUint64$4;
1040
1028
  username: IName$7;
1041
1029
  coopname: IName$7;
@@ -1047,6 +1035,18 @@ interface IWithdraws$1 {
1047
1035
  memo: string;
1048
1036
  created_at: ITimePointSec$6;
1049
1037
  }
1038
+ interface IWithdraw$1 {
1039
+ coopname: IName$7;
1040
+ username: IName$7;
1041
+ quantity: IAsset$5;
1042
+ document: IDocument$3;
1043
+ bank_data_id: string;
1044
+ memo: string;
1045
+ }
1046
+ interface IWithdrawauth {
1047
+ coopname: IName$7;
1048
+ withdraw_id: IUint64$4;
1049
+ }
1050
1050
  interface IWthdcomplete {
1051
1051
  coopname: IName$7;
1052
1052
  admin: IName$7;
@@ -1065,11 +1065,13 @@ type gateway_IDpcomplete = IDpcomplete;
1065
1065
  type gateway_IDpfail = IDpfail;
1066
1066
  type gateway_INewdepositid = INewdepositid;
1067
1067
  type gateway_INewwithdrid = INewwithdrid;
1068
+ type gateway_IOnedeposit = IOnedeposit;
1069
+ type gateway_IOnewithdraw = IOnewithdraw;
1068
1070
  type gateway_IWithdrawauth = IWithdrawauth;
1069
1071
  type gateway_IWthdcomplete = IWthdcomplete;
1070
1072
  type gateway_IWthdfail = IWthdfail;
1071
1073
  declare namespace gateway {
1072
- export type { IAsset$5 as IAsset, IBalances$2 as IBalances, IBalancesBase$2 as IBalancesBase, IChecksum256$5 as IChecksum256, ICounts$2 as ICounts, ICountsBase$2 as ICountsBase, gateway_IDeposit as IDeposit, IDeposits$1 as IDeposits, IDocument$3 as IDocument, gateway_IDpcomplete as IDpcomplete, gateway_IDpfail as IDpfail, IName$7 as IName, gateway_INewdepositid as INewdepositid, gateway_INewwithdrid as INewwithdrid, IPublicKey$4 as IPublicKey, ISignature$3 as ISignature, ITimePointSec$6 as ITimePointSec, IUint64$4 as IUint64, IWithdraw$1 as IWithdraw, gateway_IWithdrawauth as IWithdrawauth, IWithdraws$1 as IWithdraws, gateway_IWthdcomplete as IWthdcomplete, gateway_IWthdfail as IWthdfail };
1074
+ export type { IAsset$5 as IAsset, IBalances$2 as IBalances, IBalancesBase$2 as IBalancesBase, IChecksum256$5 as IChecksum256, ICounts$2 as ICounts, ICountsBase$2 as ICountsBase, gateway_IDeposit as IDeposit, IDocument$3 as IDocument, gateway_IDpcomplete as IDpcomplete, gateway_IDpfail as IDpfail, IName$7 as IName, gateway_INewdepositid as INewdepositid, gateway_INewwithdrid as INewwithdrid, gateway_IOnedeposit as IOnedeposit, gateway_IOnewithdraw as IOnewithdraw, IPublicKey$4 as IPublicKey, ISignature$3 as ISignature, ITimePointSec$6 as ITimePointSec, IUint64$4 as IUint64, IWithdraw$1 as IWithdraw, gateway_IWithdrawauth as IWithdrawauth, gateway_IWthdcomplete as IWthdcomplete, gateway_IWthdfail as IWthdfail };
1073
1075
  }
1074
1076
 
1075
1077
  /**
@@ -1302,7 +1304,7 @@ declare const scope$y: {
1302
1304
  * @interface
1303
1305
  * Таблица содержит переводы черновиков документов.
1304
1306
  */
1305
- type IDeposits = IDeposits$1;
1307
+ type IDeposits = IOnedeposit;
1306
1308
 
1307
1309
  type deposits_IDeposits = IDeposits;
1308
1310
  declare namespace deposits {
@@ -1324,7 +1326,7 @@ declare const scope$x: {
1324
1326
  * @interface
1325
1327
  * Таблица содержит переводы черновиков документов.
1326
1328
  */
1327
- type IWithdraws = IWithdraws$1;
1329
+ type IWithdraws = IOnewithdraw;
1328
1330
 
1329
1331
  type withdraws_IWithdraws = IWithdraws;
1330
1332
  declare namespace withdraws {
@@ -1361,7 +1363,6 @@ interface IAccount$2 {
1361
1363
  storages: IName$6[];
1362
1364
  verifications: IVerification[];
1363
1365
  registered_at: ITimePointSec$5;
1364
- signature_expires_at: ITimePointSec$5;
1365
1366
  }
1366
1367
  interface IBalances$1 extends IBalancesBase$1 {
1367
1368
  }
@@ -1374,9 +1375,30 @@ interface IChangekey {
1374
1375
  username: IName$6;
1375
1376
  public_key: IPublicKey$3;
1376
1377
  }
1378
+ interface ICheck {
1379
+ hash: IChecksum256$4;
1380
+ public_key: IPublicKey$3;
1381
+ signature: ISignature$2;
1382
+ }
1377
1383
  interface IConfirmreg {
1378
1384
  coopname: IName$6;
1379
- member: IName$6;
1385
+ username: IName$6;
1386
+ }
1387
+ interface ICooperative$1 {
1388
+ username: IName$6;
1389
+ parent_username: IName$6;
1390
+ announce: string;
1391
+ description: string;
1392
+ is_cooperative: boolean;
1393
+ is_branched: boolean;
1394
+ is_enrolled: boolean;
1395
+ coop_type: IName$6;
1396
+ registration: IAsset$4;
1397
+ initial: IAsset$4;
1398
+ minimum: IAsset$4;
1399
+ org_registration: IAsset$4;
1400
+ org_initial: IAsset$4;
1401
+ org_minimum: IAsset$4;
1380
1402
  }
1381
1403
  interface IDocument$2 {
1382
1404
  hash: IChecksum256$4;
@@ -1384,6 +1406,8 @@ interface IDocument$2 {
1384
1406
  signature: ISignature$2;
1385
1407
  meta: string;
1386
1408
  }
1409
+ interface IFix$1 {
1410
+ }
1387
1411
  interface IInit$5 {
1388
1412
  }
1389
1413
  interface IJoincoop$1 {
@@ -1398,7 +1422,6 @@ interface INewaccount$1 {
1398
1422
  referer: IName$6;
1399
1423
  username: IName$6;
1400
1424
  public_key: IPublicKey$3;
1401
- signature_hash: string;
1402
1425
  meta: string;
1403
1426
  }
1404
1427
  interface IOrgData {
@@ -1411,22 +1434,6 @@ interface IOrgData {
1411
1434
  org_initial: IAsset$4;
1412
1435
  org_minimum: IAsset$4;
1413
1436
  }
1414
- interface IOrganization$1 {
1415
- username: IName$6;
1416
- parent_username: IName$6;
1417
- announce: string;
1418
- description: string;
1419
- is_cooperative: boolean;
1420
- is_branched: boolean;
1421
- is_enrolled: boolean;
1422
- coop_type: IName$6;
1423
- registration: IAsset$4;
1424
- initial: IAsset$4;
1425
- minimum: IAsset$4;
1426
- org_initial: IAsset$4;
1427
- org_minimum: IAsset$4;
1428
- org_registration: IAsset$4;
1429
- }
1430
1437
  interface IPlotData {
1431
1438
  announce: string;
1432
1439
  description: string;
@@ -1447,11 +1454,20 @@ interface IReguser {
1447
1454
  registrator: IName$6;
1448
1455
  coopname: IName$6;
1449
1456
  username: IName$6;
1457
+ type: IName$6;
1450
1458
  }
1451
1459
  interface IUpdate$1 {
1452
1460
  username: IName$6;
1453
1461
  meta: string;
1454
1462
  }
1463
+ interface IUpdatecoop {
1464
+ coopname: IName$6;
1465
+ username: IName$6;
1466
+ initial: IAsset$4;
1467
+ minimum: IAsset$4;
1468
+ org_initial: IAsset$4;
1469
+ org_minimum: IAsset$4;
1470
+ }
1455
1471
  interface IVerificate {
1456
1472
  username: IName$6;
1457
1473
  procedure: IName$6;
@@ -1466,16 +1482,18 @@ interface IVerification {
1466
1482
  }
1467
1483
 
1468
1484
  type registrator_IChangekey = IChangekey;
1485
+ type registrator_ICheck = ICheck;
1469
1486
  type registrator_IConfirmreg = IConfirmreg;
1470
1487
  type registrator_IOrgData = IOrgData;
1471
1488
  type registrator_IPlotData = IPlotData;
1472
1489
  type registrator_IRegdepartmnt = IRegdepartmnt;
1473
1490
  type registrator_IRegorg = IRegorg;
1474
1491
  type registrator_IReguser = IReguser;
1492
+ type registrator_IUpdatecoop = IUpdatecoop;
1475
1493
  type registrator_IVerificate = IVerificate;
1476
1494
  type registrator_IVerification = IVerification;
1477
1495
  declare namespace registrator {
1478
- export type { IAccount$2 as IAccount, IAsset$4 as IAsset, IBalances$1 as IBalances, IBalancesBase$1 as IBalancesBase, registrator_IChangekey as IChangekey, IChecksum256$4 as IChecksum256, registrator_IConfirmreg as IConfirmreg, IDocument$2 as IDocument, IInit$5 as IInit, IJoincoop$1 as IJoincoop, IName$6 as IName, INewaccount$1 as INewaccount, registrator_IOrgData as IOrgData, IOrganization$1 as IOrganization, registrator_IPlotData as IPlotData, IPublicKey$3 as IPublicKey, registrator_IRegdepartmnt as IRegdepartmnt, registrator_IRegorg as IRegorg, registrator_IReguser as IReguser, ISignature$2 as ISignature, ITimePointSec$5 as ITimePointSec, IUint64$3 as IUint64, IUpdate$1 as IUpdate, registrator_IVerificate as IVerificate, registrator_IVerification as IVerification };
1496
+ export type { IAccount$2 as IAccount, IAsset$4 as IAsset, IBalances$1 as IBalances, IBalancesBase$1 as IBalancesBase, registrator_IChangekey as IChangekey, registrator_ICheck as ICheck, IChecksum256$4 as IChecksum256, registrator_IConfirmreg as IConfirmreg, ICooperative$1 as ICooperative, IDocument$2 as IDocument, IFix$1 as IFix, IInit$5 as IInit, IJoincoop$1 as IJoincoop, IName$6 as IName, INewaccount$1 as INewaccount, registrator_IOrgData as IOrgData, registrator_IPlotData as IPlotData, IPublicKey$3 as IPublicKey, registrator_IRegdepartmnt as IRegdepartmnt, registrator_IRegorg as IRegorg, registrator_IReguser as IReguser, ISignature$2 as ISignature, ITimePointSec$5 as ITimePointSec, IUint64$3 as IUint64, IUpdate$1 as IUpdate, registrator_IUpdatecoop as IUpdatecoop, registrator_IVerificate as IVerificate, registrator_IVerification as IVerification };
1479
1497
  }
1480
1498
 
1481
1499
  declare const authorizations$1Q: readonly [{
@@ -1716,13 +1734,13 @@ declare const scope$v: {
1716
1734
  };
1717
1735
  /**
1718
1736
  * @interface
1719
- * Таблица содержит реестр организаций-пайщиков кооператива.
1737
+ * Таблица содержит реестр кооперативов.
1720
1738
  */
1721
- type IOrganization = IOrganization$1;
1739
+ type ICooperative = ICooperative$1;
1722
1740
 
1723
- type organizations_IOrganization = IOrganization;
1724
- declare namespace organizations {
1725
- export { type organizations_IOrganization as IOrganization, scope$v as scope, tableName$v as tableName };
1741
+ type cooperatives_ICooperative = ICooperative;
1742
+ declare namespace cooperatives {
1743
+ export { type cooperatives_ICooperative as ICooperative, scope$v as scope, tableName$v as tableName };
1726
1744
  }
1727
1745
 
1728
1746
  /**
@@ -1731,7 +1749,7 @@ declare namespace organizations {
1731
1749
  */
1732
1750
 
1733
1751
  declare namespace index$u {
1734
- export { accounts as Accounts, organizations as Organizations };
1752
+ export { accounts as Accounts, cooperatives as Cooperatives };
1735
1753
  }
1736
1754
 
1737
1755
  declare const contractName$6: {
@@ -2173,6 +2191,8 @@ interface IExec$4 {
2173
2191
  coopname: IName$4;
2174
2192
  decision_id: IUint64$2;
2175
2193
  }
2194
+ interface IFix {
2195
+ }
2176
2196
  interface IFundwithdraw {
2177
2197
  coopname: IName$4;
2178
2198
  username: IName$4;
@@ -2191,7 +2211,6 @@ interface IJoincoops {
2191
2211
  id: IUint64$2;
2192
2212
  username: IName$4;
2193
2213
  is_paid: boolean;
2194
- statement: IDocument$1;
2195
2214
  notice: string;
2196
2215
  }
2197
2216
  interface INewact {
@@ -2247,6 +2266,7 @@ interface IParticipants$1 {
2247
2266
  is_initial: boolean;
2248
2267
  is_minimum: boolean;
2249
2268
  has_vote: boolean;
2269
+ type: IName$4;
2250
2270
  }
2251
2271
  interface IProgcomarket {
2252
2272
  id: IUint64$2;
@@ -2361,6 +2381,7 @@ type soviet_IDeladdress = IDeladdress;
2361
2381
  type soviet_IDisableprog = IDisableprog;
2362
2382
  type soviet_IEditaddress = IEditaddress;
2363
2383
  type soviet_IEditprog = IEditprog;
2384
+ type soviet_IFix = IFix;
2364
2385
  type soviet_IFundwithdraw = IFundwithdraw;
2365
2386
  type soviet_IJoincoop = IJoincoop;
2366
2387
  type soviet_IJoincoops = IJoincoops;
@@ -2387,7 +2408,7 @@ type soviet_IVoteagainst = IVoteagainst;
2387
2408
  type soviet_IVotefor = IVotefor;
2388
2409
  type soviet_IWithdraw = IWithdraw;
2389
2410
  declare namespace soviet {
2390
- export type { soviet_IAddbalance as IAddbalance, soviet_IAddprogbal as IAddprogbal, IAddress$1 as IAddress, soviet_IAddressData as IAddressData, soviet_IAddstaff as IAddstaff, IAsset$2 as IAsset, IAuthorize$3 as IAuthorize, IAutomate$1 as IAutomate, soviet_IAutomator as IAutomator, soviet_IAutosigner as IAutosigner, soviet_IBlockbal as IBlockbal, soviet_IBoardMember as IBoardMember, IBoards$1 as IBoards, soviet_ICancelvote as ICancelvote, soviet_IChange as IChange, IChanges$1 as IChanges, IChecksum256$3 as IChecksum256, ICounts$1 as ICounts, ICountsBase$1 as ICountsBase, soviet_ICreaddress as ICreaddress, ICreateboard$1 as ICreateboard, soviet_ICreateprog as ICreateprog, IDecision$1 as IDecision, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFundwithdraw as IFundwithdraw, IInit$3 as IInit, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, IName$4 as IName, soviet_INewact as INewact, soviet_INewbatch as INewbatch, soviet_INewdecision as INewdecision, soviet_INewprogram as INewprogram, soviet_INewresolved as INewresolved, soviet_INewsubmitted as INewsubmitted, soviet_IOnewallet as IOnewallet, IParticipants$1 as IParticipants, soviet_IProgcomarket as IProgcomarket, soviet_IProgwallet as IProgwallet, IPublicKey$2 as IPublicKey, soviet_IRecieved as IRecieved, soviet_IRegpaid as IRegpaid, soviet_IRight as IRight, soviet_IRmstaff as IRmstaff, soviet_ISetrights as ISetrights, ISignature$1 as ISignature, soviet_IStaff as IStaff, soviet_ISubbalance as ISubbalance, soviet_ISubprogbal as ISubprogbal, ITimePointSec$4 as ITimePointSec, IUint64$2 as IUint64, soviet_IUnblockbal as IUnblockbal, soviet_IUpdateboard as IUpdateboard, IValidate$1 as IValidate, soviet_IVoteagainst as IVoteagainst, soviet_IVotefor as IVotefor, soviet_IWithdraw as IWithdraw };
2411
+ export type { soviet_IAddbalance as IAddbalance, soviet_IAddprogbal as IAddprogbal, IAddress$1 as IAddress, soviet_IAddressData as IAddressData, soviet_IAddstaff as IAddstaff, IAsset$2 as IAsset, IAuthorize$3 as IAuthorize, IAutomate$1 as IAutomate, soviet_IAutomator as IAutomator, soviet_IAutosigner as IAutosigner, soviet_IBlockbal as IBlockbal, soviet_IBoardMember as IBoardMember, IBoards$1 as IBoards, soviet_ICancelvote as ICancelvote, soviet_IChange as IChange, IChanges$1 as IChanges, IChecksum256$3 as IChecksum256, ICounts$1 as ICounts, ICountsBase$1 as ICountsBase, soviet_ICreaddress as ICreaddress, ICreateboard$1 as ICreateboard, soviet_ICreateprog as ICreateprog, IDecision$1 as IDecision, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFix as IFix, soviet_IFundwithdraw as IFundwithdraw, IInit$3 as IInit, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, IName$4 as IName, soviet_INewact as INewact, soviet_INewbatch as INewbatch, soviet_INewdecision as INewdecision, soviet_INewprogram as INewprogram, soviet_INewresolved as INewresolved, soviet_INewsubmitted as INewsubmitted, soviet_IOnewallet as IOnewallet, IParticipants$1 as IParticipants, soviet_IProgcomarket as IProgcomarket, soviet_IProgwallet as IProgwallet, IPublicKey$2 as IPublicKey, soviet_IRecieved as IRecieved, soviet_IRegpaid as IRegpaid, soviet_IRight as IRight, soviet_IRmstaff as IRmstaff, soviet_ISetrights as ISetrights, ISignature$1 as ISignature, soviet_IStaff as IStaff, soviet_ISubbalance as ISubbalance, soviet_ISubprogbal as ISubprogbal, ITimePointSec$4 as ITimePointSec, IUint64$2 as IUint64, soviet_IUnblockbal as IUnblockbal, soviet_IUpdateboard as IUpdateboard, IValidate$1 as IValidate, soviet_IVoteagainst as IVoteagainst, soviet_IVotefor as IVotefor, soviet_IWithdraw as IWithdraw };
2391
2412
  }
2392
2413
 
2393
2414
  /**
@@ -6589,7 +6610,7 @@ declare namespace index$2 {
6589
6610
  export type { index$2_IAgenda as IAgenda, index$2_IChainDocument as IChainDocument, index$2_IComplexAct as IComplexAct, index$2_IComplexAgenda as IComplexAgenda, index$2_IComplexDecision as IComplexDecision, index$2_IComplexDocument as IComplexDocument, index$2_IComplexStatement as IComplexStatement, index$2_IGenerate as IGenerate, index$2_IGenerateJoinCoop as IGenerateJoinCoop, index$2_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$2_IGeneratedDocument as IGeneratedDocument, index$2_IGetComplexDocuments as IGetComplexDocuments, index$2_IMetaDocument as IMetaDocument, index$2_LangType as LangType };
6590
6611
  }
6591
6612
 
6592
- interface ICooperativeData extends IOrganizationData, IOrganization {
6613
+ interface ICooperativeData extends IOrganizationData, ICooperative {
6593
6614
  members: MembersData[];
6594
6615
  chairman: IIndividualData;
6595
6616
  totalMembers: number;
package/dist/index.d.ts CHANGED
@@ -985,18 +985,6 @@ interface IDeposit {
985
985
  type: IName$7;
986
986
  quantity: IAsset$5;
987
987
  }
988
- interface IDeposits$1 {
989
- id: IUint64$4;
990
- username: IName$7;
991
- coopname: IName$7;
992
- type: IName$7;
993
- token_contract: IName$7;
994
- quantity: IAsset$5;
995
- status: IName$7;
996
- link: string;
997
- memo: string;
998
- expired_at: ITimePointSec$6;
999
- }
1000
988
  interface IDocument$3 {
1001
989
  hash: IChecksum256$5;
1002
990
  public_key: IPublicKey$4;
@@ -1023,19 +1011,19 @@ interface INewwithdrid {
1023
1011
  username: IName$7;
1024
1012
  id: IUint64$4;
1025
1013
  }
1026
- interface IWithdraw$1 {
1027
- coopname: IName$7;
1014
+ interface IOnedeposit {
1015
+ id: IUint64$4;
1028
1016
  username: IName$7;
1017
+ coopname: IName$7;
1018
+ type: IName$7;
1019
+ token_contract: IName$7;
1029
1020
  quantity: IAsset$5;
1030
- document: IDocument$3;
1031
- bank_data_id: string;
1021
+ status: IName$7;
1022
+ link: string;
1032
1023
  memo: string;
1024
+ expired_at: ITimePointSec$6;
1033
1025
  }
1034
- interface IWithdrawauth {
1035
- coopname: IName$7;
1036
- withdraw_id: IUint64$4;
1037
- }
1038
- interface IWithdraws$1 {
1026
+ interface IOnewithdraw {
1039
1027
  id: IUint64$4;
1040
1028
  username: IName$7;
1041
1029
  coopname: IName$7;
@@ -1047,6 +1035,18 @@ interface IWithdraws$1 {
1047
1035
  memo: string;
1048
1036
  created_at: ITimePointSec$6;
1049
1037
  }
1038
+ interface IWithdraw$1 {
1039
+ coopname: IName$7;
1040
+ username: IName$7;
1041
+ quantity: IAsset$5;
1042
+ document: IDocument$3;
1043
+ bank_data_id: string;
1044
+ memo: string;
1045
+ }
1046
+ interface IWithdrawauth {
1047
+ coopname: IName$7;
1048
+ withdraw_id: IUint64$4;
1049
+ }
1050
1050
  interface IWthdcomplete {
1051
1051
  coopname: IName$7;
1052
1052
  admin: IName$7;
@@ -1065,11 +1065,13 @@ type gateway_IDpcomplete = IDpcomplete;
1065
1065
  type gateway_IDpfail = IDpfail;
1066
1066
  type gateway_INewdepositid = INewdepositid;
1067
1067
  type gateway_INewwithdrid = INewwithdrid;
1068
+ type gateway_IOnedeposit = IOnedeposit;
1069
+ type gateway_IOnewithdraw = IOnewithdraw;
1068
1070
  type gateway_IWithdrawauth = IWithdrawauth;
1069
1071
  type gateway_IWthdcomplete = IWthdcomplete;
1070
1072
  type gateway_IWthdfail = IWthdfail;
1071
1073
  declare namespace gateway {
1072
- export type { IAsset$5 as IAsset, IBalances$2 as IBalances, IBalancesBase$2 as IBalancesBase, IChecksum256$5 as IChecksum256, ICounts$2 as ICounts, ICountsBase$2 as ICountsBase, gateway_IDeposit as IDeposit, IDeposits$1 as IDeposits, IDocument$3 as IDocument, gateway_IDpcomplete as IDpcomplete, gateway_IDpfail as IDpfail, IName$7 as IName, gateway_INewdepositid as INewdepositid, gateway_INewwithdrid as INewwithdrid, IPublicKey$4 as IPublicKey, ISignature$3 as ISignature, ITimePointSec$6 as ITimePointSec, IUint64$4 as IUint64, IWithdraw$1 as IWithdraw, gateway_IWithdrawauth as IWithdrawauth, IWithdraws$1 as IWithdraws, gateway_IWthdcomplete as IWthdcomplete, gateway_IWthdfail as IWthdfail };
1074
+ export type { IAsset$5 as IAsset, IBalances$2 as IBalances, IBalancesBase$2 as IBalancesBase, IChecksum256$5 as IChecksum256, ICounts$2 as ICounts, ICountsBase$2 as ICountsBase, gateway_IDeposit as IDeposit, IDocument$3 as IDocument, gateway_IDpcomplete as IDpcomplete, gateway_IDpfail as IDpfail, IName$7 as IName, gateway_INewdepositid as INewdepositid, gateway_INewwithdrid as INewwithdrid, gateway_IOnedeposit as IOnedeposit, gateway_IOnewithdraw as IOnewithdraw, IPublicKey$4 as IPublicKey, ISignature$3 as ISignature, ITimePointSec$6 as ITimePointSec, IUint64$4 as IUint64, IWithdraw$1 as IWithdraw, gateway_IWithdrawauth as IWithdrawauth, gateway_IWthdcomplete as IWthdcomplete, gateway_IWthdfail as IWthdfail };
1073
1075
  }
1074
1076
 
1075
1077
  /**
@@ -1302,7 +1304,7 @@ declare const scope$y: {
1302
1304
  * @interface
1303
1305
  * Таблица содержит переводы черновиков документов.
1304
1306
  */
1305
- type IDeposits = IDeposits$1;
1307
+ type IDeposits = IOnedeposit;
1306
1308
 
1307
1309
  type deposits_IDeposits = IDeposits;
1308
1310
  declare namespace deposits {
@@ -1324,7 +1326,7 @@ declare const scope$x: {
1324
1326
  * @interface
1325
1327
  * Таблица содержит переводы черновиков документов.
1326
1328
  */
1327
- type IWithdraws = IWithdraws$1;
1329
+ type IWithdraws = IOnewithdraw;
1328
1330
 
1329
1331
  type withdraws_IWithdraws = IWithdraws;
1330
1332
  declare namespace withdraws {
@@ -1361,7 +1363,6 @@ interface IAccount$2 {
1361
1363
  storages: IName$6[];
1362
1364
  verifications: IVerification[];
1363
1365
  registered_at: ITimePointSec$5;
1364
- signature_expires_at: ITimePointSec$5;
1365
1366
  }
1366
1367
  interface IBalances$1 extends IBalancesBase$1 {
1367
1368
  }
@@ -1374,9 +1375,30 @@ interface IChangekey {
1374
1375
  username: IName$6;
1375
1376
  public_key: IPublicKey$3;
1376
1377
  }
1378
+ interface ICheck {
1379
+ hash: IChecksum256$4;
1380
+ public_key: IPublicKey$3;
1381
+ signature: ISignature$2;
1382
+ }
1377
1383
  interface IConfirmreg {
1378
1384
  coopname: IName$6;
1379
- member: IName$6;
1385
+ username: IName$6;
1386
+ }
1387
+ interface ICooperative$1 {
1388
+ username: IName$6;
1389
+ parent_username: IName$6;
1390
+ announce: string;
1391
+ description: string;
1392
+ is_cooperative: boolean;
1393
+ is_branched: boolean;
1394
+ is_enrolled: boolean;
1395
+ coop_type: IName$6;
1396
+ registration: IAsset$4;
1397
+ initial: IAsset$4;
1398
+ minimum: IAsset$4;
1399
+ org_registration: IAsset$4;
1400
+ org_initial: IAsset$4;
1401
+ org_minimum: IAsset$4;
1380
1402
  }
1381
1403
  interface IDocument$2 {
1382
1404
  hash: IChecksum256$4;
@@ -1384,6 +1406,8 @@ interface IDocument$2 {
1384
1406
  signature: ISignature$2;
1385
1407
  meta: string;
1386
1408
  }
1409
+ interface IFix$1 {
1410
+ }
1387
1411
  interface IInit$5 {
1388
1412
  }
1389
1413
  interface IJoincoop$1 {
@@ -1398,7 +1422,6 @@ interface INewaccount$1 {
1398
1422
  referer: IName$6;
1399
1423
  username: IName$6;
1400
1424
  public_key: IPublicKey$3;
1401
- signature_hash: string;
1402
1425
  meta: string;
1403
1426
  }
1404
1427
  interface IOrgData {
@@ -1411,22 +1434,6 @@ interface IOrgData {
1411
1434
  org_initial: IAsset$4;
1412
1435
  org_minimum: IAsset$4;
1413
1436
  }
1414
- interface IOrganization$1 {
1415
- username: IName$6;
1416
- parent_username: IName$6;
1417
- announce: string;
1418
- description: string;
1419
- is_cooperative: boolean;
1420
- is_branched: boolean;
1421
- is_enrolled: boolean;
1422
- coop_type: IName$6;
1423
- registration: IAsset$4;
1424
- initial: IAsset$4;
1425
- minimum: IAsset$4;
1426
- org_initial: IAsset$4;
1427
- org_minimum: IAsset$4;
1428
- org_registration: IAsset$4;
1429
- }
1430
1437
  interface IPlotData {
1431
1438
  announce: string;
1432
1439
  description: string;
@@ -1447,11 +1454,20 @@ interface IReguser {
1447
1454
  registrator: IName$6;
1448
1455
  coopname: IName$6;
1449
1456
  username: IName$6;
1457
+ type: IName$6;
1450
1458
  }
1451
1459
  interface IUpdate$1 {
1452
1460
  username: IName$6;
1453
1461
  meta: string;
1454
1462
  }
1463
+ interface IUpdatecoop {
1464
+ coopname: IName$6;
1465
+ username: IName$6;
1466
+ initial: IAsset$4;
1467
+ minimum: IAsset$4;
1468
+ org_initial: IAsset$4;
1469
+ org_minimum: IAsset$4;
1470
+ }
1455
1471
  interface IVerificate {
1456
1472
  username: IName$6;
1457
1473
  procedure: IName$6;
@@ -1466,16 +1482,18 @@ interface IVerification {
1466
1482
  }
1467
1483
 
1468
1484
  type registrator_IChangekey = IChangekey;
1485
+ type registrator_ICheck = ICheck;
1469
1486
  type registrator_IConfirmreg = IConfirmreg;
1470
1487
  type registrator_IOrgData = IOrgData;
1471
1488
  type registrator_IPlotData = IPlotData;
1472
1489
  type registrator_IRegdepartmnt = IRegdepartmnt;
1473
1490
  type registrator_IRegorg = IRegorg;
1474
1491
  type registrator_IReguser = IReguser;
1492
+ type registrator_IUpdatecoop = IUpdatecoop;
1475
1493
  type registrator_IVerificate = IVerificate;
1476
1494
  type registrator_IVerification = IVerification;
1477
1495
  declare namespace registrator {
1478
- export type { IAccount$2 as IAccount, IAsset$4 as IAsset, IBalances$1 as IBalances, IBalancesBase$1 as IBalancesBase, registrator_IChangekey as IChangekey, IChecksum256$4 as IChecksum256, registrator_IConfirmreg as IConfirmreg, IDocument$2 as IDocument, IInit$5 as IInit, IJoincoop$1 as IJoincoop, IName$6 as IName, INewaccount$1 as INewaccount, registrator_IOrgData as IOrgData, IOrganization$1 as IOrganization, registrator_IPlotData as IPlotData, IPublicKey$3 as IPublicKey, registrator_IRegdepartmnt as IRegdepartmnt, registrator_IRegorg as IRegorg, registrator_IReguser as IReguser, ISignature$2 as ISignature, ITimePointSec$5 as ITimePointSec, IUint64$3 as IUint64, IUpdate$1 as IUpdate, registrator_IVerificate as IVerificate, registrator_IVerification as IVerification };
1496
+ export type { IAccount$2 as IAccount, IAsset$4 as IAsset, IBalances$1 as IBalances, IBalancesBase$1 as IBalancesBase, registrator_IChangekey as IChangekey, registrator_ICheck as ICheck, IChecksum256$4 as IChecksum256, registrator_IConfirmreg as IConfirmreg, ICooperative$1 as ICooperative, IDocument$2 as IDocument, IFix$1 as IFix, IInit$5 as IInit, IJoincoop$1 as IJoincoop, IName$6 as IName, INewaccount$1 as INewaccount, registrator_IOrgData as IOrgData, registrator_IPlotData as IPlotData, IPublicKey$3 as IPublicKey, registrator_IRegdepartmnt as IRegdepartmnt, registrator_IRegorg as IRegorg, registrator_IReguser as IReguser, ISignature$2 as ISignature, ITimePointSec$5 as ITimePointSec, IUint64$3 as IUint64, IUpdate$1 as IUpdate, registrator_IUpdatecoop as IUpdatecoop, registrator_IVerificate as IVerificate, registrator_IVerification as IVerification };
1479
1497
  }
1480
1498
 
1481
1499
  declare const authorizations$1Q: readonly [{
@@ -1716,13 +1734,13 @@ declare const scope$v: {
1716
1734
  };
1717
1735
  /**
1718
1736
  * @interface
1719
- * Таблица содержит реестр организаций-пайщиков кооператива.
1737
+ * Таблица содержит реестр кооперативов.
1720
1738
  */
1721
- type IOrganization = IOrganization$1;
1739
+ type ICooperative = ICooperative$1;
1722
1740
 
1723
- type organizations_IOrganization = IOrganization;
1724
- declare namespace organizations {
1725
- export { type organizations_IOrganization as IOrganization, scope$v as scope, tableName$v as tableName };
1741
+ type cooperatives_ICooperative = ICooperative;
1742
+ declare namespace cooperatives {
1743
+ export { type cooperatives_ICooperative as ICooperative, scope$v as scope, tableName$v as tableName };
1726
1744
  }
1727
1745
 
1728
1746
  /**
@@ -1731,7 +1749,7 @@ declare namespace organizations {
1731
1749
  */
1732
1750
 
1733
1751
  declare namespace index$u {
1734
- export { accounts as Accounts, organizations as Organizations };
1752
+ export { accounts as Accounts, cooperatives as Cooperatives };
1735
1753
  }
1736
1754
 
1737
1755
  declare const contractName$6: {
@@ -2173,6 +2191,8 @@ interface IExec$4 {
2173
2191
  coopname: IName$4;
2174
2192
  decision_id: IUint64$2;
2175
2193
  }
2194
+ interface IFix {
2195
+ }
2176
2196
  interface IFundwithdraw {
2177
2197
  coopname: IName$4;
2178
2198
  username: IName$4;
@@ -2191,7 +2211,6 @@ interface IJoincoops {
2191
2211
  id: IUint64$2;
2192
2212
  username: IName$4;
2193
2213
  is_paid: boolean;
2194
- statement: IDocument$1;
2195
2214
  notice: string;
2196
2215
  }
2197
2216
  interface INewact {
@@ -2247,6 +2266,7 @@ interface IParticipants$1 {
2247
2266
  is_initial: boolean;
2248
2267
  is_minimum: boolean;
2249
2268
  has_vote: boolean;
2269
+ type: IName$4;
2250
2270
  }
2251
2271
  interface IProgcomarket {
2252
2272
  id: IUint64$2;
@@ -2361,6 +2381,7 @@ type soviet_IDeladdress = IDeladdress;
2361
2381
  type soviet_IDisableprog = IDisableprog;
2362
2382
  type soviet_IEditaddress = IEditaddress;
2363
2383
  type soviet_IEditprog = IEditprog;
2384
+ type soviet_IFix = IFix;
2364
2385
  type soviet_IFundwithdraw = IFundwithdraw;
2365
2386
  type soviet_IJoincoop = IJoincoop;
2366
2387
  type soviet_IJoincoops = IJoincoops;
@@ -2387,7 +2408,7 @@ type soviet_IVoteagainst = IVoteagainst;
2387
2408
  type soviet_IVotefor = IVotefor;
2388
2409
  type soviet_IWithdraw = IWithdraw;
2389
2410
  declare namespace soviet {
2390
- export type { soviet_IAddbalance as IAddbalance, soviet_IAddprogbal as IAddprogbal, IAddress$1 as IAddress, soviet_IAddressData as IAddressData, soviet_IAddstaff as IAddstaff, IAsset$2 as IAsset, IAuthorize$3 as IAuthorize, IAutomate$1 as IAutomate, soviet_IAutomator as IAutomator, soviet_IAutosigner as IAutosigner, soviet_IBlockbal as IBlockbal, soviet_IBoardMember as IBoardMember, IBoards$1 as IBoards, soviet_ICancelvote as ICancelvote, soviet_IChange as IChange, IChanges$1 as IChanges, IChecksum256$3 as IChecksum256, ICounts$1 as ICounts, ICountsBase$1 as ICountsBase, soviet_ICreaddress as ICreaddress, ICreateboard$1 as ICreateboard, soviet_ICreateprog as ICreateprog, IDecision$1 as IDecision, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFundwithdraw as IFundwithdraw, IInit$3 as IInit, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, IName$4 as IName, soviet_INewact as INewact, soviet_INewbatch as INewbatch, soviet_INewdecision as INewdecision, soviet_INewprogram as INewprogram, soviet_INewresolved as INewresolved, soviet_INewsubmitted as INewsubmitted, soviet_IOnewallet as IOnewallet, IParticipants$1 as IParticipants, soviet_IProgcomarket as IProgcomarket, soviet_IProgwallet as IProgwallet, IPublicKey$2 as IPublicKey, soviet_IRecieved as IRecieved, soviet_IRegpaid as IRegpaid, soviet_IRight as IRight, soviet_IRmstaff as IRmstaff, soviet_ISetrights as ISetrights, ISignature$1 as ISignature, soviet_IStaff as IStaff, soviet_ISubbalance as ISubbalance, soviet_ISubprogbal as ISubprogbal, ITimePointSec$4 as ITimePointSec, IUint64$2 as IUint64, soviet_IUnblockbal as IUnblockbal, soviet_IUpdateboard as IUpdateboard, IValidate$1 as IValidate, soviet_IVoteagainst as IVoteagainst, soviet_IVotefor as IVotefor, soviet_IWithdraw as IWithdraw };
2411
+ export type { soviet_IAddbalance as IAddbalance, soviet_IAddprogbal as IAddprogbal, IAddress$1 as IAddress, soviet_IAddressData as IAddressData, soviet_IAddstaff as IAddstaff, IAsset$2 as IAsset, IAuthorize$3 as IAuthorize, IAutomate$1 as IAutomate, soviet_IAutomator as IAutomator, soviet_IAutosigner as IAutosigner, soviet_IBlockbal as IBlockbal, soviet_IBoardMember as IBoardMember, IBoards$1 as IBoards, soviet_ICancelvote as ICancelvote, soviet_IChange as IChange, IChanges$1 as IChanges, IChecksum256$3 as IChecksum256, ICounts$1 as ICounts, ICountsBase$1 as ICountsBase, soviet_ICreaddress as ICreaddress, ICreateboard$1 as ICreateboard, soviet_ICreateprog as ICreateprog, IDecision$1 as IDecision, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFix as IFix, soviet_IFundwithdraw as IFundwithdraw, IInit$3 as IInit, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, IName$4 as IName, soviet_INewact as INewact, soviet_INewbatch as INewbatch, soviet_INewdecision as INewdecision, soviet_INewprogram as INewprogram, soviet_INewresolved as INewresolved, soviet_INewsubmitted as INewsubmitted, soviet_IOnewallet as IOnewallet, IParticipants$1 as IParticipants, soviet_IProgcomarket as IProgcomarket, soviet_IProgwallet as IProgwallet, IPublicKey$2 as IPublicKey, soviet_IRecieved as IRecieved, soviet_IRegpaid as IRegpaid, soviet_IRight as IRight, soviet_IRmstaff as IRmstaff, soviet_ISetrights as ISetrights, ISignature$1 as ISignature, soviet_IStaff as IStaff, soviet_ISubbalance as ISubbalance, soviet_ISubprogbal as ISubprogbal, ITimePointSec$4 as ITimePointSec, IUint64$2 as IUint64, soviet_IUnblockbal as IUnblockbal, soviet_IUpdateboard as IUpdateboard, IValidate$1 as IValidate, soviet_IVoteagainst as IVoteagainst, soviet_IVotefor as IVotefor, soviet_IWithdraw as IWithdraw };
2391
2412
  }
2392
2413
 
2393
2414
  /**
@@ -6589,7 +6610,7 @@ declare namespace index$2 {
6589
6610
  export type { index$2_IAgenda as IAgenda, index$2_IChainDocument as IChainDocument, index$2_IComplexAct as IComplexAct, index$2_IComplexAgenda as IComplexAgenda, index$2_IComplexDecision as IComplexDecision, index$2_IComplexDocument as IComplexDocument, index$2_IComplexStatement as IComplexStatement, index$2_IGenerate as IGenerate, index$2_IGenerateJoinCoop as IGenerateJoinCoop, index$2_IGenerateJoinCoopDecision as IGenerateJoinCoopDecision, index$2_IGeneratedDocument as IGeneratedDocument, index$2_IGetComplexDocuments as IGetComplexDocuments, index$2_IMetaDocument as IMetaDocument, index$2_LangType as LangType };
6590
6611
  }
6591
6612
 
6592
- interface ICooperativeData extends IOrganizationData, IOrganization {
6613
+ interface ICooperativeData extends IOrganizationData, ICooperative {
6593
6614
  members: MembersData[];
6594
6615
  chairman: IIndividualData;
6595
6616
  totalMembers: number;
package/dist/index.mjs CHANGED
@@ -629,7 +629,7 @@ const accounts = {
629
629
  const tableName$v = "orgs";
630
630
  const scope$v = _registrator;
631
631
 
632
- const organizations = {
632
+ const cooperatives = {
633
633
  __proto__: null,
634
634
  scope: scope$v,
635
635
  tableName: tableName$v
@@ -638,7 +638,7 @@ const organizations = {
638
638
  const index$u = {
639
639
  __proto__: null,
640
640
  Accounts: accounts,
641
- Organizations: organizations
641
+ Cooperatives: cooperatives
642
642
  };
643
643
 
644
644
  const registrator = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cooptypes",
3
3
  "type": "module",
4
- "version": "1.0.15",
4
+ "version": "1.0.16",
5
5
  "description": "_description_",
6
6
  "author": "Alex Ant <dacom.dark.sun@gmail.com>",
7
7
  "license": "MIT",
@@ -73,5 +73,5 @@
73
73
  "lint-staged": {
74
74
  "*": "eslint --fix"
75
75
  },
76
- "gitHead": "df94c7f30ae2c14682f4a064efcabc972ef5248f"
76
+ "gitHead": "0cd1af0cf1228f16de03d5d100db14a6a8e74f2b"
77
77
  }