cooptypes 0.5.12 → 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 +20 -20
- package/dist/index.d.cts +87 -72
- package/dist/index.d.mts +87 -72
- package/dist/index.d.ts +87 -72
- package/dist/index.mjs +20 -20
- package/package.json +3 -2
package/dist/index.cjs
CHANGED
|
@@ -173,7 +173,7 @@ const index$x = {
|
|
|
173
173
|
Translations: translations
|
|
174
174
|
};
|
|
175
175
|
|
|
176
|
-
const draft
|
|
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
|
|
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 = "
|
|
753
|
+
const actionName$1w = "newdraft";
|
|
754
754
|
|
|
755
|
-
const
|
|
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 = "
|
|
762
|
+
const actionName$1v = "newbatch";
|
|
763
763
|
|
|
764
|
-
const
|
|
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 = "
|
|
771
|
+
const actionName$1u = "newstatement";
|
|
772
772
|
|
|
773
|
-
const
|
|
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 = "
|
|
780
|
+
const actionName$1t = "newact";
|
|
781
781
|
|
|
782
|
-
const
|
|
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 = "
|
|
789
|
+
const actionName$1s = "newdecision";
|
|
790
790
|
|
|
791
|
-
const
|
|
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 = "
|
|
798
|
+
const actionName$1r = "newprogram";
|
|
799
799
|
|
|
800
|
-
const
|
|
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
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
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
|
|
192
|
-
type
|
|
193
|
-
type
|
|
194
|
-
type
|
|
195
|
-
type
|
|
196
|
-
type
|
|
197
|
-
declare namespace draft
|
|
198
|
-
export type { ICounts$4 as ICounts, ICountsBase$4 as ICountsBase,
|
|
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
|
|
324
|
+
type IDraft = IOnedraft;
|
|
325
325
|
|
|
326
|
+
type drafts_IDraft = IDraft;
|
|
326
327
|
declare namespace drafts {
|
|
327
|
-
export { type
|
|
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
|
|
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;
|
|
@@ -1959,13 +1960,6 @@ type IPublicKey$2 = string;
|
|
|
1959
1960
|
type ISignature$1 = string;
|
|
1960
1961
|
type ITimePointSec$4 = string;
|
|
1961
1962
|
type IUint64$2 = number | string;
|
|
1962
|
-
interface IAct$1 {
|
|
1963
|
-
coopname: IName$4;
|
|
1964
|
-
username: IName$4;
|
|
1965
|
-
action: IName$4;
|
|
1966
|
-
decision_id: IUint64$2;
|
|
1967
|
-
document: IDocument$1;
|
|
1968
|
-
}
|
|
1969
1963
|
interface IAddbalance {
|
|
1970
1964
|
coopname: IName$4;
|
|
1971
1965
|
username: IName$4;
|
|
@@ -2032,11 +2026,6 @@ interface IAutomator {
|
|
|
2032
2026
|
interface IAutosigner {
|
|
2033
2027
|
decision_id: IUint64$2;
|
|
2034
2028
|
}
|
|
2035
|
-
interface IBatch$1 {
|
|
2036
|
-
coopname: IName$4;
|
|
2037
|
-
action: IName$4;
|
|
2038
|
-
batch_id: IUint64$2;
|
|
2039
|
-
}
|
|
2040
2029
|
interface IBlockbal {
|
|
2041
2030
|
coopname: IName$4;
|
|
2042
2031
|
username: IName$4;
|
|
@@ -2110,7 +2099,7 @@ interface ICreateprog {
|
|
|
2110
2099
|
fixed_membership_contribution: IAsset$2;
|
|
2111
2100
|
membership_percent_fee: IUint64$2;
|
|
2112
2101
|
}
|
|
2113
|
-
interface IDecision$
|
|
2102
|
+
interface IDecision$1 {
|
|
2114
2103
|
id: IUint64$2;
|
|
2115
2104
|
coopname: IName$4;
|
|
2116
2105
|
username: IName$4;
|
|
@@ -2145,11 +2134,6 @@ interface IDocument$1 {
|
|
|
2145
2134
|
signature: ISignature$1;
|
|
2146
2135
|
meta: string;
|
|
2147
2136
|
}
|
|
2148
|
-
interface IDraft$1 {
|
|
2149
|
-
coopname: IName$4;
|
|
2150
|
-
username: IName$4;
|
|
2151
|
-
decision_id: IUint64$2;
|
|
2152
|
-
}
|
|
2153
2137
|
interface IEditaddress {
|
|
2154
2138
|
coopname: IName$4;
|
|
2155
2139
|
chairman: IName$4;
|
|
@@ -2193,6 +2177,41 @@ interface IJoincoops {
|
|
|
2193
2177
|
statement: IDocument$1;
|
|
2194
2178
|
notice: string;
|
|
2195
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
|
+
}
|
|
2196
2215
|
interface IOnewallet {
|
|
2197
2216
|
username: IName$4;
|
|
2198
2217
|
coopname: IName$4;
|
|
@@ -2224,10 +2243,6 @@ interface IProgcomarket {
|
|
|
2224
2243
|
membership_percent_fee: IUint64$2;
|
|
2225
2244
|
fixed_membership_contribution: IAsset$2;
|
|
2226
2245
|
}
|
|
2227
|
-
interface IProgram$1 {
|
|
2228
|
-
coopname: IName$4;
|
|
2229
|
-
program_id: IUint64$2;
|
|
2230
|
-
}
|
|
2231
2246
|
interface IProgwallet {
|
|
2232
2247
|
id: IUint64$2;
|
|
2233
2248
|
coopname: IName$4;
|
|
@@ -2266,13 +2281,6 @@ interface IStaff {
|
|
|
2266
2281
|
created_at: ITimePointSec$4;
|
|
2267
2282
|
updated_at: ITimePointSec$4;
|
|
2268
2283
|
}
|
|
2269
|
-
interface IStatement$1 {
|
|
2270
|
-
coopname: IName$4;
|
|
2271
|
-
username: IName$4;
|
|
2272
|
-
action: IName$4;
|
|
2273
|
-
decision_id: IUint64$2;
|
|
2274
|
-
document: IDocument$1;
|
|
2275
|
-
}
|
|
2276
2284
|
interface ISubbalance {
|
|
2277
2285
|
coopname: IName$4;
|
|
2278
2286
|
username: IName$4;
|
|
@@ -2337,6 +2345,12 @@ type soviet_IEditprog = IEditprog;
|
|
|
2337
2345
|
type soviet_IFundwithdraw = IFundwithdraw;
|
|
2338
2346
|
type soviet_IJoincoop = IJoincoop;
|
|
2339
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;
|
|
2340
2354
|
type soviet_IOnewallet = IOnewallet;
|
|
2341
2355
|
type soviet_IProgcomarket = IProgcomarket;
|
|
2342
2356
|
type soviet_IProgwallet = IProgwallet;
|
|
@@ -2354,7 +2368,7 @@ type soviet_IVoteagainst = IVoteagainst;
|
|
|
2354
2368
|
type soviet_IVotefor = IVotefor;
|
|
2355
2369
|
type soviet_IWithdraw = IWithdraw;
|
|
2356
2370
|
declare namespace soviet {
|
|
2357
|
-
export type {
|
|
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 };
|
|
2358
2372
|
}
|
|
2359
2373
|
|
|
2360
2374
|
/**
|
|
@@ -2370,16 +2384,16 @@ declare const authorizations$1w: readonly [{
|
|
|
2370
2384
|
/**
|
|
2371
2385
|
* Имя действия
|
|
2372
2386
|
*/
|
|
2373
|
-
declare const actionName$1w = "
|
|
2387
|
+
declare const actionName$1w = "newdraft";
|
|
2374
2388
|
/**
|
|
2375
2389
|
* @interface
|
|
2376
2390
|
* Действие фиксирует документ в реестре перед отправкой в совет.
|
|
2377
2391
|
*/
|
|
2378
|
-
type
|
|
2392
|
+
type INewDraft = INewdraft;
|
|
2379
2393
|
|
|
2380
|
-
type
|
|
2381
|
-
declare namespace
|
|
2382
|
-
export { type
|
|
2394
|
+
type newdraft_INewDraft = INewDraft;
|
|
2395
|
+
declare namespace newdraft {
|
|
2396
|
+
export { type newdraft_INewDraft as INewDraft, actionName$1w as actionName, authorizations$1w as authorizations };
|
|
2383
2397
|
}
|
|
2384
2398
|
|
|
2385
2399
|
/**
|
|
@@ -2395,16 +2409,16 @@ declare const authorizations$1v: readonly [{
|
|
|
2395
2409
|
/**
|
|
2396
2410
|
* Имя действия
|
|
2397
2411
|
*/
|
|
2398
|
-
declare const actionName$1v = "
|
|
2412
|
+
declare const actionName$1v = "newbatch";
|
|
2399
2413
|
/**
|
|
2400
2414
|
* @interface
|
|
2401
2415
|
* Действие фиксирует связанную группу подписанных документов, которые отправляются в совет на голосование.
|
|
2402
2416
|
*/
|
|
2403
|
-
type
|
|
2417
|
+
type INewBatch = INewbatch;
|
|
2404
2418
|
|
|
2405
|
-
type
|
|
2406
|
-
declare namespace
|
|
2407
|
-
export { type
|
|
2419
|
+
type newbatch_INewBatch = INewBatch;
|
|
2420
|
+
declare namespace newbatch {
|
|
2421
|
+
export { type newbatch_INewBatch as INewBatch, actionName$1v as actionName, authorizations$1v as authorizations };
|
|
2408
2422
|
}
|
|
2409
2423
|
|
|
2410
2424
|
/**
|
|
@@ -2420,17 +2434,17 @@ declare const authorizations$1u: readonly [{
|
|
|
2420
2434
|
/**
|
|
2421
2435
|
* Имя действия
|
|
2422
2436
|
*/
|
|
2423
|
-
declare const actionName$1u = "
|
|
2437
|
+
declare const actionName$1u = "newstatement";
|
|
2424
2438
|
/**
|
|
2425
2439
|
* @interface
|
|
2426
2440
|
* Действие фиксирует принятое заявление в реестре после принятия решения советом кооператива.
|
|
2427
2441
|
* @private
|
|
2428
2442
|
*/
|
|
2429
|
-
type
|
|
2443
|
+
type INewStatement = INewstatement;
|
|
2430
2444
|
|
|
2431
|
-
type
|
|
2432
|
-
declare namespace
|
|
2433
|
-
export { type
|
|
2445
|
+
type newstatement_INewStatement = INewStatement;
|
|
2446
|
+
declare namespace newstatement {
|
|
2447
|
+
export { type newstatement_INewStatement as INewStatement, actionName$1u as actionName, authorizations$1u as authorizations };
|
|
2434
2448
|
}
|
|
2435
2449
|
|
|
2436
2450
|
/**
|
|
@@ -2446,16 +2460,16 @@ declare const authorizations$1t: readonly [{
|
|
|
2446
2460
|
/**
|
|
2447
2461
|
* Имя действия
|
|
2448
2462
|
*/
|
|
2449
|
-
declare const actionName$1t = "
|
|
2463
|
+
declare const actionName$1t = "newact";
|
|
2450
2464
|
/**
|
|
2451
2465
|
* @interface
|
|
2452
2466
|
* Действие фиксирует в реестре подписанные акты приёма-передачи имущества.
|
|
2453
2467
|
*/
|
|
2454
|
-
type
|
|
2468
|
+
type INewAct = INewact;
|
|
2455
2469
|
|
|
2456
|
-
type
|
|
2457
|
-
declare namespace
|
|
2458
|
-
export { type
|
|
2470
|
+
type newact_INewAct = INewAct;
|
|
2471
|
+
declare namespace newact {
|
|
2472
|
+
export { type newact_INewAct as INewAct, actionName$1t as actionName, authorizations$1t as authorizations };
|
|
2459
2473
|
}
|
|
2460
2474
|
|
|
2461
2475
|
/**
|
|
@@ -2471,15 +2485,16 @@ declare const authorizations$1s: readonly [{
|
|
|
2471
2485
|
/**
|
|
2472
2486
|
* Имя действия
|
|
2473
2487
|
*/
|
|
2474
|
-
declare const actionName$1s = "
|
|
2488
|
+
declare const actionName$1s = "newdecision";
|
|
2475
2489
|
/**
|
|
2476
2490
|
* @interface
|
|
2477
2491
|
* Действие фиксирует в реестре принятое решение совета.
|
|
2478
2492
|
*/
|
|
2479
|
-
type
|
|
2493
|
+
type INewDecision = INewdecision;
|
|
2480
2494
|
|
|
2481
|
-
|
|
2482
|
-
|
|
2495
|
+
type newdecision_INewDecision = INewDecision;
|
|
2496
|
+
declare namespace newdecision {
|
|
2497
|
+
export { type newdecision_INewDecision as INewDecision, actionName$1s as actionName, authorizations$1s as authorizations };
|
|
2483
2498
|
}
|
|
2484
2499
|
|
|
2485
2500
|
/**
|
|
@@ -2495,16 +2510,16 @@ declare const authorizations$1r: readonly [{
|
|
|
2495
2510
|
/**
|
|
2496
2511
|
* Имя действия
|
|
2497
2512
|
*/
|
|
2498
|
-
declare const actionName$1r = "
|
|
2513
|
+
declare const actionName$1r = "newprogram";
|
|
2499
2514
|
/**
|
|
2500
2515
|
* @interface
|
|
2501
2516
|
* Действие фиксирует созданную программу после создания и возвращает её идентификатор
|
|
2502
2517
|
*/
|
|
2503
|
-
type
|
|
2518
|
+
type INewProgram = INewprogram;
|
|
2504
2519
|
|
|
2505
|
-
type
|
|
2506
|
-
declare namespace
|
|
2507
|
-
export { type
|
|
2520
|
+
type newprogram_INewProgram = INewProgram;
|
|
2521
|
+
declare namespace newprogram {
|
|
2522
|
+
export { type newprogram_INewProgram as INewProgram, actionName$1r as actionName, authorizations$1r as authorizations };
|
|
2508
2523
|
}
|
|
2509
2524
|
|
|
2510
2525
|
/**
|
|
@@ -2513,7 +2528,7 @@ declare namespace program {
|
|
|
2513
2528
|
*/
|
|
2514
2529
|
|
|
2515
2530
|
declare namespace index$j {
|
|
2516
|
-
export {
|
|
2531
|
+
export { newdraft as Draft, newact as NewAct, newbatch as NewBatch, newdecision as NewDecision, newprogram as NewProgram, newstatement as NewStatement };
|
|
2517
2532
|
}
|
|
2518
2533
|
|
|
2519
2534
|
/**
|
|
@@ -3382,7 +3397,7 @@ declare const scope$m = "_coopname";
|
|
|
3382
3397
|
/**
|
|
3383
3398
|
* @interface
|
|
3384
3399
|
*/
|
|
3385
|
-
type IDecision = IDecision$
|
|
3400
|
+
type IDecision = IDecision$1;
|
|
3386
3401
|
|
|
3387
3402
|
type decisions_IDecision = IDecision;
|
|
3388
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
|
|
192
|
-
type
|
|
193
|
-
type
|
|
194
|
-
type
|
|
195
|
-
type
|
|
196
|
-
type
|
|
197
|
-
declare namespace draft
|
|
198
|
-
export type { ICounts$4 as ICounts, ICountsBase$4 as ICountsBase,
|
|
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
|
|
324
|
+
type IDraft = IOnedraft;
|
|
325
325
|
|
|
326
|
+
type drafts_IDraft = IDraft;
|
|
326
327
|
declare namespace drafts {
|
|
327
|
-
export { type
|
|
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
|
|
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;
|
|
@@ -1959,13 +1960,6 @@ type IPublicKey$2 = string;
|
|
|
1959
1960
|
type ISignature$1 = string;
|
|
1960
1961
|
type ITimePointSec$4 = string;
|
|
1961
1962
|
type IUint64$2 = number | string;
|
|
1962
|
-
interface IAct$1 {
|
|
1963
|
-
coopname: IName$4;
|
|
1964
|
-
username: IName$4;
|
|
1965
|
-
action: IName$4;
|
|
1966
|
-
decision_id: IUint64$2;
|
|
1967
|
-
document: IDocument$1;
|
|
1968
|
-
}
|
|
1969
1963
|
interface IAddbalance {
|
|
1970
1964
|
coopname: IName$4;
|
|
1971
1965
|
username: IName$4;
|
|
@@ -2032,11 +2026,6 @@ interface IAutomator {
|
|
|
2032
2026
|
interface IAutosigner {
|
|
2033
2027
|
decision_id: IUint64$2;
|
|
2034
2028
|
}
|
|
2035
|
-
interface IBatch$1 {
|
|
2036
|
-
coopname: IName$4;
|
|
2037
|
-
action: IName$4;
|
|
2038
|
-
batch_id: IUint64$2;
|
|
2039
|
-
}
|
|
2040
2029
|
interface IBlockbal {
|
|
2041
2030
|
coopname: IName$4;
|
|
2042
2031
|
username: IName$4;
|
|
@@ -2110,7 +2099,7 @@ interface ICreateprog {
|
|
|
2110
2099
|
fixed_membership_contribution: IAsset$2;
|
|
2111
2100
|
membership_percent_fee: IUint64$2;
|
|
2112
2101
|
}
|
|
2113
|
-
interface IDecision$
|
|
2102
|
+
interface IDecision$1 {
|
|
2114
2103
|
id: IUint64$2;
|
|
2115
2104
|
coopname: IName$4;
|
|
2116
2105
|
username: IName$4;
|
|
@@ -2145,11 +2134,6 @@ interface IDocument$1 {
|
|
|
2145
2134
|
signature: ISignature$1;
|
|
2146
2135
|
meta: string;
|
|
2147
2136
|
}
|
|
2148
|
-
interface IDraft$1 {
|
|
2149
|
-
coopname: IName$4;
|
|
2150
|
-
username: IName$4;
|
|
2151
|
-
decision_id: IUint64$2;
|
|
2152
|
-
}
|
|
2153
2137
|
interface IEditaddress {
|
|
2154
2138
|
coopname: IName$4;
|
|
2155
2139
|
chairman: IName$4;
|
|
@@ -2193,6 +2177,41 @@ interface IJoincoops {
|
|
|
2193
2177
|
statement: IDocument$1;
|
|
2194
2178
|
notice: string;
|
|
2195
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
|
+
}
|
|
2196
2215
|
interface IOnewallet {
|
|
2197
2216
|
username: IName$4;
|
|
2198
2217
|
coopname: IName$4;
|
|
@@ -2224,10 +2243,6 @@ interface IProgcomarket {
|
|
|
2224
2243
|
membership_percent_fee: IUint64$2;
|
|
2225
2244
|
fixed_membership_contribution: IAsset$2;
|
|
2226
2245
|
}
|
|
2227
|
-
interface IProgram$1 {
|
|
2228
|
-
coopname: IName$4;
|
|
2229
|
-
program_id: IUint64$2;
|
|
2230
|
-
}
|
|
2231
2246
|
interface IProgwallet {
|
|
2232
2247
|
id: IUint64$2;
|
|
2233
2248
|
coopname: IName$4;
|
|
@@ -2266,13 +2281,6 @@ interface IStaff {
|
|
|
2266
2281
|
created_at: ITimePointSec$4;
|
|
2267
2282
|
updated_at: ITimePointSec$4;
|
|
2268
2283
|
}
|
|
2269
|
-
interface IStatement$1 {
|
|
2270
|
-
coopname: IName$4;
|
|
2271
|
-
username: IName$4;
|
|
2272
|
-
action: IName$4;
|
|
2273
|
-
decision_id: IUint64$2;
|
|
2274
|
-
document: IDocument$1;
|
|
2275
|
-
}
|
|
2276
2284
|
interface ISubbalance {
|
|
2277
2285
|
coopname: IName$4;
|
|
2278
2286
|
username: IName$4;
|
|
@@ -2337,6 +2345,12 @@ type soviet_IEditprog = IEditprog;
|
|
|
2337
2345
|
type soviet_IFundwithdraw = IFundwithdraw;
|
|
2338
2346
|
type soviet_IJoincoop = IJoincoop;
|
|
2339
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;
|
|
2340
2354
|
type soviet_IOnewallet = IOnewallet;
|
|
2341
2355
|
type soviet_IProgcomarket = IProgcomarket;
|
|
2342
2356
|
type soviet_IProgwallet = IProgwallet;
|
|
@@ -2354,7 +2368,7 @@ type soviet_IVoteagainst = IVoteagainst;
|
|
|
2354
2368
|
type soviet_IVotefor = IVotefor;
|
|
2355
2369
|
type soviet_IWithdraw = IWithdraw;
|
|
2356
2370
|
declare namespace soviet {
|
|
2357
|
-
export type {
|
|
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 };
|
|
2358
2372
|
}
|
|
2359
2373
|
|
|
2360
2374
|
/**
|
|
@@ -2370,16 +2384,16 @@ declare const authorizations$1w: readonly [{
|
|
|
2370
2384
|
/**
|
|
2371
2385
|
* Имя действия
|
|
2372
2386
|
*/
|
|
2373
|
-
declare const actionName$1w = "
|
|
2387
|
+
declare const actionName$1w = "newdraft";
|
|
2374
2388
|
/**
|
|
2375
2389
|
* @interface
|
|
2376
2390
|
* Действие фиксирует документ в реестре перед отправкой в совет.
|
|
2377
2391
|
*/
|
|
2378
|
-
type
|
|
2392
|
+
type INewDraft = INewdraft;
|
|
2379
2393
|
|
|
2380
|
-
type
|
|
2381
|
-
declare namespace
|
|
2382
|
-
export { type
|
|
2394
|
+
type newdraft_INewDraft = INewDraft;
|
|
2395
|
+
declare namespace newdraft {
|
|
2396
|
+
export { type newdraft_INewDraft as INewDraft, actionName$1w as actionName, authorizations$1w as authorizations };
|
|
2383
2397
|
}
|
|
2384
2398
|
|
|
2385
2399
|
/**
|
|
@@ -2395,16 +2409,16 @@ declare const authorizations$1v: readonly [{
|
|
|
2395
2409
|
/**
|
|
2396
2410
|
* Имя действия
|
|
2397
2411
|
*/
|
|
2398
|
-
declare const actionName$1v = "
|
|
2412
|
+
declare const actionName$1v = "newbatch";
|
|
2399
2413
|
/**
|
|
2400
2414
|
* @interface
|
|
2401
2415
|
* Действие фиксирует связанную группу подписанных документов, которые отправляются в совет на голосование.
|
|
2402
2416
|
*/
|
|
2403
|
-
type
|
|
2417
|
+
type INewBatch = INewbatch;
|
|
2404
2418
|
|
|
2405
|
-
type
|
|
2406
|
-
declare namespace
|
|
2407
|
-
export { type
|
|
2419
|
+
type newbatch_INewBatch = INewBatch;
|
|
2420
|
+
declare namespace newbatch {
|
|
2421
|
+
export { type newbatch_INewBatch as INewBatch, actionName$1v as actionName, authorizations$1v as authorizations };
|
|
2408
2422
|
}
|
|
2409
2423
|
|
|
2410
2424
|
/**
|
|
@@ -2420,17 +2434,17 @@ declare const authorizations$1u: readonly [{
|
|
|
2420
2434
|
/**
|
|
2421
2435
|
* Имя действия
|
|
2422
2436
|
*/
|
|
2423
|
-
declare const actionName$1u = "
|
|
2437
|
+
declare const actionName$1u = "newstatement";
|
|
2424
2438
|
/**
|
|
2425
2439
|
* @interface
|
|
2426
2440
|
* Действие фиксирует принятое заявление в реестре после принятия решения советом кооператива.
|
|
2427
2441
|
* @private
|
|
2428
2442
|
*/
|
|
2429
|
-
type
|
|
2443
|
+
type INewStatement = INewstatement;
|
|
2430
2444
|
|
|
2431
|
-
type
|
|
2432
|
-
declare namespace
|
|
2433
|
-
export { type
|
|
2445
|
+
type newstatement_INewStatement = INewStatement;
|
|
2446
|
+
declare namespace newstatement {
|
|
2447
|
+
export { type newstatement_INewStatement as INewStatement, actionName$1u as actionName, authorizations$1u as authorizations };
|
|
2434
2448
|
}
|
|
2435
2449
|
|
|
2436
2450
|
/**
|
|
@@ -2446,16 +2460,16 @@ declare const authorizations$1t: readonly [{
|
|
|
2446
2460
|
/**
|
|
2447
2461
|
* Имя действия
|
|
2448
2462
|
*/
|
|
2449
|
-
declare const actionName$1t = "
|
|
2463
|
+
declare const actionName$1t = "newact";
|
|
2450
2464
|
/**
|
|
2451
2465
|
* @interface
|
|
2452
2466
|
* Действие фиксирует в реестре подписанные акты приёма-передачи имущества.
|
|
2453
2467
|
*/
|
|
2454
|
-
type
|
|
2468
|
+
type INewAct = INewact;
|
|
2455
2469
|
|
|
2456
|
-
type
|
|
2457
|
-
declare namespace
|
|
2458
|
-
export { type
|
|
2470
|
+
type newact_INewAct = INewAct;
|
|
2471
|
+
declare namespace newact {
|
|
2472
|
+
export { type newact_INewAct as INewAct, actionName$1t as actionName, authorizations$1t as authorizations };
|
|
2459
2473
|
}
|
|
2460
2474
|
|
|
2461
2475
|
/**
|
|
@@ -2471,15 +2485,16 @@ declare const authorizations$1s: readonly [{
|
|
|
2471
2485
|
/**
|
|
2472
2486
|
* Имя действия
|
|
2473
2487
|
*/
|
|
2474
|
-
declare const actionName$1s = "
|
|
2488
|
+
declare const actionName$1s = "newdecision";
|
|
2475
2489
|
/**
|
|
2476
2490
|
* @interface
|
|
2477
2491
|
* Действие фиксирует в реестре принятое решение совета.
|
|
2478
2492
|
*/
|
|
2479
|
-
type
|
|
2493
|
+
type INewDecision = INewdecision;
|
|
2480
2494
|
|
|
2481
|
-
|
|
2482
|
-
|
|
2495
|
+
type newdecision_INewDecision = INewDecision;
|
|
2496
|
+
declare namespace newdecision {
|
|
2497
|
+
export { type newdecision_INewDecision as INewDecision, actionName$1s as actionName, authorizations$1s as authorizations };
|
|
2483
2498
|
}
|
|
2484
2499
|
|
|
2485
2500
|
/**
|
|
@@ -2495,16 +2510,16 @@ declare const authorizations$1r: readonly [{
|
|
|
2495
2510
|
/**
|
|
2496
2511
|
* Имя действия
|
|
2497
2512
|
*/
|
|
2498
|
-
declare const actionName$1r = "
|
|
2513
|
+
declare const actionName$1r = "newprogram";
|
|
2499
2514
|
/**
|
|
2500
2515
|
* @interface
|
|
2501
2516
|
* Действие фиксирует созданную программу после создания и возвращает её идентификатор
|
|
2502
2517
|
*/
|
|
2503
|
-
type
|
|
2518
|
+
type INewProgram = INewprogram;
|
|
2504
2519
|
|
|
2505
|
-
type
|
|
2506
|
-
declare namespace
|
|
2507
|
-
export { type
|
|
2520
|
+
type newprogram_INewProgram = INewProgram;
|
|
2521
|
+
declare namespace newprogram {
|
|
2522
|
+
export { type newprogram_INewProgram as INewProgram, actionName$1r as actionName, authorizations$1r as authorizations };
|
|
2508
2523
|
}
|
|
2509
2524
|
|
|
2510
2525
|
/**
|
|
@@ -2513,7 +2528,7 @@ declare namespace program {
|
|
|
2513
2528
|
*/
|
|
2514
2529
|
|
|
2515
2530
|
declare namespace index$j {
|
|
2516
|
-
export {
|
|
2531
|
+
export { newdraft as Draft, newact as NewAct, newbatch as NewBatch, newdecision as NewDecision, newprogram as NewProgram, newstatement as NewStatement };
|
|
2517
2532
|
}
|
|
2518
2533
|
|
|
2519
2534
|
/**
|
|
@@ -3382,7 +3397,7 @@ declare const scope$m = "_coopname";
|
|
|
3382
3397
|
/**
|
|
3383
3398
|
* @interface
|
|
3384
3399
|
*/
|
|
3385
|
-
type IDecision = IDecision$
|
|
3400
|
+
type IDecision = IDecision$1;
|
|
3386
3401
|
|
|
3387
3402
|
type decisions_IDecision = IDecision;
|
|
3388
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
|
|
192
|
-
type
|
|
193
|
-
type
|
|
194
|
-
type
|
|
195
|
-
type
|
|
196
|
-
type
|
|
197
|
-
declare namespace draft
|
|
198
|
-
export type { ICounts$4 as ICounts, ICountsBase$4 as ICountsBase,
|
|
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
|
|
324
|
+
type IDraft = IOnedraft;
|
|
325
325
|
|
|
326
|
+
type drafts_IDraft = IDraft;
|
|
326
327
|
declare namespace drafts {
|
|
327
|
-
export { type
|
|
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
|
|
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;
|
|
@@ -1959,13 +1960,6 @@ type IPublicKey$2 = string;
|
|
|
1959
1960
|
type ISignature$1 = string;
|
|
1960
1961
|
type ITimePointSec$4 = string;
|
|
1961
1962
|
type IUint64$2 = number | string;
|
|
1962
|
-
interface IAct$1 {
|
|
1963
|
-
coopname: IName$4;
|
|
1964
|
-
username: IName$4;
|
|
1965
|
-
action: IName$4;
|
|
1966
|
-
decision_id: IUint64$2;
|
|
1967
|
-
document: IDocument$1;
|
|
1968
|
-
}
|
|
1969
1963
|
interface IAddbalance {
|
|
1970
1964
|
coopname: IName$4;
|
|
1971
1965
|
username: IName$4;
|
|
@@ -2032,11 +2026,6 @@ interface IAutomator {
|
|
|
2032
2026
|
interface IAutosigner {
|
|
2033
2027
|
decision_id: IUint64$2;
|
|
2034
2028
|
}
|
|
2035
|
-
interface IBatch$1 {
|
|
2036
|
-
coopname: IName$4;
|
|
2037
|
-
action: IName$4;
|
|
2038
|
-
batch_id: IUint64$2;
|
|
2039
|
-
}
|
|
2040
2029
|
interface IBlockbal {
|
|
2041
2030
|
coopname: IName$4;
|
|
2042
2031
|
username: IName$4;
|
|
@@ -2110,7 +2099,7 @@ interface ICreateprog {
|
|
|
2110
2099
|
fixed_membership_contribution: IAsset$2;
|
|
2111
2100
|
membership_percent_fee: IUint64$2;
|
|
2112
2101
|
}
|
|
2113
|
-
interface IDecision$
|
|
2102
|
+
interface IDecision$1 {
|
|
2114
2103
|
id: IUint64$2;
|
|
2115
2104
|
coopname: IName$4;
|
|
2116
2105
|
username: IName$4;
|
|
@@ -2145,11 +2134,6 @@ interface IDocument$1 {
|
|
|
2145
2134
|
signature: ISignature$1;
|
|
2146
2135
|
meta: string;
|
|
2147
2136
|
}
|
|
2148
|
-
interface IDraft$1 {
|
|
2149
|
-
coopname: IName$4;
|
|
2150
|
-
username: IName$4;
|
|
2151
|
-
decision_id: IUint64$2;
|
|
2152
|
-
}
|
|
2153
2137
|
interface IEditaddress {
|
|
2154
2138
|
coopname: IName$4;
|
|
2155
2139
|
chairman: IName$4;
|
|
@@ -2193,6 +2177,41 @@ interface IJoincoops {
|
|
|
2193
2177
|
statement: IDocument$1;
|
|
2194
2178
|
notice: string;
|
|
2195
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
|
+
}
|
|
2196
2215
|
interface IOnewallet {
|
|
2197
2216
|
username: IName$4;
|
|
2198
2217
|
coopname: IName$4;
|
|
@@ -2224,10 +2243,6 @@ interface IProgcomarket {
|
|
|
2224
2243
|
membership_percent_fee: IUint64$2;
|
|
2225
2244
|
fixed_membership_contribution: IAsset$2;
|
|
2226
2245
|
}
|
|
2227
|
-
interface IProgram$1 {
|
|
2228
|
-
coopname: IName$4;
|
|
2229
|
-
program_id: IUint64$2;
|
|
2230
|
-
}
|
|
2231
2246
|
interface IProgwallet {
|
|
2232
2247
|
id: IUint64$2;
|
|
2233
2248
|
coopname: IName$4;
|
|
@@ -2266,13 +2281,6 @@ interface IStaff {
|
|
|
2266
2281
|
created_at: ITimePointSec$4;
|
|
2267
2282
|
updated_at: ITimePointSec$4;
|
|
2268
2283
|
}
|
|
2269
|
-
interface IStatement$1 {
|
|
2270
|
-
coopname: IName$4;
|
|
2271
|
-
username: IName$4;
|
|
2272
|
-
action: IName$4;
|
|
2273
|
-
decision_id: IUint64$2;
|
|
2274
|
-
document: IDocument$1;
|
|
2275
|
-
}
|
|
2276
2284
|
interface ISubbalance {
|
|
2277
2285
|
coopname: IName$4;
|
|
2278
2286
|
username: IName$4;
|
|
@@ -2337,6 +2345,12 @@ type soviet_IEditprog = IEditprog;
|
|
|
2337
2345
|
type soviet_IFundwithdraw = IFundwithdraw;
|
|
2338
2346
|
type soviet_IJoincoop = IJoincoop;
|
|
2339
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;
|
|
2340
2354
|
type soviet_IOnewallet = IOnewallet;
|
|
2341
2355
|
type soviet_IProgcomarket = IProgcomarket;
|
|
2342
2356
|
type soviet_IProgwallet = IProgwallet;
|
|
@@ -2354,7 +2368,7 @@ type soviet_IVoteagainst = IVoteagainst;
|
|
|
2354
2368
|
type soviet_IVotefor = IVotefor;
|
|
2355
2369
|
type soviet_IWithdraw = IWithdraw;
|
|
2356
2370
|
declare namespace soviet {
|
|
2357
|
-
export type {
|
|
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 };
|
|
2358
2372
|
}
|
|
2359
2373
|
|
|
2360
2374
|
/**
|
|
@@ -2370,16 +2384,16 @@ declare const authorizations$1w: readonly [{
|
|
|
2370
2384
|
/**
|
|
2371
2385
|
* Имя действия
|
|
2372
2386
|
*/
|
|
2373
|
-
declare const actionName$1w = "
|
|
2387
|
+
declare const actionName$1w = "newdraft";
|
|
2374
2388
|
/**
|
|
2375
2389
|
* @interface
|
|
2376
2390
|
* Действие фиксирует документ в реестре перед отправкой в совет.
|
|
2377
2391
|
*/
|
|
2378
|
-
type
|
|
2392
|
+
type INewDraft = INewdraft;
|
|
2379
2393
|
|
|
2380
|
-
type
|
|
2381
|
-
declare namespace
|
|
2382
|
-
export { type
|
|
2394
|
+
type newdraft_INewDraft = INewDraft;
|
|
2395
|
+
declare namespace newdraft {
|
|
2396
|
+
export { type newdraft_INewDraft as INewDraft, actionName$1w as actionName, authorizations$1w as authorizations };
|
|
2383
2397
|
}
|
|
2384
2398
|
|
|
2385
2399
|
/**
|
|
@@ -2395,16 +2409,16 @@ declare const authorizations$1v: readonly [{
|
|
|
2395
2409
|
/**
|
|
2396
2410
|
* Имя действия
|
|
2397
2411
|
*/
|
|
2398
|
-
declare const actionName$1v = "
|
|
2412
|
+
declare const actionName$1v = "newbatch";
|
|
2399
2413
|
/**
|
|
2400
2414
|
* @interface
|
|
2401
2415
|
* Действие фиксирует связанную группу подписанных документов, которые отправляются в совет на голосование.
|
|
2402
2416
|
*/
|
|
2403
|
-
type
|
|
2417
|
+
type INewBatch = INewbatch;
|
|
2404
2418
|
|
|
2405
|
-
type
|
|
2406
|
-
declare namespace
|
|
2407
|
-
export { type
|
|
2419
|
+
type newbatch_INewBatch = INewBatch;
|
|
2420
|
+
declare namespace newbatch {
|
|
2421
|
+
export { type newbatch_INewBatch as INewBatch, actionName$1v as actionName, authorizations$1v as authorizations };
|
|
2408
2422
|
}
|
|
2409
2423
|
|
|
2410
2424
|
/**
|
|
@@ -2420,17 +2434,17 @@ declare const authorizations$1u: readonly [{
|
|
|
2420
2434
|
/**
|
|
2421
2435
|
* Имя действия
|
|
2422
2436
|
*/
|
|
2423
|
-
declare const actionName$1u = "
|
|
2437
|
+
declare const actionName$1u = "newstatement";
|
|
2424
2438
|
/**
|
|
2425
2439
|
* @interface
|
|
2426
2440
|
* Действие фиксирует принятое заявление в реестре после принятия решения советом кооператива.
|
|
2427
2441
|
* @private
|
|
2428
2442
|
*/
|
|
2429
|
-
type
|
|
2443
|
+
type INewStatement = INewstatement;
|
|
2430
2444
|
|
|
2431
|
-
type
|
|
2432
|
-
declare namespace
|
|
2433
|
-
export { type
|
|
2445
|
+
type newstatement_INewStatement = INewStatement;
|
|
2446
|
+
declare namespace newstatement {
|
|
2447
|
+
export { type newstatement_INewStatement as INewStatement, actionName$1u as actionName, authorizations$1u as authorizations };
|
|
2434
2448
|
}
|
|
2435
2449
|
|
|
2436
2450
|
/**
|
|
@@ -2446,16 +2460,16 @@ declare const authorizations$1t: readonly [{
|
|
|
2446
2460
|
/**
|
|
2447
2461
|
* Имя действия
|
|
2448
2462
|
*/
|
|
2449
|
-
declare const actionName$1t = "
|
|
2463
|
+
declare const actionName$1t = "newact";
|
|
2450
2464
|
/**
|
|
2451
2465
|
* @interface
|
|
2452
2466
|
* Действие фиксирует в реестре подписанные акты приёма-передачи имущества.
|
|
2453
2467
|
*/
|
|
2454
|
-
type
|
|
2468
|
+
type INewAct = INewact;
|
|
2455
2469
|
|
|
2456
|
-
type
|
|
2457
|
-
declare namespace
|
|
2458
|
-
export { type
|
|
2470
|
+
type newact_INewAct = INewAct;
|
|
2471
|
+
declare namespace newact {
|
|
2472
|
+
export { type newact_INewAct as INewAct, actionName$1t as actionName, authorizations$1t as authorizations };
|
|
2459
2473
|
}
|
|
2460
2474
|
|
|
2461
2475
|
/**
|
|
@@ -2471,15 +2485,16 @@ declare const authorizations$1s: readonly [{
|
|
|
2471
2485
|
/**
|
|
2472
2486
|
* Имя действия
|
|
2473
2487
|
*/
|
|
2474
|
-
declare const actionName$1s = "
|
|
2488
|
+
declare const actionName$1s = "newdecision";
|
|
2475
2489
|
/**
|
|
2476
2490
|
* @interface
|
|
2477
2491
|
* Действие фиксирует в реестре принятое решение совета.
|
|
2478
2492
|
*/
|
|
2479
|
-
type
|
|
2493
|
+
type INewDecision = INewdecision;
|
|
2480
2494
|
|
|
2481
|
-
|
|
2482
|
-
|
|
2495
|
+
type newdecision_INewDecision = INewDecision;
|
|
2496
|
+
declare namespace newdecision {
|
|
2497
|
+
export { type newdecision_INewDecision as INewDecision, actionName$1s as actionName, authorizations$1s as authorizations };
|
|
2483
2498
|
}
|
|
2484
2499
|
|
|
2485
2500
|
/**
|
|
@@ -2495,16 +2510,16 @@ declare const authorizations$1r: readonly [{
|
|
|
2495
2510
|
/**
|
|
2496
2511
|
* Имя действия
|
|
2497
2512
|
*/
|
|
2498
|
-
declare const actionName$1r = "
|
|
2513
|
+
declare const actionName$1r = "newprogram";
|
|
2499
2514
|
/**
|
|
2500
2515
|
* @interface
|
|
2501
2516
|
* Действие фиксирует созданную программу после создания и возвращает её идентификатор
|
|
2502
2517
|
*/
|
|
2503
|
-
type
|
|
2518
|
+
type INewProgram = INewprogram;
|
|
2504
2519
|
|
|
2505
|
-
type
|
|
2506
|
-
declare namespace
|
|
2507
|
-
export { type
|
|
2520
|
+
type newprogram_INewProgram = INewProgram;
|
|
2521
|
+
declare namespace newprogram {
|
|
2522
|
+
export { type newprogram_INewProgram as INewProgram, actionName$1r as actionName, authorizations$1r as authorizations };
|
|
2508
2523
|
}
|
|
2509
2524
|
|
|
2510
2525
|
/**
|
|
@@ -2513,7 +2528,7 @@ declare namespace program {
|
|
|
2513
2528
|
*/
|
|
2514
2529
|
|
|
2515
2530
|
declare namespace index$j {
|
|
2516
|
-
export {
|
|
2531
|
+
export { newdraft as Draft, newact as NewAct, newbatch as NewBatch, newdecision as NewDecision, newprogram as NewProgram, newstatement as NewStatement };
|
|
2517
2532
|
}
|
|
2518
2533
|
|
|
2519
2534
|
/**
|
|
@@ -3382,7 +3397,7 @@ declare const scope$m = "_coopname";
|
|
|
3382
3397
|
/**
|
|
3383
3398
|
* @interface
|
|
3384
3399
|
*/
|
|
3385
|
-
type IDecision = IDecision$
|
|
3400
|
+
type IDecision = IDecision$1;
|
|
3386
3401
|
|
|
3387
3402
|
type decisions_IDecision = IDecision;
|
|
3388
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
|
|
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
|
|
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 = "
|
|
751
|
+
const actionName$1w = "newdraft";
|
|
752
752
|
|
|
753
|
-
const
|
|
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 = "
|
|
760
|
+
const actionName$1v = "newbatch";
|
|
761
761
|
|
|
762
|
-
const
|
|
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 = "
|
|
769
|
+
const actionName$1u = "newstatement";
|
|
770
770
|
|
|
771
|
-
const
|
|
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 = "
|
|
778
|
+
const actionName$1t = "newact";
|
|
779
779
|
|
|
780
|
-
const
|
|
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 = "
|
|
787
|
+
const actionName$1s = "newdecision";
|
|
788
788
|
|
|
789
|
-
const
|
|
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 = "
|
|
796
|
+
const actionName$1r = "newprogram";
|
|
797
797
|
|
|
798
|
-
const
|
|
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
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
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.
|
|
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"
|