cooptypes 2.1.4 → 2.1.7

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
@@ -4,11 +4,12 @@ const _username = "_username";
4
4
  const _coopname = "_coopname";
5
5
  const _chairman = "_chairman";
6
6
  const _member = "_member";
7
+ const _trustee = "_trustee";
7
8
  const _admin = "_admin";
8
9
  const _contract = "_contract";
9
10
  const _system$1 = "_system";
10
11
 
11
- const index$S = {
12
+ const index$V = {
12
13
  __proto__: null,
13
14
  _admin: _admin,
14
15
  _chairman: _chairman,
@@ -16,6 +17,7 @@ const index$S = {
16
17
  _coopname: _coopname,
17
18
  _member: _member,
18
19
  _system: _system$1,
20
+ _trustee: _trustee,
19
21
  _username: _username
20
22
  };
21
23
 
@@ -59,9 +61,14 @@ const _wrap = {
59
61
  production: "eosio.wrap",
60
62
  testnet: "eosio.wrap"
61
63
  };
64
+ const _branch = {
65
+ production: "branch",
66
+ testnet: "branch"
67
+ };
62
68
 
63
- const index$R = {
69
+ const index$U = {
64
70
  __proto__: null,
71
+ _branch: _branch,
65
72
  _draft: _draft,
66
73
  _fund: _fund,
67
74
  _gateway: _gateway,
@@ -81,75 +88,75 @@ const special = {
81
88
  action: "actionName"
82
89
  };
83
90
 
84
- const index$Q = {
91
+ const index$T = {
85
92
  __proto__: null,
86
93
  active: active,
87
94
  owner: owner,
88
95
  special: special
89
96
  };
90
97
 
91
- const index$P = {
98
+ const index$S = {
92
99
  __proto__: null,
93
- Actors: index$S,
94
- ContractNames: index$R,
95
- Permissions: index$Q
100
+ Actors: index$V,
101
+ ContractNames: index$U,
102
+ Permissions: index$T
96
103
  };
97
104
 
98
- const authorizations$2o = [{ permissions: [active], actor: _system }];
99
- const actionName$2o = "createdraft";
105
+ const authorizations$2v = [{ permissions: [active], actor: _system }];
106
+ const actionName$2v = "createdraft";
100
107
 
101
108
  const createDraft = {
102
109
  __proto__: null,
103
- actionName: actionName$2o,
104
- authorizations: authorizations$2o
110
+ actionName: actionName$2v,
111
+ authorizations: authorizations$2v
105
112
  };
106
113
 
107
- const authorizations$2n = [{ permissions: [active], actor: _system }];
108
- const actionName$2n = "editdraft";
114
+ const authorizations$2u = [{ permissions: [active], actor: _system }];
115
+ const actionName$2u = "editdraft";
109
116
 
110
117
  const editDraft = {
111
118
  __proto__: null,
112
- actionName: actionName$2n,
113
- authorizations: authorizations$2n
119
+ actionName: actionName$2u,
120
+ authorizations: authorizations$2u
114
121
  };
115
122
 
116
- const authorizations$2m = [{ permissions: [active], actor: _system }];
117
- const actionName$2m = "deldraft";
123
+ const authorizations$2t = [{ permissions: [active], actor: _system }];
124
+ const actionName$2t = "deldraft";
118
125
 
119
126
  const deleteDraft = {
120
127
  __proto__: null,
121
- actionName: actionName$2m,
122
- authorizations: authorizations$2m
128
+ actionName: actionName$2t,
129
+ authorizations: authorizations$2t
123
130
  };
124
131
 
125
- const authorizations$2l = [{ permissions: [active], actor: _system }];
126
- const actionName$2l = "createtrans";
132
+ const authorizations$2s = [{ permissions: [active], actor: _system }];
133
+ const actionName$2s = "createtrans";
127
134
 
128
135
  const createTranslation = {
129
136
  __proto__: null,
130
- actionName: actionName$2l,
131
- authorizations: authorizations$2l
137
+ actionName: actionName$2s,
138
+ authorizations: authorizations$2s
132
139
  };
133
140
 
134
- const authorizations$2k = [{ permissions: [active], actor: _system }];
135
- const actionName$2k = "edittrans";
141
+ const authorizations$2r = [{ permissions: [active], actor: _system }];
142
+ const actionName$2r = "edittrans";
136
143
 
137
144
  const editTranslation = {
138
145
  __proto__: null,
139
- actionName: actionName$2k,
140
- authorizations: authorizations$2k
146
+ actionName: actionName$2r,
147
+ authorizations: authorizations$2r
141
148
  };
142
149
 
143
- const authorizations$2j = [{ permissions: [active], actor: _draft }];
144
- const actionName$2j = "newid";
150
+ const authorizations$2q = [{ permissions: [active], actor: _draft }];
151
+ const actionName$2q = "newid";
145
152
 
146
153
  const newId = {
147
154
  __proto__: null,
148
- actionName: actionName$2j,
149
- authorizations: authorizations$2j
155
+ actionName: actionName$2q,
156
+ authorizations: authorizations$2q
150
157
  };
151
158
 
152
- const index$O = {
159
+ const index$R = {
153
160
  __proto__: null,
154
161
  CreateDraft: createDraft,
155
162
  CreateTranslation: createTranslation,
@@ -159,19 +166,111 @@ const index$O = {
159
166
  newId: newId
160
167
  };
161
168
 
162
- const tableName$G = "drafts";
163
- const scope$G = _contract;
169
+ const tableName$I = "drafts";
170
+ const scope$I = _contract;
164
171
 
165
172
  const drafts = {
173
+ __proto__: null,
174
+ scope: scope$I,
175
+ tableName: tableName$I
176
+ };
177
+
178
+ const tableName$H = "translations";
179
+ const scope$H = _contract;
180
+
181
+ const translations$7 = {
182
+ __proto__: null,
183
+ scope: scope$H,
184
+ tableName: tableName$H
185
+ };
186
+
187
+ const index$Q = {
188
+ __proto__: null,
189
+ Drafts: drafts,
190
+ Translations: translations$7
191
+ };
192
+
193
+ const draft = {
194
+ __proto__: null
195
+ };
196
+
197
+ const contractName$a = _draft;
198
+
199
+ const index$P = {
200
+ __proto__: null,
201
+ Actions: index$R,
202
+ Interfaces: draft,
203
+ Tables: index$Q,
204
+ contractName: contractName$a
205
+ };
206
+
207
+ const authorizations$2p = [{ permissions: [active], actor: _trustee }];
208
+ const actionName$2p = "addtrusted";
209
+
210
+ const addTrusted = {
211
+ __proto__: null,
212
+ actionName: actionName$2p,
213
+ authorizations: authorizations$2p
214
+ };
215
+
216
+ const authorizations$2o = [{ permissions: [active], actor: _chairman }];
217
+ const actionName$2o = "createbranch";
218
+
219
+ const createBranch = {
220
+ __proto__: null,
221
+ actionName: actionName$2o,
222
+ authorizations: authorizations$2o
223
+ };
224
+
225
+ const authorizations$2n = [{ permissions: [active], actor: _chairman }];
226
+ const actionName$2n = "deletebranch";
227
+
228
+ const deleteBranch = {
229
+ __proto__: null,
230
+ actionName: actionName$2n,
231
+ authorizations: authorizations$2n
232
+ };
233
+
234
+ const authorizations$2m = [{ permissions: [active], actor: _trustee }];
235
+ const actionName$2m = "deltrusted";
236
+
237
+ const deleteTrusted = {
238
+ __proto__: null,
239
+ actionName: actionName$2m,
240
+ authorizations: authorizations$2m
241
+ };
242
+
243
+ const authorizations$2l = [{ permissions: [active], actor: _chairman }];
244
+ const actionName$2l = "editbranch";
245
+
246
+ const editBranch = {
247
+ __proto__: null,
248
+ actionName: actionName$2l,
249
+ authorizations: authorizations$2l
250
+ };
251
+
252
+ const index$O = {
253
+ __proto__: null,
254
+ AddTrusted: addTrusted,
255
+ CreateBranch: createBranch,
256
+ DeleteBranch: deleteBranch,
257
+ DeleteTrusted: deleteTrusted,
258
+ EditBranch: editBranch
259
+ };
260
+
261
+ const tableName$G = "branches";
262
+ const scope$G = _coopname;
263
+
264
+ const branches = {
166
265
  __proto__: null,
167
266
  scope: scope$G,
168
267
  tableName: tableName$G
169
268
  };
170
269
 
171
- const tableName$F = "translations";
270
+ const tableName$F = "branchstat";
172
271
  const scope$F = _contract;
173
272
 
174
- const translations$7 = {
273
+ const branchStat = {
175
274
  __proto__: null,
176
275
  scope: scope$F,
177
276
  tableName: tableName$F
@@ -179,163 +278,163 @@ const translations$7 = {
179
278
 
180
279
  const index$N = {
181
280
  __proto__: null,
182
- Drafts: drafts,
183
- Translations: translations$7
281
+ BranchStat: branchStat,
282
+ Branches: branches
184
283
  };
185
284
 
186
- const draft = {
285
+ const branch = {
187
286
  __proto__: null
188
287
  };
189
288
 
190
- const contractName$9 = _draft;
289
+ const contractName$9 = _branch;
191
290
 
192
291
  const index$M = {
193
292
  __proto__: null,
194
293
  Actions: index$O,
195
- Interfaces: draft,
294
+ Interfaces: branch,
196
295
  Tables: index$N,
197
296
  contractName: contractName$9
198
297
  };
199
298
 
200
- const authorizations$2i = [{ permissions: [active], actor: _fund }];
201
- const actionName$2i = "addaccum";
299
+ const authorizations$2k = [{ permissions: [active], actor: _fund }];
300
+ const actionName$2k = "addaccum";
202
301
 
203
302
  const addAccumulation = {
303
+ __proto__: null,
304
+ actionName: actionName$2k,
305
+ authorizations: authorizations$2k
306
+ };
307
+
308
+ const authorizations$2j = [{ permissions: [active], actor: _fund }];
309
+ const actionName$2j = "subaccum";
310
+
311
+ const subAccumulation = {
312
+ __proto__: null,
313
+ actionName: actionName$2j,
314
+ authorizations: authorizations$2j
315
+ };
316
+
317
+ const authorizations$2i = [{ permissions: [active], actor: _gateway }];
318
+ const actionName$2i = "addcirculate";
319
+
320
+ const addCirculation = {
204
321
  __proto__: null,
205
322
  actionName: actionName$2i,
206
323
  authorizations: authorizations$2i
207
324
  };
208
325
 
209
326
  const authorizations$2h = [{ permissions: [active], actor: _fund }];
210
- const actionName$2h = "subaccum";
327
+ const actionName$2h = "addexpense";
211
328
 
212
- const subAccumulation = {
329
+ const addExpense = {
213
330
  __proto__: null,
214
331
  actionName: actionName$2h,
215
332
  authorizations: authorizations$2h
216
333
  };
217
334
 
218
- const authorizations$2g = [{ permissions: [active], actor: _gateway }];
219
- const actionName$2g = "addcirculate";
335
+ const authorizations$2g = [{ permissions: [active], actor: _soviet }];
336
+ const actionName$2g = "authorize";
220
337
 
221
- const addCirculation = {
338
+ const authorizeWithdraw = {
222
339
  __proto__: null,
223
340
  actionName: actionName$2g,
224
341
  authorizations: authorizations$2g
225
342
  };
226
343
 
227
- const authorizations$2f = [{ permissions: [active], actor: _fund }];
228
- const actionName$2f = "addexpense";
344
+ const authorizations$2f = [{ permissions: [active, special], actor: _admin }];
345
+ const actionName$2f = "complete";
229
346
 
230
- const addExpense = {
347
+ const completeWithdraw$1 = {
231
348
  __proto__: null,
232
349
  actionName: actionName$2f,
233
350
  authorizations: authorizations$2f
234
351
  };
235
352
 
236
- const authorizations$2e = [{ permissions: [active], actor: _soviet }];
237
- const actionName$2e = "authorize";
353
+ const authorizations$2e = [{ permissions: [active], actor: _fund }];
354
+ const actionName$2e = "newfund";
238
355
 
239
- const authorizeWithdraw = {
356
+ const newFund = {
240
357
  __proto__: null,
241
358
  actionName: actionName$2e,
242
359
  authorizations: authorizations$2e
243
360
  };
244
361
 
245
- const authorizations$2d = [{ permissions: [active, special], actor: _admin }];
246
- const actionName$2d = "complete";
362
+ const authorizations$2d = [{ permissions: [active], actor: _chairman }];
363
+ const actionName$2d = "createfund";
247
364
 
248
- const completeWithdraw$1 = {
365
+ const createFund = {
249
366
  __proto__: null,
250
367
  actionName: actionName$2d,
251
368
  authorizations: authorizations$2d
252
369
  };
253
370
 
254
- const authorizations$2c = [{ permissions: [active], actor: _fund }];
255
- const actionName$2c = "newfund";
371
+ const authorizations$2c = [{ permissions: [active], actor: _chairman }];
372
+ const actionName$2c = "delfund";
256
373
 
257
- const newFund = {
374
+ const deleteFund = {
258
375
  __proto__: null,
259
376
  actionName: actionName$2c,
260
377
  authorizations: authorizations$2c
261
378
  };
262
379
 
263
380
  const authorizations$2b = [{ permissions: [active], actor: _chairman }];
264
- const actionName$2b = "createfund";
381
+ const actionName$2b = "editfund";
265
382
 
266
- const createFund = {
383
+ const editFund = {
267
384
  __proto__: null,
268
385
  actionName: actionName$2b,
269
386
  authorizations: authorizations$2b
270
387
  };
271
388
 
272
- const authorizations$2a = [{ permissions: [active], actor: _chairman }];
273
- const actionName$2a = "delfund";
389
+ const authorizations$2a = [
390
+ { permissions: [active], actor: _username },
391
+ { permissions: [active, special], actor: _admin },
392
+ { permissions: [active], actor: _contract }
393
+ ];
394
+ const actionName$2a = "fundwithdraw";
274
395
 
275
- const deleteFund = {
396
+ const createWithdraw$1 = {
276
397
  __proto__: null,
277
398
  actionName: actionName$2a,
278
399
  authorizations: authorizations$2a
279
400
  };
280
401
 
281
- const authorizations$29 = [{ permissions: [active], actor: _chairman }];
282
- const actionName$29 = "editfund";
402
+ const authorizations$29 = [{ permissions: [active], actor: _soviet }];
403
+ const actionName$29 = "init";
283
404
 
284
- const editFund = {
405
+ const init$3 = {
285
406
  __proto__: null,
286
407
  actionName: actionName$29,
287
408
  authorizations: authorizations$29
288
409
  };
289
410
 
290
- const authorizations$28 = [
291
- { permissions: [active], actor: _username },
292
- { permissions: [active, special], actor: _admin },
293
- { permissions: [active], actor: _contract }
294
- ];
295
- const actionName$28 = "fundwithdraw";
411
+ const authorizations$28 = [{ permissions: [active], actor: _fund }];
412
+ const actionName$28 = "newwithdraw";
296
413
 
297
- const createWithdraw$1 = {
414
+ const newWithdraw = {
298
415
  __proto__: null,
299
416
  actionName: actionName$28,
300
417
  authorizations: authorizations$28
301
418
  };
302
419
 
303
- const authorizations$27 = [{ permissions: [active], actor: _soviet }];
304
- const actionName$27 = "init";
420
+ const authorizations$27 = [{ permissions: [active], actor: _marketplace }, { permissions: [active], actor: _gateway }];
421
+ const actionName$27 = "spreadamount";
305
422
 
306
- const init$3 = {
423
+ const spreadAmount = {
307
424
  __proto__: null,
308
425
  actionName: actionName$27,
309
426
  authorizations: authorizations$27
310
427
  };
311
428
 
312
- const authorizations$26 = [{ permissions: [active], actor: _fund }];
313
- const actionName$26 = "newwithdraw";
429
+ const authorizations$26 = [{ permissions: [active], actor: _gateway }];
430
+ const actionName$26 = "subcirculate";
314
431
 
315
- const newWithdraw = {
432
+ const subCirculation = {
316
433
  __proto__: null,
317
434
  actionName: actionName$26,
318
435
  authorizations: authorizations$26
319
436
  };
320
437
 
321
- const authorizations$25 = [{ permissions: [active], actor: _marketplace }, { permissions: [active], actor: _gateway }];
322
- const actionName$25 = "spreadamount";
323
-
324
- const spreadAmount = {
325
- __proto__: null,
326
- actionName: actionName$25,
327
- authorizations: authorizations$25
328
- };
329
-
330
- const authorizations$24 = [{ permissions: [active], actor: _gateway }];
331
- const actionName$24 = "subcirculate";
332
-
333
- const subCirculation = {
334
- __proto__: null,
335
- actionName: actionName$24,
336
- authorizations: authorizations$24
337
- };
338
-
339
438
  const index$L = {
340
439
  __proto__: null,
341
440
  AddAccumulation: addAccumulation,
@@ -413,76 +512,76 @@ const index$J = {
413
512
  contractName: contractName$8
414
513
  };
415
514
 
416
- const authorizations$23 = [{ permissions: [active, special], actor: _coopname }];
417
- const actionName$23 = "deposit";
515
+ const authorizations$25 = [{ permissions: [active, special], actor: _coopname }];
516
+ const actionName$25 = "deposit";
418
517
 
419
518
  const createDeposit = {
420
519
  __proto__: null,
421
- actionName: actionName$23,
422
- authorizations: authorizations$23
520
+ actionName: actionName$25,
521
+ authorizations: authorizations$25
423
522
  };
424
523
 
425
- const authorizations$22 = [{ permissions: [active, special], actor: _admin }];
426
- const actionName$22 = "dpcomplete";
524
+ const authorizations$24 = [{ permissions: [active, special], actor: _admin }];
525
+ const actionName$24 = "dpcomplete";
427
526
 
428
527
  const completeDeposit = {
429
528
  __proto__: null,
430
- actionName: actionName$22,
431
- authorizations: authorizations$22
529
+ actionName: actionName$24,
530
+ authorizations: authorizations$24
432
531
  };
433
532
 
434
- const authorizations$21 = [{ permissions: [active, special], actor: _admin }];
435
- const actionName$21 = "dprefund";
533
+ const authorizations$23 = [{ permissions: [active, special], actor: _admin }];
534
+ const actionName$23 = "dprefund";
436
535
 
437
536
  const refundDeposit = {
438
537
  __proto__: null,
439
- actionName: actionName$21,
440
- authorizations: authorizations$21
538
+ actionName: actionName$23,
539
+ authorizations: authorizations$23
441
540
  };
442
541
 
443
- const authorizations$20 = [{ permissions: [active], actor: _gateway }];
444
- const actionName$20 = "newdepositid";
542
+ const authorizations$22 = [{ permissions: [active], actor: _gateway }];
543
+ const actionName$22 = "newdepositid";
445
544
 
446
545
  const newDepositId = {
447
546
  __proto__: null,
448
- actionName: actionName$20,
449
- authorizations: authorizations$20
547
+ actionName: actionName$22,
548
+ authorizations: authorizations$22
450
549
  };
451
550
 
452
- const authorizations$1$ = [{ permissions: [active], actor: _gateway }];
453
- const actionName$1$ = "newwithdrid";
551
+ const authorizations$21 = [{ permissions: [active], actor: _gateway }];
552
+ const actionName$21 = "newwithdrid";
454
553
 
455
554
  const newWithdrawId = {
456
555
  __proto__: null,
457
- actionName: actionName$1$,
458
- authorizations: authorizations$1$
556
+ actionName: actionName$21,
557
+ authorizations: authorizations$21
459
558
  };
460
559
 
461
- const authorizations$1_ = [{ permissions: [active], actor: _username }];
462
- const actionName$1_ = "withdraw";
560
+ const authorizations$20 = [{ permissions: [active], actor: _username }];
561
+ const actionName$20 = "withdraw";
463
562
 
464
563
  const createWithdraw = {
465
564
  __proto__: null,
466
- actionName: actionName$1_,
467
- authorizations: authorizations$1_
565
+ actionName: actionName$20,
566
+ authorizations: authorizations$20
468
567
  };
469
568
 
470
- const authorizations$1Z = [{ permissions: [active, special], actor: _admin }];
471
- const actionName$1Z = "wthdcomplete";
569
+ const authorizations$1$ = [{ permissions: [active, special], actor: _admin }];
570
+ const actionName$1$ = "wthdcomplete";
472
571
 
473
572
  const completeWithdraw = {
474
573
  __proto__: null,
475
- actionName: actionName$1Z,
476
- authorizations: authorizations$1Z
574
+ actionName: actionName$1$,
575
+ authorizations: authorizations$1$
477
576
  };
478
577
 
479
- const authorizations$1Y = [{ permissions: [active, special], actor: _admin }];
480
- const actionName$1Y = "wthdfail";
578
+ const authorizations$1_ = [{ permissions: [active, special], actor: _admin }];
579
+ const actionName$1_ = "wthdfail";
481
580
 
482
581
  const failWithdraw = {
483
582
  __proto__: null,
484
- actionName: actionName$1Y,
485
- authorizations: authorizations$1Y
583
+ actionName: actionName$1_,
584
+ authorizations: authorizations$1_
486
585
  };
487
586
 
488
587
  const index$I = {
@@ -535,109 +634,127 @@ const index$G = {
535
634
  contractName: contractName$7
536
635
  };
537
636
 
538
- const authorizations$1X = [{ permissions: [active], actor: _system }];
539
- const actionName$1X = "verificate";
637
+ const authorizations$1Z = [{ permissions: [active], actor: _system }];
638
+ const actionName$1Z = "verificate";
540
639
 
541
640
  const verificateAccount = {
641
+ __proto__: null,
642
+ actionName: actionName$1Z,
643
+ authorizations: authorizations$1Z
644
+ };
645
+
646
+ const authorizations$1Y = [{ permissions: [active], actor: _username }];
647
+ const actionName$1Y = "updateaccnt";
648
+
649
+ const updateAccount = {
650
+ __proto__: null,
651
+ actionName: actionName$1Y,
652
+ authorizations: authorizations$1Y
653
+ };
654
+
655
+ const authorizations$1X = [{ permissions: [active], actor: _username }];
656
+ const actionName$1X = "updatecoop";
657
+
658
+ const updateCoop = {
542
659
  __proto__: null,
543
660
  actionName: actionName$1X,
544
661
  authorizations: authorizations$1X
545
662
  };
546
663
 
547
- const authorizations$1W = [{ permissions: [active], actor: _username }];
548
- const actionName$1W = "updateaccnt";
664
+ const authorizations$1W = [{ permissions: [active, special], actor: _admin }];
665
+ const actionName$1W = "newaccount";
549
666
 
550
- const updateAccount = {
667
+ const createAccount$1 = {
551
668
  __proto__: null,
552
669
  actionName: actionName$1W,
553
670
  authorizations: authorizations$1W
554
671
  };
555
672
 
556
- const authorizations$1V = [{ permissions: [active], actor: _username }];
557
- const actionName$1V = "updatecoop";
673
+ const authorizations$1V = [{ permissions: [active, special], actor: _admin }];
674
+ const actionName$1V = "reguser";
558
675
 
559
- const updateCoop = {
676
+ const registerUser = {
560
677
  __proto__: null,
561
678
  actionName: actionName$1V,
562
679
  authorizations: authorizations$1V
563
680
  };
564
681
 
565
682
  const authorizations$1U = [{ permissions: [active, special], actor: _admin }];
566
- const actionName$1U = "newaccount";
683
+ const actionName$1U = "regcoop";
567
684
 
568
- const createAccount$1 = {
685
+ const registerCooperative = {
569
686
  __proto__: null,
570
687
  actionName: actionName$1U,
571
688
  authorizations: authorizations$1U
572
689
  };
573
690
 
574
- const authorizations$1T = [{ permissions: [active, special], actor: _admin }];
575
- const actionName$1T = "reguser";
691
+ const authorizations$1T = [{ permissions: [active], actor: _system }];
692
+ const actionName$1T = "changekey";
576
693
 
577
- const registerUser = {
694
+ const changeKey = {
578
695
  __proto__: null,
579
696
  actionName: actionName$1T,
580
697
  authorizations: authorizations$1T
581
698
  };
582
699
 
583
- const authorizations$1S = [{ permissions: [active, special], actor: _admin }];
584
- const actionName$1S = "regcoop";
700
+ const authorizations$1S = [{ permissions: [active, special], actor: _admin }, { permissions: [active], actor: _username }];
701
+ const actionName$1S = "joincoop";
585
702
 
586
- const registerCooperative = {
703
+ const joinCooperative = {
587
704
  __proto__: null,
588
705
  actionName: actionName$1S,
589
706
  authorizations: authorizations$1S
590
707
  };
591
708
 
592
709
  const authorizations$1R = [{ permissions: [active], actor: _system }];
593
- const actionName$1R = "changekey";
710
+ const actionName$1R = "init";
594
711
 
595
- const changeKey = {
712
+ const init$2 = {
596
713
  __proto__: null,
597
714
  actionName: actionName$1R,
598
715
  authorizations: authorizations$1R
599
716
  };
600
717
 
601
- const authorizations$1Q = [{ permissions: [active, special], actor: _admin }, { permissions: [active], actor: _username }];
602
- const actionName$1Q = "joincoop";
718
+ const authorizations$1Q = [{ permissions: [active, special], actor: _admin }];
719
+ const actionName$1Q = "adduser";
603
720
 
604
- const joinCooperative = {
721
+ const addUser = {
605
722
  __proto__: null,
606
723
  actionName: actionName$1Q,
607
724
  authorizations: authorizations$1Q
608
725
  };
609
726
 
610
- const authorizations$1P = [{ permissions: [active], actor: _system }];
611
- const actionName$1P = "init";
727
+ const authorizations$1P = [{ permissions: [active, special], actor: _admin }];
728
+ const actionName$1P = "stcoopstatus";
612
729
 
613
- const init$2 = {
730
+ const setCoopStatus = {
614
731
  __proto__: null,
615
732
  actionName: actionName$1P,
616
733
  authorizations: authorizations$1P
617
734
  };
618
735
 
619
736
  const authorizations$1O = [{ permissions: [active, special], actor: _admin }];
620
- const actionName$1O = "adduser";
737
+ const actionName$1O = "delcoop";
621
738
 
622
- const addUser = {
739
+ const deleteCooperative = {
623
740
  __proto__: null,
624
741
  actionName: actionName$1O,
625
742
  authorizations: authorizations$1O
626
743
  };
627
744
 
628
- const authorizations$1N = [{ permissions: [active, special], actor: _admin }];
629
- const actionName$1N = "stcoopstatus";
745
+ const authorizations$1N = [{ permissions: [active], actor: _coopname }];
746
+ const actionName$1N = "enabranches";
630
747
 
631
- const setCoopStatus = {
748
+ const enableBranches = {
632
749
  __proto__: null,
633
750
  actionName: actionName$1N,
634
751
  authorizations: authorizations$1N
635
752
  };
636
753
 
637
- const authorizations$1M = [{ permissions: [active, special], actor: _admin }];
638
- const actionName$1M = "delcoop";
754
+ const authorizations$1M = [{ permissions: [active], actor: _coopname }];
755
+ const actionName$1M = "disbranches";
639
756
 
640
- const deleteCooperative = {
757
+ const disableBranches = {
641
758
  __proto__: null,
642
759
  actionName: actionName$1M,
643
760
  authorizations: authorizations$1M
@@ -649,6 +766,8 @@ const index$F = {
649
766
  ChangeKey: changeKey,
650
767
  CreateAccount: createAccount$1,
651
768
  DeleteCooperative: deleteCooperative,
769
+ DisableBranches: disableBranches,
770
+ EnableBranches: enableBranches,
652
771
  Init: init$2,
653
772
  JoinCooperative: joinCooperative,
654
773
  RegisterCooperative: registerCooperative,
@@ -2928,7 +3047,7 @@ padding-bottom: 20px;
2928
3047
  <h1 class="header">{% trans 'application_legal_entity' %}</h1>
2929
3048
  <p style="text-align: center">{% trans 'in' %} {{ coop.full_name }}<p>
2930
3049
  <p style="text-align: right">{{ meta.created_at }}, {{coop.city}}</p>
2931
- <p>{% trans 'to_council_of' %} \xAB{{ coop.full_name }}\xBB {% trans 'from_legal_entity' %} {{ organization.full_name }}, {% trans 'legal_address' %} {{ organization.full_address }}, {% trans 'legal_entity_details', organization.details.inn, organization.details.ogrn, organization.bank_account.account_number, organization.bank_account.details.kpp, organization.bank_account.details.corr, organization.bank_account.details.bik, organization.bank_account.bank_name %}, {% trans 'phone_and_email_notice', organization.phone, organization.email %}</p>
3050
+ <p>{% trans 'to_council_of' %} \xAB{{ coop.full_name }}\xBB {% trans 'from_legal_entity' %} {{ organization.full_name }}, {% trans 'legal_address' %}: {{ organization.full_address }}, {% trans 'fact_address' %}: {{organization.fact_address}}, {% trans 'legal_entity_details', organization.details.inn, organization.details.ogrn, organization.bank_account.account_number, organization.bank_account.details.kpp, organization.bank_account.details.corr, organization.bank_account.details.bik, organization.bank_account.bank_name %}, {% trans 'phone_and_email_notice', organization.phone, organization.email %}</p>
2932
3051
  <p>{% trans 'request_to_join_legal_entity', organization.represented_by.position, organization.represented_by.last_name, organization.represented_by.first_name, organization.represented_by.middle_name, organization.represented_by.based_on %} {{ coop.full_name }}.</p>
2933
3052
  <p>{% trans 'acknowledge_documents_legal_entity' %}</p>
2934
3053
  <p>{% if coop.is_branched %}{% trans 'authorize_chairman_branch_organization', organization.branch_name %} {% endif %}</p>
@@ -2959,7 +3078,7 @@ const translations$1 = {
2959
3078
  agreement_on_sms_email_notice_entrepreneur: "\u0412\u044B\u0440\u0430\u0436\u0430\u044E \u0441\u0432\u043E\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u0441 \u0442\u0435\u043C, \u0447\u0442\u043E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F, \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u0430\u044F \u041E\u0431\u0449\u0435\u0441\u0442\u0432\u043E\u043C \u0432 sms-\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F\u0445 \u043D\u0430 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0439 \u043C\u043D\u043E\u0439 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430, \u0432 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F\u0445 \u043D\u0430 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0439 \u043C\u043D\u043E\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B, \u0438\u043B\u0438 \u0432 PUSH \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F\u0445 \u0441 \u0441\u0430\u0439\u0442\u0430, \u043F\u0440\u0438\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043A \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044E \u043C\u0435\u043D\u044F \u041E\u0431\u0449\u0435\u0441\u0442\u0432\u043E\u043C \u0432 \u043F\u0438\u0441\u044C\u043C\u0435\u043D\u043D\u043E\u0439 \u0444\u043E\u0440\u043C\u0435.",
2960
3079
  application_legal_entity: "\u0417\u0430\u044F\u0432\u043B\u0435\u043D\u0438\u0435 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043B\u0438\u0446\u0430 \u043E \u043F\u0440\u0438\u0435\u043C\u0435 \u0432 \u043F\u0430\u0439\u0449\u0438\u043A\u0438",
2961
3080
  from_legal_entity: "\u043E\u0442 \u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u043E\u0433\u043E \u043B\u0438\u0446\u0430",
2962
- legal_address: "\u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0430\u0434\u0440\u0435\u0441 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438",
3081
+ legal_address: "\u044E\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0430\u0434\u0440\u0435\u0441",
2963
3082
  legal_entity_details: "\u0418\u041D\u041D {0}, \u041E\u0413\u0420\u041D {1}, \u0420/\u0441 {2}, \u041A\u041F\u041F {3}, \u041A/\u0441 {4}, \u0411\u0418\u041A {5}, \u0431\u0430\u043D\u043A \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u0435\u043B\u044F {6}",
2964
3083
  acknowledge_documents_legal_entity: "\u041F\u043E\u0434\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0435\u0442, \u0447\u0442\u043E \u0441 \u0423\u0441\u0442\u0430\u0432\u043E\u043C \u0438 \u0438\u043D\u044B\u043C\u0438 \u043D\u043E\u0440\u043C\u0430\u0442\u0438\u0432\u043D\u044B\u043C\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u043C\u0438 \u041E\u0431\u0449\u0435\u0441\u0442\u0432\u0430 \u043E\u0437\u043D\u0430\u043A\u043E\u043C\u043B\u0435\u043D.",
2965
3084
  agreement_on_sms_email_notice_legal_entity: "\u0412\u044B\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u0432\u043E\u0435 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u0435 \u0441 \u0442\u0435\u043C, \u0447\u0442\u043E \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F, \u043E\u0442\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u0430\u044F \u041E\u0431\u0449\u0435\u0441\u0442\u0432\u043E\u043C \u0432 sms-\u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F\u0445 \u043D\u0430 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0439 \u043D\u043E\u043C\u0435\u0440 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430, \u0432 \u0441\u043E\u043E\u0431\u0449\u0435\u043D\u0438\u044F\u0445 \u043D\u0430 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u044B\u0439 \u0430\u0434\u0440\u0435\u0441 \u044D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0439 \u043F\u043E\u0447\u0442\u044B, \u0438\u043B\u0438 \u0432 PUSH \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044F\u0445 \u0441 \u0441\u0430\u0439\u0442\u0430, \u043F\u0440\u0438\u0440\u0430\u0432\u043D\u0438\u0432\u0430\u0435\u0442\u0441\u044F \u043A \u0443\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u044E \u0417\u0430\u044F\u0432\u0438\u0442\u0435\u043B\u044F \u041E\u0431\u0449\u0435\u0441\u0442\u0432\u043E\u043C \u0432 \u043F\u0438\u0441\u044C\u043C\u0435\u043D\u043D\u043E\u0439 \u0444\u043E\u0440\u043C\u0435.",
@@ -2978,7 +3097,8 @@ const translations$1 = {
2978
3097
  passport: "\u041F\u0430\u0441\u043F\u043E\u0440\u0442",
2979
3098
  passport_code: "\u043A\u043E\u0434 \u043F\u043E\u0434\u0440\u0430\u0437\u0434\u0435\u043B\u0435\u043D\u0438\u044F",
2980
3099
  passport_issued: "\u0432\u044B\u0434\u0430\u043D",
2981
- passport_from: "\u043E\u0442"
3100
+ passport_from: "\u043E\u0442",
3101
+ fact_address: "\u0444\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438\u0439 \u0430\u0434\u0440\u0435\u0441"
2982
3102
  }
2983
3103
  // ... другие переводы
2984
3104
  };
@@ -3120,8 +3240,9 @@ const index = {
3120
3240
  Users: index$c
3121
3241
  };
3122
3242
 
3243
+ exports.BranchContract = index$M;
3123
3244
  exports.Cooperative = index;
3124
- exports.DraftContract = index$M;
3245
+ exports.DraftContract = index$P;
3125
3246
  exports.FundContract = index$J;
3126
3247
  exports.GatewayContract = index$G;
3127
3248
  exports.MarketContract = index$m;
@@ -3131,4 +3252,4 @@ exports.SovietContract = index$p;
3131
3252
  exports.SystemContract = index$e;
3132
3253
  exports.TokenContract = index$A;
3133
3254
  exports.WrapContract = index$h;
3134
- exports._Common = index$P;
3255
+ exports._Common = index$S;