cooptypes 0.5.11 → 0.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -173,7 +173,7 @@ const index$x = {
173
173
  Translations: translations
174
174
  };
175
175
 
176
- const draft$1 = {
176
+ const draft = {
177
177
  __proto__: null
178
178
  };
179
179
 
@@ -182,7 +182,7 @@ const contractName$9 = _draft;
182
182
  const index$w = {
183
183
  __proto__: null,
184
184
  Actions: index$y,
185
- Interfaces: draft$1,
185
+ Interfaces: draft,
186
186
  Tables: index$x,
187
187
  contractName: contractName$9
188
188
  };
@@ -750,54 +750,54 @@ const index$k = {
750
750
  };
751
751
 
752
752
  const authorizations$1w = [{ permissions: [active], actor: _soviet }];
753
- const actionName$1w = "draft";
753
+ const actionName$1w = "newdraft";
754
754
 
755
- const draft = {
755
+ const newdraft = {
756
756
  __proto__: null,
757
757
  actionName: actionName$1w,
758
758
  authorizations: authorizations$1w
759
759
  };
760
760
 
761
761
  const authorizations$1v = [{ permissions: [active], actor: _soviet }];
762
- const actionName$1v = "batch";
762
+ const actionName$1v = "newbatch";
763
763
 
764
- const batch = {
764
+ const newbatch = {
765
765
  __proto__: null,
766
766
  actionName: actionName$1v,
767
767
  authorizations: authorizations$1v
768
768
  };
769
769
 
770
770
  const authorizations$1u = [{ permissions: [active], actor: _soviet }];
771
- const actionName$1u = "statement";
771
+ const actionName$1u = "newstatement";
772
772
 
773
- const statement = {
773
+ const newstatement = {
774
774
  __proto__: null,
775
775
  actionName: actionName$1u,
776
776
  authorizations: authorizations$1u
777
777
  };
778
778
 
779
779
  const authorizations$1t = [{ permissions: [active], actor: _soviet }];
780
- const actionName$1t = "act";
780
+ const actionName$1t = "newact";
781
781
 
782
- const act = {
782
+ const newact = {
783
783
  __proto__: null,
784
784
  actionName: actionName$1t,
785
785
  authorizations: authorizations$1t
786
786
  };
787
787
 
788
788
  const authorizations$1s = [{ permissions: [active], actor: _soviet }];
789
- const actionName$1s = "decision";
789
+ const actionName$1s = "newdecision";
790
790
 
791
- const decision = {
791
+ const newdecision = {
792
792
  __proto__: null,
793
793
  actionName: actionName$1s,
794
794
  authorizations: authorizations$1s
795
795
  };
796
796
 
797
797
  const authorizations$1r = [{ permissions: [active], actor: _soviet }];
798
- const actionName$1r = "program";
798
+ const actionName$1r = "newprogram";
799
799
 
800
- const program = {
800
+ const newprogram = {
801
801
  __proto__: null,
802
802
  actionName: actionName$1r,
803
803
  authorizations: authorizations$1r
@@ -805,12 +805,12 @@ const program = {
805
805
 
806
806
  const index$j = {
807
807
  __proto__: null,
808
- Act: act,
809
- Batch: batch,
810
- Decision: decision,
811
- Draft: draft,
812
- Program: program,
813
- Statement: statement
808
+ Draft: newdraft,
809
+ NewAct: newact,
810
+ NewBatch: newbatch,
811
+ NewDecision: newdecision,
812
+ NewProgram: newprogram,
813
+ NewStatement: newstatement
814
814
  };
815
815
 
816
816
  const authorizations$1q = [{ permissions: [active], actor: _chairman }];
package/dist/index.d.cts CHANGED
@@ -188,14 +188,14 @@ interface ITranslation$1 {
188
188
  is_approved: boolean;
189
189
  }
190
190
 
191
- type draft$1_ICreatedraft = ICreatedraft;
192
- type draft$1_ICreatetrans = ICreatetrans;
193
- type draft$1_IDeldraft = IDeldraft;
194
- type draft$1_IDeltrans = IDeltrans;
195
- type draft$1_IEdittrans = IEdittrans;
196
- type draft$1_IOnedraft = IOnedraft;
197
- declare namespace draft$1 {
198
- export type { ICounts$4 as ICounts, ICountsBase$4 as ICountsBase, draft$1_ICreatedraft as ICreatedraft, draft$1_ICreatetrans as ICreatetrans, draft$1_IDeldraft as IDeldraft, draft$1_IDeltrans as IDeltrans, draft$1_IEdittrans as IEdittrans, IName$9 as IName, INewid$1 as INewid, draft$1_IOnedraft as IOnedraft, ITranslation$1 as ITranslation, IUint64$6 as IUint64 };
191
+ type draft_ICreatedraft = ICreatedraft;
192
+ type draft_ICreatetrans = ICreatetrans;
193
+ type draft_IDeldraft = IDeldraft;
194
+ type draft_IDeltrans = IDeltrans;
195
+ type draft_IEdittrans = IEdittrans;
196
+ type draft_IOnedraft = IOnedraft;
197
+ declare namespace draft {
198
+ export type { ICounts$4 as ICounts, ICountsBase$4 as ICountsBase, draft_ICreatedraft as ICreatedraft, draft_ICreatetrans as ICreatetrans, draft_IDeldraft as IDeldraft, draft_IDeltrans as IDeltrans, draft_IEdittrans as IEdittrans, IName$9 as IName, INewid$1 as INewid, draft_IOnedraft as IOnedraft, ITranslation$1 as ITranslation, IUint64$6 as IUint64 };
199
199
  }
200
200
 
201
201
  declare const authorizations$2a: readonly [{
@@ -321,10 +321,11 @@ declare const scope$E = "_contract";
321
321
  * @interface
322
322
  * Таблица содержит переводы черновиков документов.
323
323
  */
324
- type IDraft$2 = IOnedraft;
324
+ type IDraft = IOnedraft;
325
325
 
326
+ type drafts_IDraft = IDraft;
326
327
  declare namespace drafts {
327
- export { type IDraft$2 as IDraft, scope$E as scope, tableName$E as tableName };
328
+ export { type drafts_IDraft as IDraft, scope$E as scope, tableName$E as tableName };
328
329
  }
329
330
 
330
331
  /**
@@ -356,7 +357,7 @@ declare const contractName$9: {
356
357
  };
357
358
 
358
359
  declare namespace index$w {
359
- export { index$y as Actions, draft$1 as Interfaces, index$x as Tables, contractName$9 as contractName };
360
+ export { index$y as Actions, draft as Interfaces, index$x as Tables, contractName$9 as contractName };
360
361
  }
361
362
 
362
363
  type IAsset$6 = string;
@@ -1426,6 +1427,7 @@ interface IOrganization$1 {
1426
1427
  announce: string;
1427
1428
  description: string;
1428
1429
  is_cooperative: boolean;
1430
+ is_branched: boolean;
1429
1431
  coop_type: IName$6;
1430
1432
  registration: IAsset$4;
1431
1433
  initial: IAsset$4;
@@ -1958,13 +1960,6 @@ type IPublicKey$2 = string;
1958
1960
  type ISignature$1 = string;
1959
1961
  type ITimePointSec$4 = string;
1960
1962
  type IUint64$2 = number | string;
1961
- interface IAct$1 {
1962
- coopname: IName$4;
1963
- username: IName$4;
1964
- action: IName$4;
1965
- decision_id: IUint64$2;
1966
- document: IDocument$1;
1967
- }
1968
1963
  interface IAddbalance {
1969
1964
  coopname: IName$4;
1970
1965
  username: IName$4;
@@ -2031,11 +2026,6 @@ interface IAutomator {
2031
2026
  interface IAutosigner {
2032
2027
  decision_id: IUint64$2;
2033
2028
  }
2034
- interface IBatch$1 {
2035
- coopname: IName$4;
2036
- action: IName$4;
2037
- batch_id: IUint64$2;
2038
- }
2039
2029
  interface IBlockbal {
2040
2030
  coopname: IName$4;
2041
2031
  username: IName$4;
@@ -2109,7 +2099,7 @@ interface ICreateprog {
2109
2099
  fixed_membership_contribution: IAsset$2;
2110
2100
  membership_percent_fee: IUint64$2;
2111
2101
  }
2112
- interface IDecision$2 {
2102
+ interface IDecision$1 {
2113
2103
  id: IUint64$2;
2114
2104
  coopname: IName$4;
2115
2105
  username: IName$4;
@@ -2144,11 +2134,6 @@ interface IDocument$1 {
2144
2134
  signature: ISignature$1;
2145
2135
  meta: string;
2146
2136
  }
2147
- interface IDraft$1 {
2148
- coopname: IName$4;
2149
- username: IName$4;
2150
- decision_id: IUint64$2;
2151
- }
2152
2137
  interface IEditaddress {
2153
2138
  coopname: IName$4;
2154
2139
  chairman: IName$4;
@@ -2192,6 +2177,41 @@ interface IJoincoops {
2192
2177
  statement: IDocument$1;
2193
2178
  notice: string;
2194
2179
  }
2180
+ interface INewact {
2181
+ coopname: IName$4;
2182
+ username: IName$4;
2183
+ action: IName$4;
2184
+ decision_id: IUint64$2;
2185
+ document: IDocument$1;
2186
+ }
2187
+ interface INewbatch {
2188
+ coopname: IName$4;
2189
+ action: IName$4;
2190
+ batch_id: IUint64$2;
2191
+ }
2192
+ interface INewdecision {
2193
+ coopname: IName$4;
2194
+ username: IName$4;
2195
+ action: IName$4;
2196
+ decision_id: IUint64$2;
2197
+ document: IDocument$1;
2198
+ }
2199
+ interface INewdraft {
2200
+ coopname: IName$4;
2201
+ username: IName$4;
2202
+ decision_id: IUint64$2;
2203
+ }
2204
+ interface INewprogram {
2205
+ coopname: IName$4;
2206
+ program_id: IUint64$2;
2207
+ }
2208
+ interface INewstatement {
2209
+ coopname: IName$4;
2210
+ username: IName$4;
2211
+ action: IName$4;
2212
+ decision_id: IUint64$2;
2213
+ document: IDocument$1;
2214
+ }
2195
2215
  interface IOnewallet {
2196
2216
  username: IName$4;
2197
2217
  coopname: IName$4;
@@ -2223,10 +2243,6 @@ interface IProgcomarket {
2223
2243
  membership_percent_fee: IUint64$2;
2224
2244
  fixed_membership_contribution: IAsset$2;
2225
2245
  }
2226
- interface IProgram$1 {
2227
- coopname: IName$4;
2228
- program_id: IUint64$2;
2229
- }
2230
2246
  interface IProgwallet {
2231
2247
  id: IUint64$2;
2232
2248
  coopname: IName$4;
@@ -2265,13 +2281,6 @@ interface IStaff {
2265
2281
  created_at: ITimePointSec$4;
2266
2282
  updated_at: ITimePointSec$4;
2267
2283
  }
2268
- interface IStatement$1 {
2269
- coopname: IName$4;
2270
- username: IName$4;
2271
- action: IName$4;
2272
- decision_id: IUint64$2;
2273
- document: IDocument$1;
2274
- }
2275
2284
  interface ISubbalance {
2276
2285
  coopname: IName$4;
2277
2286
  username: IName$4;
@@ -2336,6 +2345,12 @@ type soviet_IEditprog = IEditprog;
2336
2345
  type soviet_IFundwithdraw = IFundwithdraw;
2337
2346
  type soviet_IJoincoop = IJoincoop;
2338
2347
  type soviet_IJoincoops = IJoincoops;
2348
+ type soviet_INewact = INewact;
2349
+ type soviet_INewbatch = INewbatch;
2350
+ type soviet_INewdecision = INewdecision;
2351
+ type soviet_INewdraft = INewdraft;
2352
+ type soviet_INewprogram = INewprogram;
2353
+ type soviet_INewstatement = INewstatement;
2339
2354
  type soviet_IOnewallet = IOnewallet;
2340
2355
  type soviet_IProgcomarket = IProgcomarket;
2341
2356
  type soviet_IProgwallet = IProgwallet;
@@ -2353,7 +2368,7 @@ type soviet_IVoteagainst = IVoteagainst;
2353
2368
  type soviet_IVotefor = IVotefor;
2354
2369
  type soviet_IWithdraw = IWithdraw;
2355
2370
  declare namespace soviet {
2356
- export type { IAct$1 as IAct, 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, IBatch$1 as IBatch, 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$2 as IDecision, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, IDraft$1 as IDraft, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFundwithdraw as IFundwithdraw, IInit$2 as IInit, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, IName$4 as IName, soviet_IOnewallet as IOnewallet, IParticipants$1 as IParticipants, soviet_IProgcomarket as IProgcomarket, IProgram$1 as IProgram, 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, IStatement$1 as IStatement, 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 };
2371
+ 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$2 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_INewdraft as INewdraft, soviet_INewprogram as INewprogram, soviet_INewstatement as INewstatement, 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 };
2357
2372
  }
2358
2373
 
2359
2374
  /**
@@ -2369,16 +2384,16 @@ declare const authorizations$1w: readonly [{
2369
2384
  /**
2370
2385
  * Имя действия
2371
2386
  */
2372
- declare const actionName$1w = "draft";
2387
+ declare const actionName$1w = "newdraft";
2373
2388
  /**
2374
2389
  * @interface
2375
2390
  * Действие фиксирует документ в реестре перед отправкой в совет.
2376
2391
  */
2377
- type IDraft = IDraft$1;
2392
+ type INewDraft = INewdraft;
2378
2393
 
2379
- type draft_IDraft = IDraft;
2380
- declare namespace draft {
2381
- export { type draft_IDraft as IDraft, actionName$1w as actionName, authorizations$1w as authorizations };
2394
+ type newdraft_INewDraft = INewDraft;
2395
+ declare namespace newdraft {
2396
+ export { type newdraft_INewDraft as INewDraft, actionName$1w as actionName, authorizations$1w as authorizations };
2382
2397
  }
2383
2398
 
2384
2399
  /**
@@ -2394,16 +2409,16 @@ declare const authorizations$1v: readonly [{
2394
2409
  /**
2395
2410
  * Имя действия
2396
2411
  */
2397
- declare const actionName$1v = "batch";
2412
+ declare const actionName$1v = "newbatch";
2398
2413
  /**
2399
2414
  * @interface
2400
2415
  * Действие фиксирует связанную группу подписанных документов, которые отправляются в совет на голосование.
2401
2416
  */
2402
- type IBatch = IBatch$1;
2417
+ type INewBatch = INewbatch;
2403
2418
 
2404
- type batch_IBatch = IBatch;
2405
- declare namespace batch {
2406
- export { type batch_IBatch as IBatch, actionName$1v as actionName, authorizations$1v as authorizations };
2419
+ type newbatch_INewBatch = INewBatch;
2420
+ declare namespace newbatch {
2421
+ export { type newbatch_INewBatch as INewBatch, actionName$1v as actionName, authorizations$1v as authorizations };
2407
2422
  }
2408
2423
 
2409
2424
  /**
@@ -2419,17 +2434,17 @@ declare const authorizations$1u: readonly [{
2419
2434
  /**
2420
2435
  * Имя действия
2421
2436
  */
2422
- declare const actionName$1u = "statement";
2437
+ declare const actionName$1u = "newstatement";
2423
2438
  /**
2424
2439
  * @interface
2425
2440
  * Действие фиксирует принятое заявление в реестре после принятия решения советом кооператива.
2426
2441
  * @private
2427
2442
  */
2428
- type IStatement = IStatement$1;
2443
+ type INewStatement = INewstatement;
2429
2444
 
2430
- type statement_IStatement = IStatement;
2431
- declare namespace statement {
2432
- export { type statement_IStatement as IStatement, actionName$1u as actionName, authorizations$1u as authorizations };
2445
+ type newstatement_INewStatement = INewStatement;
2446
+ declare namespace newstatement {
2447
+ export { type newstatement_INewStatement as INewStatement, actionName$1u as actionName, authorizations$1u as authorizations };
2433
2448
  }
2434
2449
 
2435
2450
  /**
@@ -2445,16 +2460,16 @@ declare const authorizations$1t: readonly [{
2445
2460
  /**
2446
2461
  * Имя действия
2447
2462
  */
2448
- declare const actionName$1t = "act";
2463
+ declare const actionName$1t = "newact";
2449
2464
  /**
2450
2465
  * @interface
2451
2466
  * Действие фиксирует в реестре подписанные акты приёма-передачи имущества.
2452
2467
  */
2453
- type IAct = IAct$1;
2468
+ type INewAct = INewact;
2454
2469
 
2455
- type act_IAct = IAct;
2456
- declare namespace act {
2457
- export { type act_IAct as IAct, actionName$1t as actionName, authorizations$1t as authorizations };
2470
+ type newact_INewAct = INewAct;
2471
+ declare namespace newact {
2472
+ export { type newact_INewAct as INewAct, actionName$1t as actionName, authorizations$1t as authorizations };
2458
2473
  }
2459
2474
 
2460
2475
  /**
@@ -2470,15 +2485,16 @@ declare const authorizations$1s: readonly [{
2470
2485
  /**
2471
2486
  * Имя действия
2472
2487
  */
2473
- declare const actionName$1s = "decision";
2488
+ declare const actionName$1s = "newdecision";
2474
2489
  /**
2475
2490
  * @interface
2476
2491
  * Действие фиксирует в реестре принятое решение совета.
2477
2492
  */
2478
- type IDecision$1 = IDecision$2;
2493
+ type INewDecision = INewdecision;
2479
2494
 
2480
- declare namespace decision {
2481
- export { type IDecision$1 as IDecision, actionName$1s as actionName, authorizations$1s as authorizations };
2495
+ type newdecision_INewDecision = INewDecision;
2496
+ declare namespace newdecision {
2497
+ export { type newdecision_INewDecision as INewDecision, actionName$1s as actionName, authorizations$1s as authorizations };
2482
2498
  }
2483
2499
 
2484
2500
  /**
@@ -2494,16 +2510,16 @@ declare const authorizations$1r: readonly [{
2494
2510
  /**
2495
2511
  * Имя действия
2496
2512
  */
2497
- declare const actionName$1r = "program";
2513
+ declare const actionName$1r = "newprogram";
2498
2514
  /**
2499
2515
  * @interface
2500
2516
  * Действие фиксирует созданную программу после создания и возвращает её идентификатор
2501
2517
  */
2502
- type IProgram = IProgram$1;
2518
+ type INewProgram = INewprogram;
2503
2519
 
2504
- type program_IProgram = IProgram;
2505
- declare namespace program {
2506
- export { type program_IProgram as IProgram, actionName$1r as actionName, authorizations$1r as authorizations };
2520
+ type newprogram_INewProgram = INewProgram;
2521
+ declare namespace newprogram {
2522
+ export { type newprogram_INewProgram as INewProgram, actionName$1r as actionName, authorizations$1r as authorizations };
2507
2523
  }
2508
2524
 
2509
2525
  /**
@@ -2512,7 +2528,7 @@ declare namespace program {
2512
2528
  */
2513
2529
 
2514
2530
  declare namespace index$j {
2515
- export { act as Act, batch as Batch, decision as Decision, draft as Draft, program as Program, statement as Statement };
2531
+ export { newdraft as Draft, newact as NewAct, newbatch as NewBatch, newdecision as NewDecision, newprogram as NewProgram, newstatement as NewStatement };
2516
2532
  }
2517
2533
 
2518
2534
  /**
@@ -3381,7 +3397,7 @@ declare const scope$m = "_coopname";
3381
3397
  /**
3382
3398
  * @interface
3383
3399
  */
3384
- type IDecision = IDecision$2;
3400
+ type IDecision = IDecision$1;
3385
3401
 
3386
3402
  type decisions_IDecision = IDecision;
3387
3403
  declare namespace decisions {
package/dist/index.d.mts CHANGED
@@ -188,14 +188,14 @@ interface ITranslation$1 {
188
188
  is_approved: boolean;
189
189
  }
190
190
 
191
- type draft$1_ICreatedraft = ICreatedraft;
192
- type draft$1_ICreatetrans = ICreatetrans;
193
- type draft$1_IDeldraft = IDeldraft;
194
- type draft$1_IDeltrans = IDeltrans;
195
- type draft$1_IEdittrans = IEdittrans;
196
- type draft$1_IOnedraft = IOnedraft;
197
- declare namespace draft$1 {
198
- export type { ICounts$4 as ICounts, ICountsBase$4 as ICountsBase, draft$1_ICreatedraft as ICreatedraft, draft$1_ICreatetrans as ICreatetrans, draft$1_IDeldraft as IDeldraft, draft$1_IDeltrans as IDeltrans, draft$1_IEdittrans as IEdittrans, IName$9 as IName, INewid$1 as INewid, draft$1_IOnedraft as IOnedraft, ITranslation$1 as ITranslation, IUint64$6 as IUint64 };
191
+ type draft_ICreatedraft = ICreatedraft;
192
+ type draft_ICreatetrans = ICreatetrans;
193
+ type draft_IDeldraft = IDeldraft;
194
+ type draft_IDeltrans = IDeltrans;
195
+ type draft_IEdittrans = IEdittrans;
196
+ type draft_IOnedraft = IOnedraft;
197
+ declare namespace draft {
198
+ export type { ICounts$4 as ICounts, ICountsBase$4 as ICountsBase, draft_ICreatedraft as ICreatedraft, draft_ICreatetrans as ICreatetrans, draft_IDeldraft as IDeldraft, draft_IDeltrans as IDeltrans, draft_IEdittrans as IEdittrans, IName$9 as IName, INewid$1 as INewid, draft_IOnedraft as IOnedraft, ITranslation$1 as ITranslation, IUint64$6 as IUint64 };
199
199
  }
200
200
 
201
201
  declare const authorizations$2a: readonly [{
@@ -321,10 +321,11 @@ declare const scope$E = "_contract";
321
321
  * @interface
322
322
  * Таблица содержит переводы черновиков документов.
323
323
  */
324
- type IDraft$2 = IOnedraft;
324
+ type IDraft = IOnedraft;
325
325
 
326
+ type drafts_IDraft = IDraft;
326
327
  declare namespace drafts {
327
- export { type IDraft$2 as IDraft, scope$E as scope, tableName$E as tableName };
328
+ export { type drafts_IDraft as IDraft, scope$E as scope, tableName$E as tableName };
328
329
  }
329
330
 
330
331
  /**
@@ -356,7 +357,7 @@ declare const contractName$9: {
356
357
  };
357
358
 
358
359
  declare namespace index$w {
359
- export { index$y as Actions, draft$1 as Interfaces, index$x as Tables, contractName$9 as contractName };
360
+ export { index$y as Actions, draft as Interfaces, index$x as Tables, contractName$9 as contractName };
360
361
  }
361
362
 
362
363
  type IAsset$6 = string;
@@ -1426,6 +1427,7 @@ interface IOrganization$1 {
1426
1427
  announce: string;
1427
1428
  description: string;
1428
1429
  is_cooperative: boolean;
1430
+ is_branched: boolean;
1429
1431
  coop_type: IName$6;
1430
1432
  registration: IAsset$4;
1431
1433
  initial: IAsset$4;
@@ -1958,13 +1960,6 @@ type IPublicKey$2 = string;
1958
1960
  type ISignature$1 = string;
1959
1961
  type ITimePointSec$4 = string;
1960
1962
  type IUint64$2 = number | string;
1961
- interface IAct$1 {
1962
- coopname: IName$4;
1963
- username: IName$4;
1964
- action: IName$4;
1965
- decision_id: IUint64$2;
1966
- document: IDocument$1;
1967
- }
1968
1963
  interface IAddbalance {
1969
1964
  coopname: IName$4;
1970
1965
  username: IName$4;
@@ -2031,11 +2026,6 @@ interface IAutomator {
2031
2026
  interface IAutosigner {
2032
2027
  decision_id: IUint64$2;
2033
2028
  }
2034
- interface IBatch$1 {
2035
- coopname: IName$4;
2036
- action: IName$4;
2037
- batch_id: IUint64$2;
2038
- }
2039
2029
  interface IBlockbal {
2040
2030
  coopname: IName$4;
2041
2031
  username: IName$4;
@@ -2109,7 +2099,7 @@ interface ICreateprog {
2109
2099
  fixed_membership_contribution: IAsset$2;
2110
2100
  membership_percent_fee: IUint64$2;
2111
2101
  }
2112
- interface IDecision$2 {
2102
+ interface IDecision$1 {
2113
2103
  id: IUint64$2;
2114
2104
  coopname: IName$4;
2115
2105
  username: IName$4;
@@ -2144,11 +2134,6 @@ interface IDocument$1 {
2144
2134
  signature: ISignature$1;
2145
2135
  meta: string;
2146
2136
  }
2147
- interface IDraft$1 {
2148
- coopname: IName$4;
2149
- username: IName$4;
2150
- decision_id: IUint64$2;
2151
- }
2152
2137
  interface IEditaddress {
2153
2138
  coopname: IName$4;
2154
2139
  chairman: IName$4;
@@ -2192,6 +2177,41 @@ interface IJoincoops {
2192
2177
  statement: IDocument$1;
2193
2178
  notice: string;
2194
2179
  }
2180
+ interface INewact {
2181
+ coopname: IName$4;
2182
+ username: IName$4;
2183
+ action: IName$4;
2184
+ decision_id: IUint64$2;
2185
+ document: IDocument$1;
2186
+ }
2187
+ interface INewbatch {
2188
+ coopname: IName$4;
2189
+ action: IName$4;
2190
+ batch_id: IUint64$2;
2191
+ }
2192
+ interface INewdecision {
2193
+ coopname: IName$4;
2194
+ username: IName$4;
2195
+ action: IName$4;
2196
+ decision_id: IUint64$2;
2197
+ document: IDocument$1;
2198
+ }
2199
+ interface INewdraft {
2200
+ coopname: IName$4;
2201
+ username: IName$4;
2202
+ decision_id: IUint64$2;
2203
+ }
2204
+ interface INewprogram {
2205
+ coopname: IName$4;
2206
+ program_id: IUint64$2;
2207
+ }
2208
+ interface INewstatement {
2209
+ coopname: IName$4;
2210
+ username: IName$4;
2211
+ action: IName$4;
2212
+ decision_id: IUint64$2;
2213
+ document: IDocument$1;
2214
+ }
2195
2215
  interface IOnewallet {
2196
2216
  username: IName$4;
2197
2217
  coopname: IName$4;
@@ -2223,10 +2243,6 @@ interface IProgcomarket {
2223
2243
  membership_percent_fee: IUint64$2;
2224
2244
  fixed_membership_contribution: IAsset$2;
2225
2245
  }
2226
- interface IProgram$1 {
2227
- coopname: IName$4;
2228
- program_id: IUint64$2;
2229
- }
2230
2246
  interface IProgwallet {
2231
2247
  id: IUint64$2;
2232
2248
  coopname: IName$4;
@@ -2265,13 +2281,6 @@ interface IStaff {
2265
2281
  created_at: ITimePointSec$4;
2266
2282
  updated_at: ITimePointSec$4;
2267
2283
  }
2268
- interface IStatement$1 {
2269
- coopname: IName$4;
2270
- username: IName$4;
2271
- action: IName$4;
2272
- decision_id: IUint64$2;
2273
- document: IDocument$1;
2274
- }
2275
2284
  interface ISubbalance {
2276
2285
  coopname: IName$4;
2277
2286
  username: IName$4;
@@ -2336,6 +2345,12 @@ type soviet_IEditprog = IEditprog;
2336
2345
  type soviet_IFundwithdraw = IFundwithdraw;
2337
2346
  type soviet_IJoincoop = IJoincoop;
2338
2347
  type soviet_IJoincoops = IJoincoops;
2348
+ type soviet_INewact = INewact;
2349
+ type soviet_INewbatch = INewbatch;
2350
+ type soviet_INewdecision = INewdecision;
2351
+ type soviet_INewdraft = INewdraft;
2352
+ type soviet_INewprogram = INewprogram;
2353
+ type soviet_INewstatement = INewstatement;
2339
2354
  type soviet_IOnewallet = IOnewallet;
2340
2355
  type soviet_IProgcomarket = IProgcomarket;
2341
2356
  type soviet_IProgwallet = IProgwallet;
@@ -2353,7 +2368,7 @@ type soviet_IVoteagainst = IVoteagainst;
2353
2368
  type soviet_IVotefor = IVotefor;
2354
2369
  type soviet_IWithdraw = IWithdraw;
2355
2370
  declare namespace soviet {
2356
- export type { IAct$1 as IAct, 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, IBatch$1 as IBatch, 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$2 as IDecision, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, IDraft$1 as IDraft, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFundwithdraw as IFundwithdraw, IInit$2 as IInit, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, IName$4 as IName, soviet_IOnewallet as IOnewallet, IParticipants$1 as IParticipants, soviet_IProgcomarket as IProgcomarket, IProgram$1 as IProgram, 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, IStatement$1 as IStatement, 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 };
2371
+ 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$2 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_INewdraft as INewdraft, soviet_INewprogram as INewprogram, soviet_INewstatement as INewstatement, 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 };
2357
2372
  }
2358
2373
 
2359
2374
  /**
@@ -2369,16 +2384,16 @@ declare const authorizations$1w: readonly [{
2369
2384
  /**
2370
2385
  * Имя действия
2371
2386
  */
2372
- declare const actionName$1w = "draft";
2387
+ declare const actionName$1w = "newdraft";
2373
2388
  /**
2374
2389
  * @interface
2375
2390
  * Действие фиксирует документ в реестре перед отправкой в совет.
2376
2391
  */
2377
- type IDraft = IDraft$1;
2392
+ type INewDraft = INewdraft;
2378
2393
 
2379
- type draft_IDraft = IDraft;
2380
- declare namespace draft {
2381
- export { type draft_IDraft as IDraft, actionName$1w as actionName, authorizations$1w as authorizations };
2394
+ type newdraft_INewDraft = INewDraft;
2395
+ declare namespace newdraft {
2396
+ export { type newdraft_INewDraft as INewDraft, actionName$1w as actionName, authorizations$1w as authorizations };
2382
2397
  }
2383
2398
 
2384
2399
  /**
@@ -2394,16 +2409,16 @@ declare const authorizations$1v: readonly [{
2394
2409
  /**
2395
2410
  * Имя действия
2396
2411
  */
2397
- declare const actionName$1v = "batch";
2412
+ declare const actionName$1v = "newbatch";
2398
2413
  /**
2399
2414
  * @interface
2400
2415
  * Действие фиксирует связанную группу подписанных документов, которые отправляются в совет на голосование.
2401
2416
  */
2402
- type IBatch = IBatch$1;
2417
+ type INewBatch = INewbatch;
2403
2418
 
2404
- type batch_IBatch = IBatch;
2405
- declare namespace batch {
2406
- export { type batch_IBatch as IBatch, actionName$1v as actionName, authorizations$1v as authorizations };
2419
+ type newbatch_INewBatch = INewBatch;
2420
+ declare namespace newbatch {
2421
+ export { type newbatch_INewBatch as INewBatch, actionName$1v as actionName, authorizations$1v as authorizations };
2407
2422
  }
2408
2423
 
2409
2424
  /**
@@ -2419,17 +2434,17 @@ declare const authorizations$1u: readonly [{
2419
2434
  /**
2420
2435
  * Имя действия
2421
2436
  */
2422
- declare const actionName$1u = "statement";
2437
+ declare const actionName$1u = "newstatement";
2423
2438
  /**
2424
2439
  * @interface
2425
2440
  * Действие фиксирует принятое заявление в реестре после принятия решения советом кооператива.
2426
2441
  * @private
2427
2442
  */
2428
- type IStatement = IStatement$1;
2443
+ type INewStatement = INewstatement;
2429
2444
 
2430
- type statement_IStatement = IStatement;
2431
- declare namespace statement {
2432
- export { type statement_IStatement as IStatement, actionName$1u as actionName, authorizations$1u as authorizations };
2445
+ type newstatement_INewStatement = INewStatement;
2446
+ declare namespace newstatement {
2447
+ export { type newstatement_INewStatement as INewStatement, actionName$1u as actionName, authorizations$1u as authorizations };
2433
2448
  }
2434
2449
 
2435
2450
  /**
@@ -2445,16 +2460,16 @@ declare const authorizations$1t: readonly [{
2445
2460
  /**
2446
2461
  * Имя действия
2447
2462
  */
2448
- declare const actionName$1t = "act";
2463
+ declare const actionName$1t = "newact";
2449
2464
  /**
2450
2465
  * @interface
2451
2466
  * Действие фиксирует в реестре подписанные акты приёма-передачи имущества.
2452
2467
  */
2453
- type IAct = IAct$1;
2468
+ type INewAct = INewact;
2454
2469
 
2455
- type act_IAct = IAct;
2456
- declare namespace act {
2457
- export { type act_IAct as IAct, actionName$1t as actionName, authorizations$1t as authorizations };
2470
+ type newact_INewAct = INewAct;
2471
+ declare namespace newact {
2472
+ export { type newact_INewAct as INewAct, actionName$1t as actionName, authorizations$1t as authorizations };
2458
2473
  }
2459
2474
 
2460
2475
  /**
@@ -2470,15 +2485,16 @@ declare const authorizations$1s: readonly [{
2470
2485
  /**
2471
2486
  * Имя действия
2472
2487
  */
2473
- declare const actionName$1s = "decision";
2488
+ declare const actionName$1s = "newdecision";
2474
2489
  /**
2475
2490
  * @interface
2476
2491
  * Действие фиксирует в реестре принятое решение совета.
2477
2492
  */
2478
- type IDecision$1 = IDecision$2;
2493
+ type INewDecision = INewdecision;
2479
2494
 
2480
- declare namespace decision {
2481
- export { type IDecision$1 as IDecision, actionName$1s as actionName, authorizations$1s as authorizations };
2495
+ type newdecision_INewDecision = INewDecision;
2496
+ declare namespace newdecision {
2497
+ export { type newdecision_INewDecision as INewDecision, actionName$1s as actionName, authorizations$1s as authorizations };
2482
2498
  }
2483
2499
 
2484
2500
  /**
@@ -2494,16 +2510,16 @@ declare const authorizations$1r: readonly [{
2494
2510
  /**
2495
2511
  * Имя действия
2496
2512
  */
2497
- declare const actionName$1r = "program";
2513
+ declare const actionName$1r = "newprogram";
2498
2514
  /**
2499
2515
  * @interface
2500
2516
  * Действие фиксирует созданную программу после создания и возвращает её идентификатор
2501
2517
  */
2502
- type IProgram = IProgram$1;
2518
+ type INewProgram = INewprogram;
2503
2519
 
2504
- type program_IProgram = IProgram;
2505
- declare namespace program {
2506
- export { type program_IProgram as IProgram, actionName$1r as actionName, authorizations$1r as authorizations };
2520
+ type newprogram_INewProgram = INewProgram;
2521
+ declare namespace newprogram {
2522
+ export { type newprogram_INewProgram as INewProgram, actionName$1r as actionName, authorizations$1r as authorizations };
2507
2523
  }
2508
2524
 
2509
2525
  /**
@@ -2512,7 +2528,7 @@ declare namespace program {
2512
2528
  */
2513
2529
 
2514
2530
  declare namespace index$j {
2515
- export { act as Act, batch as Batch, decision as Decision, draft as Draft, program as Program, statement as Statement };
2531
+ export { newdraft as Draft, newact as NewAct, newbatch as NewBatch, newdecision as NewDecision, newprogram as NewProgram, newstatement as NewStatement };
2516
2532
  }
2517
2533
 
2518
2534
  /**
@@ -3381,7 +3397,7 @@ declare const scope$m = "_coopname";
3381
3397
  /**
3382
3398
  * @interface
3383
3399
  */
3384
- type IDecision = IDecision$2;
3400
+ type IDecision = IDecision$1;
3385
3401
 
3386
3402
  type decisions_IDecision = IDecision;
3387
3403
  declare namespace decisions {
package/dist/index.d.ts CHANGED
@@ -188,14 +188,14 @@ interface ITranslation$1 {
188
188
  is_approved: boolean;
189
189
  }
190
190
 
191
- type draft$1_ICreatedraft = ICreatedraft;
192
- type draft$1_ICreatetrans = ICreatetrans;
193
- type draft$1_IDeldraft = IDeldraft;
194
- type draft$1_IDeltrans = IDeltrans;
195
- type draft$1_IEdittrans = IEdittrans;
196
- type draft$1_IOnedraft = IOnedraft;
197
- declare namespace draft$1 {
198
- export type { ICounts$4 as ICounts, ICountsBase$4 as ICountsBase, draft$1_ICreatedraft as ICreatedraft, draft$1_ICreatetrans as ICreatetrans, draft$1_IDeldraft as IDeldraft, draft$1_IDeltrans as IDeltrans, draft$1_IEdittrans as IEdittrans, IName$9 as IName, INewid$1 as INewid, draft$1_IOnedraft as IOnedraft, ITranslation$1 as ITranslation, IUint64$6 as IUint64 };
191
+ type draft_ICreatedraft = ICreatedraft;
192
+ type draft_ICreatetrans = ICreatetrans;
193
+ type draft_IDeldraft = IDeldraft;
194
+ type draft_IDeltrans = IDeltrans;
195
+ type draft_IEdittrans = IEdittrans;
196
+ type draft_IOnedraft = IOnedraft;
197
+ declare namespace draft {
198
+ export type { ICounts$4 as ICounts, ICountsBase$4 as ICountsBase, draft_ICreatedraft as ICreatedraft, draft_ICreatetrans as ICreatetrans, draft_IDeldraft as IDeldraft, draft_IDeltrans as IDeltrans, draft_IEdittrans as IEdittrans, IName$9 as IName, INewid$1 as INewid, draft_IOnedraft as IOnedraft, ITranslation$1 as ITranslation, IUint64$6 as IUint64 };
199
199
  }
200
200
 
201
201
  declare const authorizations$2a: readonly [{
@@ -321,10 +321,11 @@ declare const scope$E = "_contract";
321
321
  * @interface
322
322
  * Таблица содержит переводы черновиков документов.
323
323
  */
324
- type IDraft$2 = IOnedraft;
324
+ type IDraft = IOnedraft;
325
325
 
326
+ type drafts_IDraft = IDraft;
326
327
  declare namespace drafts {
327
- export { type IDraft$2 as IDraft, scope$E as scope, tableName$E as tableName };
328
+ export { type drafts_IDraft as IDraft, scope$E as scope, tableName$E as tableName };
328
329
  }
329
330
 
330
331
  /**
@@ -356,7 +357,7 @@ declare const contractName$9: {
356
357
  };
357
358
 
358
359
  declare namespace index$w {
359
- export { index$y as Actions, draft$1 as Interfaces, index$x as Tables, contractName$9 as contractName };
360
+ export { index$y as Actions, draft as Interfaces, index$x as Tables, contractName$9 as contractName };
360
361
  }
361
362
 
362
363
  type IAsset$6 = string;
@@ -1426,6 +1427,7 @@ interface IOrganization$1 {
1426
1427
  announce: string;
1427
1428
  description: string;
1428
1429
  is_cooperative: boolean;
1430
+ is_branched: boolean;
1429
1431
  coop_type: IName$6;
1430
1432
  registration: IAsset$4;
1431
1433
  initial: IAsset$4;
@@ -1958,13 +1960,6 @@ type IPublicKey$2 = string;
1958
1960
  type ISignature$1 = string;
1959
1961
  type ITimePointSec$4 = string;
1960
1962
  type IUint64$2 = number | string;
1961
- interface IAct$1 {
1962
- coopname: IName$4;
1963
- username: IName$4;
1964
- action: IName$4;
1965
- decision_id: IUint64$2;
1966
- document: IDocument$1;
1967
- }
1968
1963
  interface IAddbalance {
1969
1964
  coopname: IName$4;
1970
1965
  username: IName$4;
@@ -2031,11 +2026,6 @@ interface IAutomator {
2031
2026
  interface IAutosigner {
2032
2027
  decision_id: IUint64$2;
2033
2028
  }
2034
- interface IBatch$1 {
2035
- coopname: IName$4;
2036
- action: IName$4;
2037
- batch_id: IUint64$2;
2038
- }
2039
2029
  interface IBlockbal {
2040
2030
  coopname: IName$4;
2041
2031
  username: IName$4;
@@ -2109,7 +2099,7 @@ interface ICreateprog {
2109
2099
  fixed_membership_contribution: IAsset$2;
2110
2100
  membership_percent_fee: IUint64$2;
2111
2101
  }
2112
- interface IDecision$2 {
2102
+ interface IDecision$1 {
2113
2103
  id: IUint64$2;
2114
2104
  coopname: IName$4;
2115
2105
  username: IName$4;
@@ -2144,11 +2134,6 @@ interface IDocument$1 {
2144
2134
  signature: ISignature$1;
2145
2135
  meta: string;
2146
2136
  }
2147
- interface IDraft$1 {
2148
- coopname: IName$4;
2149
- username: IName$4;
2150
- decision_id: IUint64$2;
2151
- }
2152
2137
  interface IEditaddress {
2153
2138
  coopname: IName$4;
2154
2139
  chairman: IName$4;
@@ -2192,6 +2177,41 @@ interface IJoincoops {
2192
2177
  statement: IDocument$1;
2193
2178
  notice: string;
2194
2179
  }
2180
+ interface INewact {
2181
+ coopname: IName$4;
2182
+ username: IName$4;
2183
+ action: IName$4;
2184
+ decision_id: IUint64$2;
2185
+ document: IDocument$1;
2186
+ }
2187
+ interface INewbatch {
2188
+ coopname: IName$4;
2189
+ action: IName$4;
2190
+ batch_id: IUint64$2;
2191
+ }
2192
+ interface INewdecision {
2193
+ coopname: IName$4;
2194
+ username: IName$4;
2195
+ action: IName$4;
2196
+ decision_id: IUint64$2;
2197
+ document: IDocument$1;
2198
+ }
2199
+ interface INewdraft {
2200
+ coopname: IName$4;
2201
+ username: IName$4;
2202
+ decision_id: IUint64$2;
2203
+ }
2204
+ interface INewprogram {
2205
+ coopname: IName$4;
2206
+ program_id: IUint64$2;
2207
+ }
2208
+ interface INewstatement {
2209
+ coopname: IName$4;
2210
+ username: IName$4;
2211
+ action: IName$4;
2212
+ decision_id: IUint64$2;
2213
+ document: IDocument$1;
2214
+ }
2195
2215
  interface IOnewallet {
2196
2216
  username: IName$4;
2197
2217
  coopname: IName$4;
@@ -2223,10 +2243,6 @@ interface IProgcomarket {
2223
2243
  membership_percent_fee: IUint64$2;
2224
2244
  fixed_membership_contribution: IAsset$2;
2225
2245
  }
2226
- interface IProgram$1 {
2227
- coopname: IName$4;
2228
- program_id: IUint64$2;
2229
- }
2230
2246
  interface IProgwallet {
2231
2247
  id: IUint64$2;
2232
2248
  coopname: IName$4;
@@ -2265,13 +2281,6 @@ interface IStaff {
2265
2281
  created_at: ITimePointSec$4;
2266
2282
  updated_at: ITimePointSec$4;
2267
2283
  }
2268
- interface IStatement$1 {
2269
- coopname: IName$4;
2270
- username: IName$4;
2271
- action: IName$4;
2272
- decision_id: IUint64$2;
2273
- document: IDocument$1;
2274
- }
2275
2284
  interface ISubbalance {
2276
2285
  coopname: IName$4;
2277
2286
  username: IName$4;
@@ -2336,6 +2345,12 @@ type soviet_IEditprog = IEditprog;
2336
2345
  type soviet_IFundwithdraw = IFundwithdraw;
2337
2346
  type soviet_IJoincoop = IJoincoop;
2338
2347
  type soviet_IJoincoops = IJoincoops;
2348
+ type soviet_INewact = INewact;
2349
+ type soviet_INewbatch = INewbatch;
2350
+ type soviet_INewdecision = INewdecision;
2351
+ type soviet_INewdraft = INewdraft;
2352
+ type soviet_INewprogram = INewprogram;
2353
+ type soviet_INewstatement = INewstatement;
2339
2354
  type soviet_IOnewallet = IOnewallet;
2340
2355
  type soviet_IProgcomarket = IProgcomarket;
2341
2356
  type soviet_IProgwallet = IProgwallet;
@@ -2353,7 +2368,7 @@ type soviet_IVoteagainst = IVoteagainst;
2353
2368
  type soviet_IVotefor = IVotefor;
2354
2369
  type soviet_IWithdraw = IWithdraw;
2355
2370
  declare namespace soviet {
2356
- export type { IAct$1 as IAct, 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, IBatch$1 as IBatch, 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$2 as IDecision, soviet_IDeladdress as IDeladdress, soviet_IDisableprog as IDisableprog, IDisautomate$1 as IDisautomate, IDocument$1 as IDocument, IDraft$1 as IDraft, soviet_IEditaddress as IEditaddress, soviet_IEditprog as IEditprog, IExec$4 as IExec, soviet_IFundwithdraw as IFundwithdraw, IInit$2 as IInit, soviet_IJoincoop as IJoincoop, soviet_IJoincoops as IJoincoops, IName$4 as IName, soviet_IOnewallet as IOnewallet, IParticipants$1 as IParticipants, soviet_IProgcomarket as IProgcomarket, IProgram$1 as IProgram, 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, IStatement$1 as IStatement, 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 };
2371
+ 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$2 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_INewdraft as INewdraft, soviet_INewprogram as INewprogram, soviet_INewstatement as INewstatement, 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 };
2357
2372
  }
2358
2373
 
2359
2374
  /**
@@ -2369,16 +2384,16 @@ declare const authorizations$1w: readonly [{
2369
2384
  /**
2370
2385
  * Имя действия
2371
2386
  */
2372
- declare const actionName$1w = "draft";
2387
+ declare const actionName$1w = "newdraft";
2373
2388
  /**
2374
2389
  * @interface
2375
2390
  * Действие фиксирует документ в реестре перед отправкой в совет.
2376
2391
  */
2377
- type IDraft = IDraft$1;
2392
+ type INewDraft = INewdraft;
2378
2393
 
2379
- type draft_IDraft = IDraft;
2380
- declare namespace draft {
2381
- export { type draft_IDraft as IDraft, actionName$1w as actionName, authorizations$1w as authorizations };
2394
+ type newdraft_INewDraft = INewDraft;
2395
+ declare namespace newdraft {
2396
+ export { type newdraft_INewDraft as INewDraft, actionName$1w as actionName, authorizations$1w as authorizations };
2382
2397
  }
2383
2398
 
2384
2399
  /**
@@ -2394,16 +2409,16 @@ declare const authorizations$1v: readonly [{
2394
2409
  /**
2395
2410
  * Имя действия
2396
2411
  */
2397
- declare const actionName$1v = "batch";
2412
+ declare const actionName$1v = "newbatch";
2398
2413
  /**
2399
2414
  * @interface
2400
2415
  * Действие фиксирует связанную группу подписанных документов, которые отправляются в совет на голосование.
2401
2416
  */
2402
- type IBatch = IBatch$1;
2417
+ type INewBatch = INewbatch;
2403
2418
 
2404
- type batch_IBatch = IBatch;
2405
- declare namespace batch {
2406
- export { type batch_IBatch as IBatch, actionName$1v as actionName, authorizations$1v as authorizations };
2419
+ type newbatch_INewBatch = INewBatch;
2420
+ declare namespace newbatch {
2421
+ export { type newbatch_INewBatch as INewBatch, actionName$1v as actionName, authorizations$1v as authorizations };
2407
2422
  }
2408
2423
 
2409
2424
  /**
@@ -2419,17 +2434,17 @@ declare const authorizations$1u: readonly [{
2419
2434
  /**
2420
2435
  * Имя действия
2421
2436
  */
2422
- declare const actionName$1u = "statement";
2437
+ declare const actionName$1u = "newstatement";
2423
2438
  /**
2424
2439
  * @interface
2425
2440
  * Действие фиксирует принятое заявление в реестре после принятия решения советом кооператива.
2426
2441
  * @private
2427
2442
  */
2428
- type IStatement = IStatement$1;
2443
+ type INewStatement = INewstatement;
2429
2444
 
2430
- type statement_IStatement = IStatement;
2431
- declare namespace statement {
2432
- export { type statement_IStatement as IStatement, actionName$1u as actionName, authorizations$1u as authorizations };
2445
+ type newstatement_INewStatement = INewStatement;
2446
+ declare namespace newstatement {
2447
+ export { type newstatement_INewStatement as INewStatement, actionName$1u as actionName, authorizations$1u as authorizations };
2433
2448
  }
2434
2449
 
2435
2450
  /**
@@ -2445,16 +2460,16 @@ declare const authorizations$1t: readonly [{
2445
2460
  /**
2446
2461
  * Имя действия
2447
2462
  */
2448
- declare const actionName$1t = "act";
2463
+ declare const actionName$1t = "newact";
2449
2464
  /**
2450
2465
  * @interface
2451
2466
  * Действие фиксирует в реестре подписанные акты приёма-передачи имущества.
2452
2467
  */
2453
- type IAct = IAct$1;
2468
+ type INewAct = INewact;
2454
2469
 
2455
- type act_IAct = IAct;
2456
- declare namespace act {
2457
- export { type act_IAct as IAct, actionName$1t as actionName, authorizations$1t as authorizations };
2470
+ type newact_INewAct = INewAct;
2471
+ declare namespace newact {
2472
+ export { type newact_INewAct as INewAct, actionName$1t as actionName, authorizations$1t as authorizations };
2458
2473
  }
2459
2474
 
2460
2475
  /**
@@ -2470,15 +2485,16 @@ declare const authorizations$1s: readonly [{
2470
2485
  /**
2471
2486
  * Имя действия
2472
2487
  */
2473
- declare const actionName$1s = "decision";
2488
+ declare const actionName$1s = "newdecision";
2474
2489
  /**
2475
2490
  * @interface
2476
2491
  * Действие фиксирует в реестре принятое решение совета.
2477
2492
  */
2478
- type IDecision$1 = IDecision$2;
2493
+ type INewDecision = INewdecision;
2479
2494
 
2480
- declare namespace decision {
2481
- export { type IDecision$1 as IDecision, actionName$1s as actionName, authorizations$1s as authorizations };
2495
+ type newdecision_INewDecision = INewDecision;
2496
+ declare namespace newdecision {
2497
+ export { type newdecision_INewDecision as INewDecision, actionName$1s as actionName, authorizations$1s as authorizations };
2482
2498
  }
2483
2499
 
2484
2500
  /**
@@ -2494,16 +2510,16 @@ declare const authorizations$1r: readonly [{
2494
2510
  /**
2495
2511
  * Имя действия
2496
2512
  */
2497
- declare const actionName$1r = "program";
2513
+ declare const actionName$1r = "newprogram";
2498
2514
  /**
2499
2515
  * @interface
2500
2516
  * Действие фиксирует созданную программу после создания и возвращает её идентификатор
2501
2517
  */
2502
- type IProgram = IProgram$1;
2518
+ type INewProgram = INewprogram;
2503
2519
 
2504
- type program_IProgram = IProgram;
2505
- declare namespace program {
2506
- export { type program_IProgram as IProgram, actionName$1r as actionName, authorizations$1r as authorizations };
2520
+ type newprogram_INewProgram = INewProgram;
2521
+ declare namespace newprogram {
2522
+ export { type newprogram_INewProgram as INewProgram, actionName$1r as actionName, authorizations$1r as authorizations };
2507
2523
  }
2508
2524
 
2509
2525
  /**
@@ -2512,7 +2528,7 @@ declare namespace program {
2512
2528
  */
2513
2529
 
2514
2530
  declare namespace index$j {
2515
- export { act as Act, batch as Batch, decision as Decision, draft as Draft, program as Program, statement as Statement };
2531
+ export { newdraft as Draft, newact as NewAct, newbatch as NewBatch, newdecision as NewDecision, newprogram as NewProgram, newstatement as NewStatement };
2516
2532
  }
2517
2533
 
2518
2534
  /**
@@ -3381,7 +3397,7 @@ declare const scope$m = "_coopname";
3381
3397
  /**
3382
3398
  * @interface
3383
3399
  */
3384
- type IDecision = IDecision$2;
3400
+ type IDecision = IDecision$1;
3385
3401
 
3386
3402
  type decisions_IDecision = IDecision;
3387
3403
  declare namespace decisions {
package/dist/index.mjs CHANGED
@@ -171,7 +171,7 @@ const index$x = {
171
171
  Translations: translations
172
172
  };
173
173
 
174
- const draft$1 = {
174
+ const draft = {
175
175
  __proto__: null
176
176
  };
177
177
 
@@ -180,7 +180,7 @@ const contractName$9 = _draft;
180
180
  const index$w = {
181
181
  __proto__: null,
182
182
  Actions: index$y,
183
- Interfaces: draft$1,
183
+ Interfaces: draft,
184
184
  Tables: index$x,
185
185
  contractName: contractName$9
186
186
  };
@@ -748,54 +748,54 @@ const index$k = {
748
748
  };
749
749
 
750
750
  const authorizations$1w = [{ permissions: [active], actor: _soviet }];
751
- const actionName$1w = "draft";
751
+ const actionName$1w = "newdraft";
752
752
 
753
- const draft = {
753
+ const newdraft = {
754
754
  __proto__: null,
755
755
  actionName: actionName$1w,
756
756
  authorizations: authorizations$1w
757
757
  };
758
758
 
759
759
  const authorizations$1v = [{ permissions: [active], actor: _soviet }];
760
- const actionName$1v = "batch";
760
+ const actionName$1v = "newbatch";
761
761
 
762
- const batch = {
762
+ const newbatch = {
763
763
  __proto__: null,
764
764
  actionName: actionName$1v,
765
765
  authorizations: authorizations$1v
766
766
  };
767
767
 
768
768
  const authorizations$1u = [{ permissions: [active], actor: _soviet }];
769
- const actionName$1u = "statement";
769
+ const actionName$1u = "newstatement";
770
770
 
771
- const statement = {
771
+ const newstatement = {
772
772
  __proto__: null,
773
773
  actionName: actionName$1u,
774
774
  authorizations: authorizations$1u
775
775
  };
776
776
 
777
777
  const authorizations$1t = [{ permissions: [active], actor: _soviet }];
778
- const actionName$1t = "act";
778
+ const actionName$1t = "newact";
779
779
 
780
- const act = {
780
+ const newact = {
781
781
  __proto__: null,
782
782
  actionName: actionName$1t,
783
783
  authorizations: authorizations$1t
784
784
  };
785
785
 
786
786
  const authorizations$1s = [{ permissions: [active], actor: _soviet }];
787
- const actionName$1s = "decision";
787
+ const actionName$1s = "newdecision";
788
788
 
789
- const decision = {
789
+ const newdecision = {
790
790
  __proto__: null,
791
791
  actionName: actionName$1s,
792
792
  authorizations: authorizations$1s
793
793
  };
794
794
 
795
795
  const authorizations$1r = [{ permissions: [active], actor: _soviet }];
796
- const actionName$1r = "program";
796
+ const actionName$1r = "newprogram";
797
797
 
798
- const program = {
798
+ const newprogram = {
799
799
  __proto__: null,
800
800
  actionName: actionName$1r,
801
801
  authorizations: authorizations$1r
@@ -803,12 +803,12 @@ const program = {
803
803
 
804
804
  const index$j = {
805
805
  __proto__: null,
806
- Act: act,
807
- Batch: batch,
808
- Decision: decision,
809
- Draft: draft,
810
- Program: program,
811
- Statement: statement
806
+ Draft: newdraft,
807
+ NewAct: newact,
808
+ NewBatch: newbatch,
809
+ NewDecision: newdecision,
810
+ NewProgram: newprogram,
811
+ NewStatement: newstatement
812
812
  };
813
813
 
814
814
  const authorizations$1q = [{ permissions: [active], actor: _chairman }];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cooptypes",
3
3
  "type": "module",
4
- "version": "0.5.11",
4
+ "version": "0.5.13",
5
5
  "packageManager": "pnpm@9.0.6",
6
6
  "description": "_description_",
7
7
  "author": "Alex Ant <dacom.dark.sun@gmail.com>",
@@ -42,7 +42,8 @@
42
42
  "start": "esno src/index.ts",
43
43
  "test": "vitest",
44
44
  "typecheck": "tsc --noEmit",
45
- "prepare": "simple-git-hooks"
45
+ "prepare": "simple-git-hooks",
46
+ "doc": "typedoc"
46
47
  },
47
48
  "dependencies": {
48
49
  "@typescript-eslint/parser": "^7.8.0"